trae-agent  by bytedance

LLM-powered CLI for software engineering tasks

Created 3 months ago
9,436 stars

Top 5.4% on SourcePulse

GitHubView on GitHub
Project Summary

Trae Agent is an LLM-based CLI tool designed for general software engineering tasks, enabling users to execute complex workflows via natural language. It targets researchers and developers seeking a transparent, modular, and extensible framework for AI agent development and experimentation.

How It Works

Trae Agent employs a modular architecture that supports multiple LLM providers (OpenAI, Anthropic, Doubao, Azure, OpenRouter) and a rich tool ecosystem including file editing, bash execution, and sequential thinking. Its design prioritizes research flexibility, allowing deep customization of agent behaviors, tool implementations, and workflow patterns, facilitating ablation studies and novel capability development.

Quick Start & Requirements

  • Install via uv sync after cloning the repository.
  • Requires Python 3.12+.
  • API keys for chosen LLM providers (OpenAI, Anthropic, OpenRouter, etc.) are necessary and can be set via environment variables or a configuration file.
  • Official documentation: TRAJECTORY_RECORDING.md

Highlighted Details

  • Multi-LLM support for OpenAI, Anthropic, Doubao, Azure, and OpenRouter.
  • Features a "Lakeview" summarization for agent steps.
  • Includes interactive mode for iterative development and trajectory recording for debugging.
  • Offers a rich tool ecosystem with file editing, bash execution, and sequential thinking.

Maintenance & Community

The project is actively developed and welcomes community contributions. Guidelines for contributing and development are provided.

Licensing & Compatibility

Licensed under the MIT License, permitting commercial use and integration with closed-source projects.

Limitations & Caveats

The project is currently in an alpha stage, indicating potential instability and ongoing development. Priorities include expanding LLM provider support, enhancing the CLI, developing more tools, and implementing robust unit testing.

Health Check
Last Commit

20 hours ago

Responsiveness

1 day

Pull Requests (30d)
53
Issues (30d)
15
Star History
461 stars in the last 30 days

Explore Similar Projects

Starred by Edward Z. Yang Edward Z. Yang(Research Engineer at Meta; Maintainer of PyTorch), Anton Osika Anton Osika(Cofounder of Lovable), and
3 more.

gptme by gptme

0.3%
4k
CLI tool for terminal agent workflows
Created 2 years ago
Updated 20 hours ago
Starred by Luis Capelo Luis Capelo(Cofounder of Lightning AI), Addy Osmani Addy Osmani(Head of Chrome Developer Experience at Google), and
23 more.

goose by block

0.8%
20k
Open-source AI agent for automating complex engineering tasks
Created 1 year ago
Updated 21 hours ago
Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Yiran Wu Yiran Wu(Coauthor of AutoGen), and
12 more.

openai-agents-python by openai

1.6%
15k
Python SDK for multi-agent workflows
Created 6 months ago
Updated 19 hours ago
Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), Shizhe Diao Shizhe Diao(Author of LMFlow; Research Scientist at NVIDIA), and
20 more.

dify by langgenius

0.5%
114k
Open-source LLM app development platform
Created 2 years ago
Updated 14 hours ago
Feedback? Help us improve.