Best terminal coding agents

Terminal coding agents work on a codebase from the command line: they read files, run commands and make changes from a prompt. Most can also run without anyone at the keyboard, in a script or a CI job.

9 tools, ranked

How the order is set
  1. 1
    OpenCode

    Open source coding agent for terminal and desktop that works with 200+ providers

    Open source · $10/month

    • Free plan
    • Choice of model
    • Bring your own key
    New

  2. 2
    goose

    Open source general-purpose AI agent for desktop and CLI, with MCP extensions

    Open source

    • Free plan
    • Choice of model
    • Local models
    New

  3. 3
    Aider

    Open source terminal agent that edits your code and commits each change to git

    Open source

    • Free plan
    • Choice of model
    • Bring your own key
    New

  4. 4
    Qwen Code

    Open source terminal coding agent from the Qwen team, also in editor and desktop

    Open source

    • Choice of model
    • Bring your own key
    • Local models
    New

  5. 5
    Crush

    Terminal coding agent from Charm with LSP context, MCP and many model providers

    Free

    • Free plan
    • Choice of model
    • Bring your own key
    New

  6. 6
    Amp

    Coding agent from Amp Labs with terminal, web and native apps and cloud orbs

    Freemium · $20/month

    • Free plan
    • Choice of model
    • Bring your own key
    New

  7. 7
    Claude Code

    Anthropic's coding agent for the terminal, IDEs, desktop and web

    Paid · $20/month

    • Bring your own key
    • MCP support
    • Headless mode
    New

  8. 8
    Codex

    OpenAI's coding agent with a CLI, IDE extension, desktop app and cloud tasks

    Freemium · $8/month

    • Free plan
    • Bring your own key
    • MCP support
    New

  9. 9
    Warp

    Terminal with a built-in coding agent, plus cloud agent pipelines

    Freemium · $20/month

    • Free plan
    • Bring your own key
    • MCP support
    New

The top 5 by feature

  • Yes
  • Partial
  • No
  • Not stated
FeatureOpenCodegooseAiderQwen CodeCrush
Free planYesYesYesNot statedYes
Choice of modelYesYesYesYesYes
Bring your own keyYesNot statedYesYesYes
Local modelsYesYesYesYesYes
MCP supportYesYesNot statedYesYes
Headless modeYesNot statedYesYesNot stated
SandboxingNot statedYesNot statedYesNot stated
IDE integrationNot statedPartialPartialYesNot stated
GitHub integrationNot statedNot statedNot statedNot statedNot stated
Cloud agentsNot statedNot statedNot statedNot statedNot stated
Desktop appYesYesNot statedYesNot stated
Native WindowsYesYesNot statedYesYes
Team planNot statedNot statedNot statedNot statedNot stated
Open sourceYesYesYesYesPartial