Skip to content
aicoolies logo
trae

Trae Agent

ByteDance's open-source LLM coding agent with multi-provider support

Trae Agent is ByteDance's open-source software engineering agent that autonomously resolves GitHub issues, fixes bugs, and implements features using any LLM provider. It supports OpenAI, Anthropic, Doubao, Azure, Ollama, and Gemini backends, making it one of the most provider-flexible coding agents available. With over 11,000 GitHub stars and a modular research-friendly architecture, it offers a strong alternative to Western-centric coding agents.

About Trae Agent

Trae Agent is an open-source autonomous coding agent from ByteDance, the company behind TikTok, designed to handle general software engineering tasks using large language models. Unlike coding assistants that augment human developers in real time, Trae Agent operates autonomously — it receives a GitHub issue or task description, analyzes the relevant codebase, plans an approach, implements changes across multiple files, and verifies the results. The modular architecture separates planning, execution, and verification into distinct components that researchers can study and modify independently.

The multi-provider support is Trae Agent's most distinctive feature in the coding agent landscape. Where most Western coding agents are built around a single LLM provider, Trae Agent supports OpenAI, Anthropic Claude, ByteDance's own Doubao models, Azure OpenAI, local inference through Ollama, and Google Gemini through a unified backend abstraction. Teams can switch providers based on cost, performance, or compliance requirements without modifying agent logic. This flexibility makes it particularly valuable for organizations operating across regulatory environments or those wanting to compare agent performance across different LLMs.

With over 11,000 GitHub stars and 1,200+ forks, Trae Agent represents one of the most significant open-source contributions from the Chinese AI ecosystem to the developer tools space. The MIT license allows unrestricted commercial use. The agent achieves competitive scores on the SWE-Bench benchmark for automated software engineering, validating its capability against established Western alternatives. For teams evaluating coding agents beyond the usual Cursor, Claude Code, and Devin options, Trae Agent provides a research-grade alternative with genuine production capability.

Pricing & Platform Specs

Pricing Summary

100% free and open-source autonomous AI coding agent under the MIT license ($0 software license via github.com/bytedance/trae-agent). Model execution operates on a Bring Your Own Key (BYOK) model supporting OpenAI, Anthropic Claude, Google Gemini, ByteDance Doubao, Azure OpenAI, or 100% free local inference via Ollama.

full pricing breakdown →

Supported Platforms

Any platform with Python; supports multiple LLM providers

Explore categories, tags & use cases
Claude Code logo

Claude Code

Top Pick

Anthropic's agentic coding CLI

Anthropic's agentic CLI coding tool that delegates complex tasks to Claude directly from the terminal. Understands entire codebases via automatic context gathering, edits multiple files, runs shell commands, and manages Git workflows autonomously. Supports CLAUDE.md for persistent project instructions, integrates with VS Code and JetBrains, and uses Claude Opus/Sonnet with extended thinking for complex architectural decisions. Built for terminal-first developers.

freemium
Codex logo

Codex

Top Pick

OpenAI coding agent for app, editor, terminal, and cloud work

Codex is OpenAI's coding agent for software development across the Codex app, editor, terminal, and cloud tasks. It helps write, review, debug, refactor, and automate code, with ChatGPT plan access for managed surfaces and API-key usage for CLI, SDK, and IDE workflows. The open-source CLI and SDK support local repository work, while cloud features add GitHub review, Slack/Linear integrations, worktrees, skills, MCP, and automations.

paid

Open-source AI software development agent

Open-source AI agent platform (formerly OpenDevin) for building developer agents that modify code, run shell commands, browse the web, and call APIs through a composable Python SDK and CLI. OpenHands runs agents in sandboxed Docker containers accessed via SSH, supports Claude/GPT/any LLM, and has solved 50%+ of real GitHub issues in software engineering benchmarks.

freemiumOpen Source
Devin logo

Devin

Top Pick

Autonomous AI software engineer by Cognition

Devin is Cognition's managed AI software engineer for delegating engineering tasks to cloud and desktop agents. It can plan work, navigate codebases, write and run code, test changes, open PRs, review/autofix issues, and collaborate through GitHub, GitLab, Bitbucket, Linear, Jira, Slack, and Teams. Current Devin surfaces include Devin Cloud, Devin Desktop, Devin CLI, Devin Review, Windows VM support, DeepWiki, Ask Devin, and team/enterprise controls.

freemium

AI pair programming in your terminal

Terminal-based AI pair programmer with deep git integration. Auto-commits changes with meaningful messages and creates repository maps for navigating large codebases. Works with Claude, GPT, DeepSeek, and local models. One of the most popular open-source AI coding tools, known for its reliability, broad model support, and seamless command-line workflow.

Open Source

Side-by-Side Comparisons

Claude Code logo
Claude Code
vs
trae
Trae Agent

Claude Code vs Trae Agent — Anthropic Terminal Agent or ByteDance Open-Source BYOK Agent?

Claude Code and Trae Agent both run coding agents from the terminal, but they are different product shapes. Claude Code is Anthropic’s commercial terminal-native agent — deep Claude reasoning, multi-file edits, shell and git loops, multi-agent coordination, and CLAUDE.md project memory, with Pro / Max / Team or API billing. Trae Agent is ByteDance’s MIT open-source software-engineering agent built to swap LLM providers (OpenAI, Anthropic, Doubao, Gemini, Azure, Ollama) on a BYOK path. Use Claude Code when you want Anthropic’s recommended terminal-agent path and a polished commercial CLI. Use Trae Agent when you want an inspectable, provider-agnostic agent you can run against your own gateway or local Ollama. Existing aicoolies Scores: Claude Code overall 92, speed 88, privacy 65, developer experience 94 (Score date 2026-03-27); Trae Agent overall 81, speed 78, privacy 86, developer experience 79 (Score date 2026-05-04). Choose on commercial Anthropic CLI vs open provider-agnostic agent fit; treat the scoreboard as secondary review evidence with those dates, not the whole decision. Do not confuse Trae Agent with ByteDance’s separate AI-native IDE Trae (/tools/trae). This page is terminal SWE-agent vs terminal SWE-agent — not an IDE bake-off, and not Claude Code vs Jules.

Claude CodeTrae Agent

Community experience

Sources & verification

Sources checked
Content verified

Verification dates are editorial checks. Routine CMS saves and automatic updatedAt timestamps do not advance them.

FAQ

What is Trae Agent?

Trae Agent is ByteDance's open-source software engineering agent that autonomously resolves GitHub issues, fixes bugs, and implements features using any LLM provider. It supports OpenAI, Anthropic, Doubao, Azure, Ollama, and Gemini backends, making it one of the most provider-flexible coding agents available. With over 11,000 GitHub stars and a modular research-friendly architecture, it offers a strong alternative to Western-centric coding agents.

Is Trae Agent free?

Yes — Trae Agent is open source and free to use. 100% free and open-source autonomous AI coding agent under the MIT license ($0 software license via github.com/bytedance/trae-agent). Model execution operates on a Bring Your Own Key (BYOK) model supporting OpenAI, Anthropic Claude, Google Gemini, ByteDance Doubao, Azure OpenAI, or 100% free local inference via Ollama.

Is Trae Agent open source?

Yes — Trae Agent is open source.

Is Trae Agent still maintained?

Yes — Trae Agent is active. Its listing was last verified on September 6, 2026.

What are the best Trae Agent alternatives?

The first editor-selected Trae Agent alternatives are Claude Code, Codex, OpenHands, and more.

How does Trae Agent score in our review?

The published editorial review lists Trae Agent at 81/100 overall across speed, privacy, and developer experience. Check the review's evidence status and test metadata for its verification level.