trae-agent  by bytedance

LLM-powered CLI for software engineering tasks

Created 7 months ago
10,491 stars

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

3 months ago

Responsiveness

1 day

Pull Requests (30d)
1
Issues (30d)
1
Star History
294 stars in the last 30 days

Explore Similar Projects

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%
18k
Python SDK for multi-agent workflows
Created 10 months ago
Updated 10 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.7%
125k
Open-source LLM app development platform
Created 2 years ago
Updated 12 hours ago
Feedback? Help us improve.