trae-agent  by bytedance

LLM-powered CLI for software engineering tasks

Created 8 months ago
10,855 stars

Top 4.7% 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

2 weeks ago

Responsiveness

1 day

Pull Requests (30d)
6
Issues (30d)
2
Star History
235 stars in the last 30 days

Explore Similar Projects

Starred by Eric Zhu Eric Zhu(Coauthor of AutoGen; Research Scientist at Microsoft Research), Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind), and
27 more.

goose by block

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

openai-agents-python by openai

0.7%
19k
Python SDK for multi-agent workflows
Created 11 months ago
Updated 1 day 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.4%
130k
Open-source LLM app development platform
Created 2 years ago
Updated 16 hours ago
Feedback? Help us improve.