editors.dev

Coding agent Open source ByteDance · China · since 2025

Trae Agent

Open-source command-line agent from ByteDance for software engineering tasks, run from source with your own model API key.

Price
Free Open source $0 Plans ↓
Free use
Yes MIT-licensed; model use is paid to the provider Ways to pay ↓
Runs in
1 place Terminal Where ↓
Models
Any · Providers: 2 named · other makers’ models: yes Models ↓
Install
2 ways Not stated; needs Python 3.12+ and uv Install ↓

Checked 30 Nov 2026 against 6 official pages · Method

Section 01 · Cost

Price

Is Trae Agent free? Yes. Trae Agent is free and open source under the MIT licence. You pay only your model provider for the tokens it uses, or nothing with a local model through Ollama.

One plan covers every way to use it.

Free

Open source

$0

The whole tool. Model use is paid to the provider you configure.

Plan terms and limits

You pay for
Tokens at your model provider’s rate; Trae Agent adds no charge.
Limits
None from the tool; the model provider’s limits apply
Past the limit
Not applicable; use is billed by the model provider.
Own key
Yes · Your own provider API key
Trial
Not applicable; the tool is free.
Students
Not applicable; the tool is free.
  • The roadmap lists an SDK, sandboxed parallel runs and multi-agent work as planned, none marked done.
  • The README says the project is still being actively developed; the commit before February 2026 is from September 2025.

Prices checked 30 Nov 2026

Ways to pay for it

Way What you get Cost
Trae Agent plans Open source Free
Your own API key Yes, it is the only way to use it: an API key for OpenAI, Anthropic, Google Gemini, Doubao, Azure or OpenRouter, or a local model through Ollama. the provider’s price
Free use MIT-licensed; model use is paid to the provider Free

Section 02 · Where it runs

Ways to use it

Official site ↗

One product: the same agent, account and plan wherever you use it. Select one to see what you get there.

Terminal Available

trae-cli

Open-source (MIT) command-line agent run from a clone with uv; single runs or an interactive mode, optional Docker mode, every run saved as a trajectory.

git clone https://github.com/bytedance/trae-agent.git 1 more ↓
Terminal
Run from a clone of the repository

Open ↗ Source ↗

By place

  • Terminal Yes
  • VS Code and forks No
  • JetBrains IDEs No
  • Desktop app No
  • Web No
  • Mobile No
  • Slack No
  • CI Not stated

Section 03 · AI

Models

All 88 models →

The models it names, and whether others can be used.

Models named
2
Other makers’ models
Yes Any supported provider; local models through Ollama
Own key
Yes Your own provider API key
Model Kind On plans API price, in / out Context Released
Any model of a configured provider Not stated Not stated Not stated Not stated Not stated
Providers: OpenAI, Anthropic, Google Gemini, Doubao, Azure, OpenRouter, Ollama Not stated Not stated Not stated Not stated Not stated

It ships no model list. The README’s examples use Claude Sonnet 4, GPT-4o, Gemini 2.5 Flash and Doubao Seed 1.6. API prices are the makers’ list prices per million tokens, in and out.

Section 04 · Setup

Install Trae Agent

The command-line tool, started with the command trae-cli.

Pick one command

From source
git clone https://github.com/bytedance/trae-agent.git && cd trae-agent && uv sync --all-extras
From source
git clone https://github.com/bytedance/trae-agent.git
Then
cd trae-agent && uv sync --all-extras

No Windows steps are documented.

Command
trae-cli
Systems
Not stated; needs Python 3.12+ and uv
In the terminal
Yes · Run from a clone of the repository

Setup page ↗ Checked 30 Nov 2026

Section 05 · Abilities

What it can do

Compare every agent in the catalog →

The things that differ from one agent to the next. Trae Agent has 3 of the 10 in full; the notes say where there is a catch.

Control

How much it may do on its own

  • Not stated Approval modes No approval modes documented
  • Yes Sandbox for commands Docker mode, by flag; off by default
  • Not stated Undo its changes

Extend

What can be added to it

  • Yes MCP servers mcp_servers in the config file
  • Not stated Hooks
  • No Subagents Multi-agent work is on the roadmap
  • Not stated Skills or plugins

Automate

Working without you

  • Yes Runs unattended trae-cli run, with a trajectory file
  • No Cloud sessions
  • Not stated Commits and pull requests --must-patch forces a patch

Section 06 · Fit

Who it is for

Trae Agent is an LLM-based agent for general software engineering tasks, published by ByteDance on GitHub under the MIT licence. Its command, trae-cli, takes a task in plain language and works on it with tools for editing files, running bash commands and step-by-step thinking, either as a single run or in an interactive mode. It has no plan or account of its own; it calls the model provider you configure, such as OpenAI, Anthropic, Google Gemini, Doubao, Azure, OpenRouter or a local model through Ollama. It records every run as a trajectory file and is described by its makers as built for research and extension. It is a separate project from the TRAE app and from the closed TRAE CLI (traecli).

What stands out

  1. MIT-licensed and free; the only cost is the model provider you connect.
  2. Works with OpenAI, Anthropic, Google Gemini, Doubao, Azure, OpenRouter and local models through Ollama, set in a YAML config file.
  3. Docker mode runs a task inside a container, from an image, a Dockerfile or an existing container.
  4. Every run is recorded as a trajectory of model calls, agent steps and tool use.
  5. It has no tagged releases and is run from a clone; the last commit on the main branch was on 5 February 2026.

Suits

  • Researchers and developers who want to study or change how a coding agent works.
  • People who want to choose their own model provider or run a local model through Ollama.

Look elsewhere if

  • People who want a packaged install; it is cloned and set up with uv.
  • Anyone who needs approval prompts, undo, or editor and cloud integrations; none are documented.
  • Teams that need frequent releases; the repository has no releases and few recent commits.

Section 07 · Alternatives

Compare

All coding agents →

The agents people weigh against Trae Agent, on the same facts.

Agent From AppCLIVS CodeJetBrainsCloudOwn keyOpen source
Trae Agent This page Free No Yes No No No Yes Yes
Claude Code $20/mo Yes Yes Yes Beta Yes Yes No
Codex $20/mo Yes Yes Yes Yes Yes Yes Yes
Google Antigravity Free Yes Yes Yes Yes Yes Yes No
GitHub Copilot Free Yes Yes Yes Yes Yes Yes No

Yes runs there Beta, In part in part or beta No Not stated App counts an agent’s own editor.

Section 08 · Short answers

Trae Agent questions

7 short answers, each from an official page. Checked 30 Nov 2026.

Price and licence

Yes Is Trae Agent free?

Trae Agent is open source under the MIT licence. It needs an API key for the model provider you choose, or a local model through Ollama.

Source: Trae Agent repository ↗

Systems and setup

How do I install Trae Agent?

Clone the GitHub repository and run uv sync --all-extras; it needs Python 3.12 or later and uv. The command is then trae-cli, for single runs (trae-cli run) or an interactive mode.

Source: Trae Agent repository ↗

AI and privacy

Which model providers does Trae Agent support?

It works with OpenAI, Anthropic, Google Gemini, Doubao, Azure, OpenRouter and Ollama, set in trae_config.yaml or environment variables. A custom base URL can point a provider at another endpoint.

Source: Trae Agent repository ↗

Yes Can Trae Agent use local models?

Local models run through Ollama, for example with --provider ollama --model qwen3.

Source: Trae Agent repository ↗

Features

Yes Can Trae Agent run in a container?

Docker mode runs a task in a new container from an image or Dockerfile, or in an existing container, with flags such as --docker-image. Docker must be set up first.

Source: Trae Agent repository ↗

Yes Does Trae Agent support MCP?

MCP servers are added in an mcp_servers section of the configuration file.

Source: Trae Agent repository ↗

Yes Does Trae Agent log what it does?

It records every agent action in a trajectory file for debugging and analysis, and Lakeview gives short summaries of each step.

Source: Trae Agent repository ↗

Sources: 6 official pages, last checked 30 Nov 2026 ShowHide