Coding · 19 tools · updated Nov 30, 2026
Which agent can write and run code for me from the terminal or a ticket?
OpenAI Codex leads with an evidence score of 88/100, ahead of Claude Code (84) and Gemini CLI (84). 16 of 19 can be used free, 9 are open source. Best for ChatGPT subscribers who want background coding tasks: OpenAI Codex.
Short answer
- Best overall: OpenAI Codex, evidence score 88/100 of 19 tools tracked for autonomous coding agent.
- Best free: OpenAI Codex (88/100) - Included with ChatGPT Plus $20/mo and Pro; CLI free with API key. All 16 free options.
- Best open-source: OpenAI Codex (88/100), source at openai/codex.
Scored from public evidence (GitHub, Hacker News, release activity, free access), rebuilt 30 Nov 2026. Method.
Ranked by evidence — GitHub stars, Hacker News mentions, Wikipedia readership, release activity and how much you can use for free. Recomputed nightly. How the score works.
+ Cloud mode runs many tasks in parallel sandboxes and opens PRs for each.
− Native Windows support in the CLI arrived late and sandboxing can block legitimate commands.
+ Handles long multi-step tasks across a whole repo with strong tool use and MCP support.
− Token spend on the API plan can be high and Pro-plan rate limits reset only every five hours.
+ Free tier gives a 1M-token context window and around 1,000 requests per day.
− Less reliable at multi-step edits than Claude Code and quietly falls back to Flash under load.
+ Top-ranked open agent on SWE-bench that you can run on your own infrastructure.
− Docker-based local setup is heavy and the UI is rougher than commercial agents.
+ Tab autocomplete predicts multi-line edits across files better than any competitor.
− Usage-based pricing changes and request limits on Pro have repeatedly frustrated heavy users.
+ MCP-first design means any MCP server becomes a Goose capability with no glue code.
− Less tuned for coding than Claude Code, so results vary widely by model.
+ Plan mode lets you approve an approach before the agent touches files or runs commands.
− Reading whole files into context burns API tokens fast on big projects.
+ Repo map and git-native workflow make it cheap and precise with any model, including local ones.
− It is a chat-driven editor rather than an autonomous agent, so you steer every step.
+ Deepest GitHub integration: assign an issue to Copilot and it opens a PR.
− Completions and agent lag behind Cursor and Claude Code in quality despite more models being offered.
+ Works out of the box with a built-in provider so no API key setup is needed.
− Less mature than the projects it forked and still catching up on polish.
+ Runs fully unattended in its own VM with browser, shell, and editor, and reports back on Slack.
− Struggles with ambiguous tasks and the price per compute unit adds up on long sessions.
+ Runs in the background and sends an audio changelog summarising each PR.
− Limited daily task quota and no way to intervene mid-task once it starts.
+ Inherits Claude Code's file, shell, and subagent tooling, so agents are production-grade on day one.
− Tied to Claude models and the Claude Code runtime rather than a provider-agnostic design.
+ Custom modes (Architect, Code, Debug) and Orchestrator subtasks keep context small per step.
− Rapid releases mean frequent regressions and settings sprawl, and roocode.com now serves Roomote, the same team's hosted agent, which makes the project's own home hard to find.
+ Threads are shareable, so a team can inspect exactly how an agent produced a change.
− No model picker; Amp chooses the model and spends your credits accordingly.
+ Uses the IDE's own semantic index and refactorings, so edits respect project structure.
− Quota-based AI credits run out quickly on the lower tiers.
+ Runs local and cloud agents from one window, with the editor's own view of what you just changed.
− Renamed from Windsurf in June 2026 and the Cascade agent was retired, so older guides and tutorials no longer match the app.
+ Spec-driven workflow produces requirements and design docs before code, which keeps agents on track.
− Waitlists and tight free-tier limits made it hard to actually use after launch.
+ Context retrieval holds up on monorepos with hundreds of thousands of files.
− Pricing moved to credits and sits well above Copilot for individual developers.
Head to head: OpenAI Codex vs Claude Code OpenAI Codex vs Gemini CLI Claude Code vs Gemini CLI
Narrow it down
Questions
What is the best tool for autonomous coding agent?
OpenAI Codex, with an evidence score of 88/100 — the highest of the 19 tools tracked for this job. Cloud mode runs many tasks in parallel sandboxes and opens PRs for each. Its weak spot: Native Windows support in the CLI arrived late and sandboxing can block legitimate commands.
What is the best free tool for autonomous coding agent?
OpenAI Codex (88/100). Included with ChatGPT Plus $20/mo and Pro; CLI free with API key. All 16 free options.
Is there an open-source tool for autonomous coding agent?
Yes — OpenAI Codex scores 88/100 and publishes its source at openai/codex. All 9 open-source options.
How is this ranked?
By public evidence only: 45% popularity (GitHub stars, Hacker News mentions or Wikipedia readership, whichever is strongest), 25% momentum, 15% freshness of releases, 15% how much you can use for free. Recomputed nightly. Nobody can pay to move up — the sponsored box is labelled and sits outside the list. The formula.
Missing a tool? It gets added when it shows up in the release feed with real traction, not by request.