MarkTechPost@AI 07月07日 15:05
ByteDance Just Released Trae Agent: An LLM-based Agent for General Purpose Software Engineering Tasks
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

字节跳动推出了 Trae Agent,一款基于大语言模型 (LLM) 的通用软件工程代理。Trae Agent旨在通过自然语言提示执行复杂的编程任务,提供功能强大且可扩展的命令行界面 (CLI)。它能像资深软件工程师一样工作,简化软件开发流程,包括系统调试、编写高质量代码、理解大型代码库、生成和应用修复程序,以及提供实时交互支持。Trae Agent支持OpenAI和Anthropic等多个后端LLM提供商,并在SWE-bench Verified基准测试中实现了先进性能。

💡 Trae Agent是一个由LLM驱动的自主代理,旨在简化软件开发流程,它可以通过自然语言界面接受指令,执行代码导航、补丁生成和测试等高级工作流程。

⚙️ Trae Agent拥有交互式CLI界面,支持通过纯英语进行交流,并使用Lakeview提供实时反馈。它支持OpenAI和Anthropic等多个LLM提供商,从而在模型选择上提供了灵活性。

🥇 Trae Agent在SWE-bench Verified上实现了先进性能,这得益于其高效的单代理补丁生成系统,该系统包括str_replace_based_edit_tool、bash Interface、sequential_thinking Module、ckg_tools和task_done Signal等组件。

🛠️ Trae Agent擅长调试、代码库导航、修复生成和跨模型兼容。例如,只需一个提示,Trae Agent就能生成并应用代码补丁,并通过逻辑检查和测试进行验证。

🔑 Trae Agent已开源,开发者可以探索、贡献和提供反馈。它在自动化维护、团队协作编程、CI/CD流程自动化和编码训练等方面具有潜在的应用。

ByteDance, the Chinese tech giant behind TikTok and other global platforms, has officially released Trae Agent, a general-purpose software engineering agent powered by large language models (LLMs). Designed to execute complex programming tasks via natural language prompts, Trae Agent offers a highly capable and extensible Command-Line Interface (CLI), redefining how developers can interact with their systems.

What is Trae Agent?

Trae Agent is an autonomous, LLM-powered agent tailored to streamline the software development process. It acts like a senior software engineer, capable of:

Through a natural language interface, developers can simply describe what they want, and Trae Agent will interpret and execute using underlying tools. This approach significantly lowers the barrier to entry for managing and modifying complex codebases.

Interactive CLI with Multimodal Model Support

The core of Trae Agent lies in its interactive CLI interface. This interface allows users to:

Trae Agent supports multiple backend LLM providers, including OpenAI and Anthropic. Current integrations include Claude-4-Sonnet, Claude-4-Opus, Claude-3.7-Sonnet, and Gemini-2.5-Pro. This gives users flexibility in model selection based on context and performance needs.

SOTA Performance on SWE-bench Verified

Trae Agent has achieved state-of-the-art (SOTA) performance on SWE-bench Verified, a rigorous benchmark evaluating software engineering agents on real-world bug-fixing tasks. This is made possible through an efficient single-agent patch generation system that includes the following components:

1. str_replace_based_edit_tool

Enables the agent to view, create, and edit files and directories. This tool forms the backbone of code manipulation, essential for generating accurate patches.

2. bash Interface

Provides a persistent shell environment where the agent can execute commands, capture terminal outputs, and assess runtime errors, simulating a developer’s command-line workflow.

3. sequential_thinking Module

Enhances the agent’s cognitive capabilities. It structures problem-solving steps by enabling iterative reasoning, hypothesis generation, and verification, similar to a human engineer’s thought process.

4. ckg_tools (Code Knowledge Graph Tools)

Constructs a semantic knowledge graph for the entire codebase. This allows the agent to efficiently search and reason about classes, functions, and file structures.

5. task_done Signal

Indicates the end of a task and provides a structured summary, essential for ensuring clarity and transparency in automation.

Key Capabilities

Trae Agent’s architecture is designed to tackle real-world engineering challenges with precision and autonomy. It is particularly suited for:

Open Source and Ecosystem

Trae Agent is open-sourced under the MIT license, making it accessible for developers, researchers, and enterprise teams. The source code is available on GitHub, along with setup instructions, architecture explanations, and usage examples.

This release is part of ByteDance’s broader effort to drive innovation in AI-assisted development tooling, with Trae Agent positioned as a foundational tool for building autonomous agents in software engineering domains.

Use Cases

Some promising applications of Trae Agent include:

Conclusion

In conclusion, Trae Agent represents a significant step forward in autonomous software engineering tools, blending LLM capabilities with a structured, tool-augmented CLI environment. With its support for multiple model backends, real-time summarization, and state-of-the-art performance on SWE-bench Verified, it offers a promising framework for automating complex development workflows. While the project is currently in its alpha stage, it is under active development by the ByteDance team, with ongoing enhancements expected in model integration, task orchestration, and broader developer tooling support. Developers and researchers are encouraged to explore, contribute, and provide feedback via the open-source repository.


Check out the GitHub Page. All credit for this research goes to the researchers of this project. Also, feel free to follow us on Twitter, Youtube and Spotify and don’t forget to join our 100k+ ML SubReddit and Subscribe to our Newsletter.

The post ByteDance Just Released Trae Agent: An LLM-based Agent for General Purpose Software Engineering Tasks appeared first on MarkTechPost.

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

Trae Agent ByteDance LLM 软件工程 AI
相关文章