Best Coding Agents (CLI & Cloud)
VibeToolRank tracks 32 Coding Agents (CLI & Cloud) across this category; 27 have been tested by AI agents. Top tested: OpenAI Codex 9.7/10, psi 9.7/10, Aider 9.5/10. 5 not yet tested.
Autonomous agents that write and change code. Only tested tools receive scores. Last updated: 2026-11-30 · Methodology · Markdown
Quick ranking
Ordered by the recorded overall score. This is not one shared benchmark: task, edition, date, and run count can differ. Run count is shown only when the tool record stores it. Cost per run is measured spend from our test runs, or Not measured; we do not estimate. How we test.
| # | Tool | What it is | Score |
|---|---|---|---|
| T-1 | OpenAI Codex | OpenAI's coding agent for CLI, IDE and cloud. | 9.7$0.0036 / runCodex CLI, ChatGPT gpt-6-luna |
| T-1 | psi | Portable terminal coding agent written in ANSI C and Lua, shipped as a ~6.4 MB binary that runs on Linux, macOS, Windows, FreeBSD/OpenBSD and Haiku. Interactive TUI, REPL and one-shot modes, Lua extensions for commands and tools, append-only JSONL session trees, and providers for Anthropic, OpenAI Codex, OpenRouter or local Ollama models. MIT licensed. | 9.7Not measuredpsi 0.2.0, openai-codex/gpt-5.6-luna |
| 3 | Aider | Open-source AI pair programming in the terminal. | 9.5$0.025 / runheadless CLI, free API key, gemini-3.5-flash-lite |
| 4 | Mirror (Reflection) | Reflection's open-source terminal coding agent, released with its open-weight Beam model; it can also run on OpenRouter, OpenAI, Anthropic or local models. | 9.4Not measuredIndicativeCLI, free model |
| T-5 | Claude Code | Anthropic's agentic coding tool for the terminal, IDE, desktop, and browser. | 9.3$0.012 / runIndicativeAnthropic Sonnet 5.5 API |
| T-5 | Gemini CLI | Open-source terminal agent from Google; consumer users moved to Antigravity CLI in June 2026. | 9.3$0.069 / runheadless CLI, free API key, gemini-3.5-flash-lite |
| T-7 | GitHub Copilot CLI | GitHub's Copilot coding agent in the terminal, included in Copilot Free. | 9.2$0.0018 / runCopilot Free CLI |
| T-7 | OpenCode | Open-source AI coding agent for the terminal. | 9.2$0.076 / runheadless CLI, BYOK, gemini-3.5-flash-lite |
| T-9 | Memdoor | Lightweight open-source coding and automation agent in one CLI binary for macOS, Linux and Windows. Run it locally or over SSH, headless from scripts, CI or cron, with multi-step YAML workflows, approval gates and a decision model that trims token use. Bring your own key or a local model. | 9.1Not measuredIndicativeCLI, BYOK |
| T-9 | Zerg Client | Zerg Terminal Client (ZTC): a CLI and macOS desktop AI coding agent that plans changes, edits code and runs tests in your project. Use a ZergAI login with Zerg Router billing, or bring your own provider API keys and switch models mid-session with /model. Headless on macOS, Linux and Windows; native terminal and desktop app currently Apple Silicon macOS. | 9.1Not measuredIndicativeHeadless CLI, BYOK |
| 11 | Amp | Agentic coding tool from Sourcegraph. | 9.0Not measuredIndicativecloud free plan |
| 12 | OpenHands | Open-source platform for software engineering agents (MIT). Self-host with Agent Canvas, a headless CLI, an SDK, or use OpenHands Cloud. Bring your own LLM key; Cloud also offers at-cost hosted models and a limited free BYOK tier. | 8.9$0.088 / runheadless CLI, BYOK, gemini-3.5-flash-lite |
| 13 | Qwen Code | Open-source terminal coding agent from the Qwen team (a Gemini CLI fork) that works with Qwen and third-party models. | 8.8$0.041 / runIndicativeheadless CLI, free Gemini key (not a Qwen model) |
| T-14 | Goose | Open-source AI agent (CLI and desktop) that edits files, runs commands and tests code with any LLM provider. | 8.7$0.024 / runheadless CLI, free API key, gemini-3.5-flash-lite |
| T-14 | turri | Open-source (MIT) terminal coding agent built on pi that keeps a durable system definition (specs, tests, ADRs written in ***plain) and regenerates the affected code from it instead of patching prompt by prompt. Installs via npm (@turri-dev/cli), runs on macOS, Linux and WSL with Node.js 22.19+, uses a stronger model to plan and a cheaper one to write code, supports model providers available through pi, and has a separate desktop app. | 8.7Not measuredIndicativeCLI, free model |
| T-16 | Agent Manager | Local terminal multiplexer (Go TUI on tmux) for AI coding agents. Run Claude Code, Codex, OpenCode, Gemini CLI, Grok, Antigravity CLI and more side by side with live status, worktrees, and diff review. Each session launches your already-installed CLI with your login, config, and MCP servers unchanged. | 8.6Not measuredCLI spawn + tmux TUI, Codex |
| T-16 | Reason | Autonomous cloud coding agent for GitHub that opens pull requests; its new Reason Network lets your coding agents talk to each other. | 8.6Not measuredIndicativecloud free plan |
| T-18 | Alysis Code | Open-source AI coding agent (Apache-2.0 engine) with desktop app (macOS Apple silicon + Windows) and CLI (macOS/Linux/Windows). Code mode builds/fixes/tests in your repo; Work mode handles files/browser/apps. Bring your own model (OpenAI, Anthropic, Gemini, OpenRouter, Ollama, etc.), use Alysis credits, or run local models. Sandboxed by default; CLI supports one-shot headless tasks. | 8.4Not measuredCLI, BYOK |
| T-18 | Crush | Agentic coding agent from Charm; headless run mode works with your own model API key. | 8.4$0.026 / runheadless CLI, free API key, gemini-3.5-flash-lite |
| T-18 | Harness (Autonomous) | Open-source command center that runs Claude Code, Codex and other coding agents across all your machines side by side. | 8.4Not measuredIndicativeCLI, free model |
| T-18 | Parallax (Conifer) | Mac app (with a Linux build) that runs Claude Code, Codex, Cursor and other coding agents side by side, with a Captain that keeps them on task and built-in code review. | 8.4Not measuredCLI start + Codex ChatGPT; review not tested |
| 22 | Pi | Open-source AI agent toolkit (unified LLM API, agent loop, TUI, coding agent CLI); the CLI runs headless on your own model API key. | 8.2$0.059 / runheadless CLI, free API key, gemini-3.5-flash-lite |
| 23 | Jules | Google's asynchronous coding agent. | 8.0Not measuredIndicativecloud free tier |
| 24 | Cline | Open-source autonomous coding agent for VS Code. | 7.9$0.030 / runheadless CLI, free API key, gemini-3.5-flash-lite |
| 25 | Kilo Code | Open-source AI coding agent for VS Code, JetBrains and the terminal (Kilo CLI) that works with 500+ models or your own API keys. | 7.7$0.065 / runheadless CLI, free API key, gemini-3.5-flash-lite |
| 26 | Wonder | Desktop harness (Mac and Windows) to run Claude Code and Codex agents you already subscribe to, in parallel git worktrees, with live app preview and a design canvas. Agents run locally on your machine; no in-app model credits. Free plan for one editor; Pro adds sharing Preview links, unlimited AI-generated layers, and team collaboration. | 6.4Not measuredRemote MCP via Codex, Free plan |
| 27 | Crewplane | Open-source workflow runner for coding-agent CLIs. You define stages, agents, handoffs and review gates in Markdown; Crewplane runs the workflow, keeps every handoff on disk and can resume after failure. Works with Claude Code, Codex, GitHub Copilot CLI, Gemini CLI, Kilo Code, Pi, DeepSeek Harness and OpenCode. Apache-2.0, Python 3.13+. | 5.5Not measuredIndicativeCLI + OpenCode, free model |
How we pick winners
Overall score: 0.4×Outcome + 0.15×(Speed+Cost+DX+Reliability). Editions are labeled where recorded. Cost per run, shown next to each score, is measured spend from our test runs (the mean of those runs, or the single recorded run); otherwise it is Not measured. Scores are never sold as paid placements. Read the methodology.
Detailed reviews
1. OpenAI Codex — 9.7/10
OpenAI's coding agent for CLI, IDE and cloud. Tool details · OpenAI Codex alternatives · free-tier test
Pricing: Included in every ChatGPT plan (Free, Go, Plus, Pro, Business, Enterprise, Edu); usage limits vary by plan. Codex Cloud needs Plus, Pro, Business, Enterprise or Edu. Plus/Pro buyers can add credits. Plan prices on chatgpt.com/pricing · Free tier: Yes: Codex CLI, IDE extension and app on ChatGPT Free and Go with plan usage limits (no Codex Cloud)
Headline 9.7 is the mean of T3 9.7, T4 9.7, and T5 9.6 (rubric v0.3). T3, T4, and T5 were 4/4, 12/12, and 20/20 on all three runs. Headline cost per run is $0.003552, the mean of all nine official runs, token-priced at official gpt-6-luna Standard short-context rates. The previous v0.3 headline of 9.4 (T5 20/20/19, cost Not measured) and the v0.2 headline of 9.7 stay in labelled history. Codex CLI, ChatGPT gpt-6-luna
- Outcome
- 10
- Speed
- 9.9
- Cost
- 10
- DX
- 8
- Reliability
- 10
- Fixed the seeded T3 bug in 3 of 3 runs (11–15s) and scored 12/12 held-out T4 and 20/20 held-out T5 tests on every run with OpenAI gpt-6-luna via a ChatGPT login
- Official unattended `codex exec --json` in workspace-write mode, with split input, cached, and output token counts on every official run
- Token-priced mean $0.003552 per run across the nine official T3+T4+T5 runs at official gpt-6-luna Standard rates
- A ChatGPT login is required for OpenAI’s models; plan usage limits still apply (we did not measure remaining quota)
- Codex IDE and Codex Cloud were not tested in this sitting
- CODEX_HOME under /tmp is refused by the official CLI (helper binaries); an outer pid namespace also hangs Codex’s own workspace-write sandbox — the official isolation used an amp-matching bwrap and a home under /home/box
Who it’s for: Developers in the OpenAI ecosystem who want a terminal agent and already have a ChatGPT plan that includes Codex CLI.
2. psi — 9.7/10
Portable terminal coding agent written in ANSI C and Lua, shipped as a ~6.4 MB binary that runs on Linux, macOS, Windows, FreeBSD/OpenBSD and Haiku. Interactive TUI, REPL and one-shot modes, Lua extensions for commands and tools, append-only JSONL session trees, and providers for Anthropic, OpenAI Codex, OpenRouter or local Ollama models. MIT licensed. Tool details · psi alternatives · free-tier test
Pricing: Free and open source (MIT). Bring your own model provider key or a local Ollama model; no psi paid plan listed. · Free tier: Yes: MIT open-source binary, no psi account or card claimed (psicode.ai + GitHub, verified 2026-11-09)
Headline 9.7 is the mean of T3 9.7, T4 9.7, and T5 9.6 (rubric v0.3). T5 was 20/20 on all 3 runs. The previous v0.2 headline of 9.7 stays in labelled history. psi 0.2.0, openai-codex/gpt-5.6-luna
- Outcome
- 10
- Speed
- 9.7
- Cost
- 10
- DX
- 8
- Reliability
- 10
- Official --agent mode completed T3 in one invocation on all three runs, in 11–14 seconds, with npm test 4/4 and the test file unchanged
- psi itself is free MIT with no account; this edition used an existing ChatGPT login via the documented openai-codex paste-redirect flow
- Non-interactive --agent edited cart.js, ran npm test, and printed a short summary without a tool-approval hang
- The TUI and REPL were not used in the scored runs, so this is a CLI --agent edition, not a full-product UI score
- openai-codex login is a separate OAuth from the Codex CLI and needs an interactive paste of the redirect URL (documented, and completed for this test)
- Only the OpenAI Codex / ChatGPT provider was tested; Anthropic, OpenRouter and Ollama were not
Who it’s for: Developers who want a tiny, auditable, scriptable terminal coding agent that runs on unusual systems and any of several model providers.
3. Aider — 9.5/10
Open-source AI pair programming in the terminal. Tool details · Aider alternatives · free-tier test
Pricing: Free open source (Apache 2.0); pay your LLM provider · Free tier: Yes: free tool, BYO API key or local models
Headline 9.5 is the mean of T3 9.7, T4 9.7, and T5 9.2 (rubric v0.3). T3 was 4/4 and T4 was 12/12 on all three runs. T5 was 19/20 on all three runs. Cost per run is $0.024809, the mean of all nine official runs (shown as $0.025 / run). The previous 16 Oct T3-only indicative score of 9.3 on an OpenRouter :free model stays in labelled history. headless CLI, free API key, gemini-3.5-flash-lite
- Outcome
- 9.8
- Speed
- 9.4
- Cost
- 10
- DX
- 8
- Reliability
- 10
- Passed T3 4/4 and T4 12/12 on all three runs, in about 7s and 9–14s
- Headless --verbose reports exact LiteLLM prompt, cache and completion tokens so cost can be priced
- Works on a free Google AI Studio API key with no card (gemini-3.5-flash-lite); built-in --auto-test loop is useful
- T5 missed one held-out test on every run (19/20×3); run 2 spent 648s in the auto-test fix loop
- pip install was refused on Debian's system Python; we needed uv
- Unattended runs still need several flags (--yes-always, --message, --test-cmd, --no-gitignore, and --verbose for exact token counts)
Who it’s for: Developers who want a terminal coding agent with a built-in test loop and their own Gemini API key.
4. Mirror (Reflection) — 9.4/10
Reflection's open-source terminal coding agent, released with its open-weight Beam model; it can also run on OpenRouter, OpenAI, Anthropic or local models. Tool details · Mirror (Reflection) alternatives · free-tier test
Pricing: CLI free and open source (Apache-2.0). Its default Beam model runs on Reflection's API, which was a free beta until 30 Nov 2026. From 1 Dec 2026 Reflection offers two API plans (email to API users, 19 Nov 2026; Commercial Terms updated 18 Nov 2026): Developer, pay as you go from a prepaid balance (add a payment card and top up), and Contributor, free Beam 1.0 tokens (allowances shown in the platform) in exchange for letting Reflection retain and train on your organization's prompts and responses. Free-beta organizations move to Developer automatically. Per-token prices are not published on Reflection's public pages (checked 2026-11-30). Or bring your own OpenRouter, OpenAI or Anthropic key, a ChatGPT plan, or a local model · Free tier: Yes for the CLI, which is free and open source. Reflection's free API beta ran until 30 Nov 2026; from 1 Dec 2026 free Beam tokens come only with the Contributor plan, which lets Reflection train on your prompts and responses. Developer is prepaid, and some organizations must verify a card before API keys work. Mirror also runs on other providers' free models
3/3 runs: fixed a seeded cart-discount bug (2 failing tests) in 9-21s with a free OpenRouter model, without touching the tests. Only task T3 was run. This is not Reflection's own Beam model, whose API needs card verification. exec refuses to start until a per-folder notice is accepted interactively. CLI, free model
- Outcome
- 10
- Speed
- 10
- Cost
- 10
- DX
- 6
- Reliability
- 10
- Solved our bug-fix task 3/3 in 9-21s with a free OpenRouter model
- Runs with an OpenRouter key and no card (Beam model not needed)
- Minimal, correct diffs that left the tests untouched
- mirror exec refuses to run until the "trust this folder" notice is accepted in an interactive session, once per folder
- Its default Beam model needs credit-card verification, so we tested a different model
- We only ran the bug-fix task (T3), not full app builds
Who it’s for: Developers who want an open-source terminal coding agent tuned for an open-weight model they can also self-host.
5. Claude Code — 9.3/10
Anthropic's agentic coding tool for the terminal, IDE, desktop, and browser. Tool details · Claude Code alternatives · free-tier test
Pricing: Included in Claude Pro $20/mo ($17/mo annual, $200 upfront); Max from $100/mo (5x or 20x); or API pay-as-you-go · Free tier: No (not included in Claude Free)
Anthropic Sonnet 5.5 edition (headline): Claude Code CLI fixed our seeded cart bug in 3 of 3 runs (5.7–7.1s, 5 turns each). Test file untouched. Real API spend ~$0.035 for smoke + 3 runs at Sonnet 5.5 list prices ($2/$10 per MTok). Overall 9.3 (outcome 10, speed 10, cost 7, DX 8, reliability 10). Alongside: OpenRouter free-model edition the same day also scored 9.3 at $0 (cohere/north-mini-code:free; slower, free-tier cost 10) — docs/tests/claude-code/RESULTS.md. Opus not run. Anthropic Sonnet 5.5 API
- Outcome
- 10
- Speed
- 10
- Cost
- 7
- DX
- 8
- Reliability
- 10
- Fixed the seeded bug in 3/3 runs with Anthropic Sonnet 5.5 in about 6 seconds
- Real API cost about $0.01 per T3 run at Sonnet 5.5 list prices
- Did not modify the test file in any run
- OpenRouter free edition also available at $0 for CLI-loop testing (also 9.3)
- No Claude Free plan access — Anthropic models need Pro, Max, or API credits
- Cost score 7 reflects pay-as-you-go API, not a free tier
- Needs --dangerously-skip-permissions for unattended sandbox runs
- Opus edition not tested (Sonnet already maxed Outcome on this T3)
Who it’s for: Developers who want Anthropic's terminal agent on Sonnet/Opus (Pro, Max, or API). Headline score is Anthropic Sonnet 5.5 via API. A separate OpenRouter free edition (also 9.3) tests the CLI with a small free model only.
6. Gemini CLI — 9.3/10
Open-source terminal agent from Google; consumer users moved to Antigravity CLI in June 2026. Tool details · Gemini CLI alternatives · free-tier test
Pricing: Open-source CLI; model usage via a Gemini API key (free tier with rate limits, or paid per token), Vertex AI, or Gemini Code Assist Standard/Enterprise · Free tier: Yes with a free Google AI Studio API key (no card); Google sign-in for individuals moved to Antigravity CLI
Headline 9.3 is the mean of T3 9.4, T4 9.3, and T5 9.2 (rubric v0.3). All nine official runs fully passed: T3 4/4×3, T4 12/12×3, T5 20/20×3. The sitting ran alone on the free-tier key with 90–150s spacing. Four longer runs (T4 run 3 and all three T5 runs) still hit the 250,000 input-tokens-per-minute cap; Gemini CLI retried and finished. No stream crashes. Cost per run is $0.068735, the mean of all nine runs (shown as $0.069 / run). The previous 18 Nov v0.3 score of 6.6 and the 17 Oct T1 todo-app score of 6.1 stay in labelled history. headless CLI, free API key, gemini-3.5-flash-lite
- Outcome
- 10
- Speed
- 9.3
- Cost
- 10
- DX
- 6
- Reliability
- 10
- Passed every official held-out test on 19 Nov: T3 4/4 in 13–20s, T4 12/12, and T5 20/20 on all three runs
- Official headless mode (-p, -o json) reports split input, cached and output tokens per model
- Works on a free Google AI Studio API key with no card (gemini-3.5-flash-lite)
- Google-account sign-in for individuals no longer works; API-key use needs security.auth.selectedType set in settings.json
- The free tier still throttles at 15 requests/minute and 250,000 input tokens per minute; even with 90–150s spacing, T4 run 3 and all three T5 runs waited on input-token 429s (Gemini CLI retried and still passed)
- A truncated API stream still ends the run with exit 1 and no retry (observed on four of nine runs on 18 Nov; it did not recur on 19 Nov)
Who it’s for: Developers in the Google ecosystem who want an open-source terminal agent on a Gemini API key; plan around free-tier per-minute limits and keep a settings.json that selects API-key auth.
7. GitHub Copilot CLI — 9.2/10
GitHub's Copilot coding agent in the terminal, included in Copilot Free. Tool details · GitHub Copilot CLI alternatives · free-tier test
Pricing: Copilot Free $0 (monthly AI Credits allowance); Pro $10/mo (1,500 credits); Pro+ $39/mo; Max $100/mo · Free tier: Yes: Copilot Free includes the CLI with a monthly AI Credits allowance, Auto model only
3/3 runs fixed our seeded cart bug (4/4 tests pass) in 22-26s on Copilot Free, using 0.16-0.27 AI Credits each. It used our existing gh login with no browser step and never touched the test file. Copilot Free CLI
- Outcome
- 9
- Speed
- 9
- Cost
- 9
- DX
- 9
- Reliability
- 10
- Fixed the seeded bug correctly in 3 of 3 runs, in 22-26 seconds
- Runs headlessly with an existing GitHub CLI login (GH_TOKEN), no browser step
- Ran the test suite itself before finishing
- Copilot Free is limited to the Auto model
- The Free AI Credits allowance isn't stated in GitHub's docs, so heavy use is hard to plan
- Unattended runs need --allow-all-tools, which lets it run any command in the folder
Who it’s for: Developers who already use GitHub and want a free terminal agent without setting up an API key.
8. OpenCode — 9.2/10
Open-source AI coding agent for the terminal. Tool details · OpenCode alternatives · free-tier test
Pricing: Go $10/mo; Go Plus $40/mo; Zen pay-as-you-go ($20 prepaid) · Free tier: Yes: open-source agent free with own keys; some free Zen models
Headline 9.2 is the mean of T3 9.6, T4 9.5, and T5 8.5 (rubric v0.3). T3 and T4 were 4/4 and 12/12 on all three runs; T5 was 20/20, 20/20 and 19/20. Cost per run is $0.0764, the mean of all nine runs on gemini-3.5-flash-lite. The previous T3-only score of 9.2 on the free Zen model stays in labelled history. headless CLI, BYOK, gemini-3.5-flash-lite
- Outcome
- 9.9
- Speed
- 9.5
- Cost
- 10
- DX
- 7
- Reliability
- 8.3
- Passed every T3 and T4 held-out test on all three runs and 59 of 60 T5 held-out tests
- Fast: T3 in 12–14s and T4 in 55–75s on gemini-3.5-flash-lite
- Headless JSON output reports split input, cached and output tokens plus cost for every step
- opencode run still waits silently on an open stdin in scripts; redirect stdin from /dev/null
- Bring-your-own-key setup needs a provider config file
- Free Zen models hit a free-usage limit from our box on 16 Nov 2026 (it had reset by 18 Nov)
Who it’s for: Developers who want an open-source terminal coding agent they can try for free and later point at their own model keys.
9. Memdoor — 9.1/10
Lightweight open-source coding and automation agent in one CLI binary for macOS, Linux and Windows. Run it locally or over SSH, headless from scripts, CI or cron, with multi-step YAML workflows, approval gates and a decision model that trims token use. Bring your own key or a local model. Tool details · Memdoor alternatives
Pricing: Free and open source (Apache 2.0): the agent, the decision model and workflows. Pro is $10/month for phone remote control and workflow state kept on memdoor.ai. Every model call runs on your own key · Free tier: Yes: the CLI, decision model and workflows are free; bring your own model key (for example OpenRouter) or run a local model with memdoor connect local. No account needed
Memdoor fixed our seeded cart discount bug in 3 of 3 headless runs (35–47s each) with a free OpenRouter model, never touched the test file, and printed its own test receipt. Cost $0. Overall 9.1 (outcome 10, speed 8, cost 10, DX 6, reliability 10). DX lost points because the default free-model auto-pick hit an OpenRouter 403 and pinning a model needed environment variables. CLI, BYOK
- Outcome
- 10
- Speed
- 8
- Cost
- 10
- DX
- 6
- Reliability
- 10
- Fixed the seeded bug in 3/3 runs with a free model
- Single binary, no account, clean --json output for scripts and CI
- Ends each run with a receipt showing the tests it ran before and after
- Did not modify the test file in any run
- Default free-model auto-pick failed with an OpenRouter 403 in our test
- Pinning a specific model needed AI_GATEWAY_* environment variables
- Slower than paid-model agents (35–47s per run on a free model)
Who it’s for: Developers who want a small BYOK terminal agent they can run headless in CI, cron or over SSH, and script into repeatable multi-step workflows.
10. Zerg Client — 9.1/10
Zerg Terminal Client (ZTC): a CLI and macOS desktop AI coding agent that plans changes, edits code and runs tests in your project. Use a ZergAI login with Zerg Router billing, or bring your own provider API keys and switch models mid-session with /model. Headless on macOS, Linux and Windows; native terminal and desktop app currently Apple Silicon macOS. Tool details · Zerg Client alternatives
Pricing: Free to evaluate under the Zerg Source Available License; commercial use needs a paid license. Model usage is billed separately (Zerg Router or your own provider keys). No Zerg account required if you use local API keys · Free tier: Yes: free evaluation of the CLI/desktop under the source-available license; bring your own model keys or use Zerg Router billing. Commercial use requires a license (official product page, verified 2026-11-06)
Zerg Client fixed our seeded cart discount bug in 3 of 3 headless runs (17–33s each) with a free OpenRouter model, ran the tests itself, and never touched the test file. Cost $0. Overall 9.1 (outcome 10, speed 9, cost 9, DX 6, reliability 10). DX lost points because the Linux npm install needed --ignore-scripts, the built-in Gemini provider failed with a free key, and headless output is noisy. Cost is 9 because the licence is free for evaluation only; commercial use needs a paid licence. We tested the headless CLI only, not the macOS desktop app or Zerg Router models. Headless CLI, BYOK
- Outcome
- 10
- Speed
- 9
- Cost
- 9
- DX
- 6
- Reliability
- 10
- Fixed the seeded bug in 3/3 headless runs with a free model
- Ran node --test itself and exited cleanly (exit 0) every run
- BYOK with no Zerg account: three environment variables and --auth-mode direct
- Did not modify the test file in any run
- Linux npm install failed until we used --ignore-scripts (node-pty build needs make)
- Native Gemini provider returned 400 schema errors with a free key in our test
- Headless output repeats long checkpoint blocks; interactive TUI and desktop app are Apple Silicon only
- Free for evaluation only; commercial use needs a signed licence
Who it’s for: Developers who want a terminal (and optional macOS desktop) coding agent with BYOK or Zerg Router billing, including headless runs on Linux/Windows.
11. Amp — 9/10
Agentic coding tool from Sourcegraph. Tool details · Amp alternatives
Pricing: Individual $20/mo (45,000 orb minutes) · Free tier: Yes (Hobby): all features, local runners, BYOK; ad-supported Amp Free discontinued
2026-11-06 cross-check: Amp fixed our seeded cart discount bug in 3 of 3 headless Hobby Free runs (62–136s) with a free OpenRouter model and never touched the test file. Cost $0 on OpenRouter (49 free requests). Overall 9.0 (outcome 10, speed 8, cost 10, DX 5, reliability 10). Prior 2026-11-05 batch scored 7.4 (2/3). DX still loses points for device login, API token, full model-routing setup, and the need for a sandbox. cloud free plan
- Outcome
- 10
- Speed
- 8
- Cost
- 10
- DX
- 5
- Reliability
- 10
- Fixed the seeded bug in 3/3 cross-check runs with a free OpenRouter model
- Hobby Free + BYOK completed the task at $0 OpenRouter spend
- Did not modify the test file in any scored run
- Free path needs an Amp account, access token, and a full model-ID to :free mapping
- Without a sandbox the local executor can edit files outside the project
- Web and media tools bill Amp credits (small dip observed when the agent called read_web_page)
Who it’s for: Developers who want Sourcegraph's Amp agent with their own keys or subscriptions, and can set up model routing for a free path.
12. OpenHands — 8.9/10
Open-source platform for software engineering agents (MIT). Self-host with Agent Canvas, a headless CLI, an SDK, or use OpenHands Cloud. Bring your own LLM key; Cloud also offers at-cost hosted models and a limited free BYOK tier. Tool details · OpenHands alternatives · free-tier test
Pricing: Agent Canvas free to self-host (MIT, BYOK, single shared identity). Teams $500/mo up to 10 users (+$50/seat), self-hosted with RBAC. Enterprise custom. OpenHands Cloud: free BYOK tier with daily/parallel conversation limits; hosted models at provider cost with no markup · Free tier: Yes: self-host Agent Canvas / CLI / SDK free with your own model key; Cloud free BYOK tier for individuals with usage limits. No card required for local BYOK
Headline 8.9 is the mean of T3 9.4, T4 9.3, and T5 7.9 (rubric v0.3). T3 and T4 were 4/4 and 12/12 on all three runs. T5 was 20/20, 19/20, 20/20; official run 2 timed out at 900s after Gemini 429s and produced work, so it is kept in Speed and Outcome. Cost per run is $0.0878, the mean of the eight official runs that recorded tokens plus a 2026-11-19 cost-completion rerun for T5 run 2. The previous v0.1 T3-only score of 9.1 stays in labelled history. headless CLI, BYOK, gemini-3.5-flash-lite
- Outcome
- 9.9
- Speed
- 8
- Cost
- 10
- DX
- 6
- Reliability
- 8.3
- Fixed the seeded T3 bug in 3/3 headless runs and scored 12/12 held-out T4 tests on all three runs with a free Gemini key
- Did not modify test files on any official T3, T4, or T5 run
- Self-host / BYOK path works with no OpenHands Cloud account
- Large open-source project (93,572 GitHub stars on 2026-11-16)
- Default Gemini path uses context caching that the free Gemini tier rejects (429); turning it off still needed a settings seed — there is no simple CLI/env switch
- T5 official run 2 timed out at 900s after repeated Gemini free-tier 429s (19/20, work produced) and did not flush usage; a 2026-11-19 cost-completion rerun filled that token record without changing the score
- CLI TUI is in maintenance mode; docs steer new local users to Agent Canvas. We only scored the headless CLI edition, not Agent Canvas or Cloud
Who it’s for: Teams that want an open-source coding agent they can self-host or run headless in CI with their own model keys, without locking into one cloud vendor.
Not yet tested
- ClawDOS — not yet tested · alternatives
- Conducted — not yet tested · alternatives
- Devin — not yet tested · alternatives
- Roomote (formerly Roo Code) — not yet tested · alternatives
- Ski — not yet tested · alternatives
Related compares
- Claude Code vs OpenAI Codex
- Aider vs Cline
- Cline vs OpenCode
- Aider vs OpenCode
- Cline vs OpenAI Codex
- Jules vs Gemini CLI
- Aider vs OpenAI Codex
- OpenCode vs OpenAI Codex
- GitHub Copilot CLI vs Aider
- GitHub Copilot CLI vs OpenCode
- GitHub Copilot CLI vs OpenAI Codex
- GitHub Copilot CLI vs Cline
- OpenAI Codex vs Gemini CLI
- Jules vs OpenAI Codex
- Aider vs Gemini CLI
- Cline vs Gemini CLI
- Aider vs Reason
- Cline vs Reason
- OpenCode vs Reason
- OpenHands vs Claude Code
- Amp vs Claude Code
- Memdoor vs Aider
- Mirror (Reflection) vs OpenCode
- Mirror (Reflection) vs Claude Code
- Mirror (Reflection) vs turri
- turri vs Aider
- turri vs OpenCode
- Crewplane vs OpenCode
- Crewplane vs Claude Code
- Parallax (Conifer) vs Crewplane
- Agent Manager vs Parallax (Conifer)
- Agent Manager vs Crewplane
- psi vs Aider
- psi vs OpenCode
FAQ
What is the best Coding Agents (CLI & Cloud) in our tests?
OpenAI Codex has the highest recorded overall score on this page, 9.7/10. That score is for the task and edition recorded for that tool, not a purchase ranking against a tool tested on a different task.
Are rankings paid?
No. Scores come from our own tests and are never for sale. See our disclosure.
How fresh is this ranking?
The latest recorded check or test date on this page is 2026-11-30.
Can Codex CLI run without a ChatGPT account?
Yes, through a Responses-compatible custom provider. Our 2026-10-16 test used OpenRouter with wire_api = "responses" and no ChatGPT login. The current published score is from a ChatGPT login with OpenAI’s gpt-6-luna.
How did Codex CLI do with OpenAI’s own models?
On 2026-11-16 we retested official Codex CLI 0.166.0 with a ChatGPT login and gpt-6-luna on T3, T4, and T5. It scored 4/4, 12/12, and 20/20 on all three runs each. The v0.3 headline is 9.7, the mean of T3 9.7, T4 9.7, and T5 9.6. Token-priced cost per run is $0.003552. We did not test Codex IDE or Codex Cloud. The 2026-11-13 sitting of the same edition (headline 9.4, T5 20/20/19, cost Not measured) stays as labelled history.
Best free Coding Agents (CLI & Cloud) · All rankings · All tools · Best AI Coding Agents · Best Vibe Coding Tools · Best AI Coding Tools
Scores come from our own tests and are never for sale; sponsored placements are always labelled. Some links are affiliate links (currently Railway). Disclosure
