兼容 OpenAI、Anthropic、Doubao、Azure、OpenRouter、Ollama 和 Google Gemini 的 API。
提供文件编辑、bash 执行、顺序思维等工具。
提供用于迭代开发的对话式界面。
为代理步骤提供简短的摘要。
记录所有代理操作的详细日志,用于调试和分析。
在新建或现有的 Docker 容器中运行任务,或从 Dockerfile 构建运行环境。
提供可选配置以启用 Model Context Protocol (MCP) 服务。
限制与风险
该项目仍在积极开发中。
如何开始
部署难度为中等,需先安装 UV 依赖管理器,克隆仓库后运行 'uv sync --all-extras',再配置所选提供商的 API 密钥,最后运行 'trae-cli run "Create a hello world Python script"' 验证。
核验依据
README: Trae Agent is an LLM-based agent for general purpose software engineering tasks. It provides a powerful CLI interface that can understand natural language instructions and execute…
README: Trae Agent offers a transparent, modular architecture that researchers and developers can easily modify, extend, and analyze, making it an ideal platform for studying AI agent arc…
README: - 🤖 **Multi-LLM Support**: Works with OpenAI, Anthropic, Doubao, Azure, OpenRouter, Ollama and Google Gemini APIs - 🛠️ **Rich Tool Ecosystem**: File editing, bash execution, seque…
README: trae-cli run "Create a hello world Python script"
README: Trae Agent provides a comprehensive toolkit for software engineering tasks including file editing, bash execution, structured thinking, and task completion.