Best AI coding agents
Agents that take a task, edit multiple files, run commands and come back with a diff.
Quick answer: Claude Code is our top pick for multi-file changes from the terminal; it needs a paid Claude plan (Pro is $20/mo). If you would rather review each change in an editor, use Grok Build (formerly Cursor). If you want to pay nothing, OpenCode is free and open source.
Our picks
1. Claude Code
Anthropic's terminal-based agentic coding tool.
Verdict: Excellent at multi-file changes from the terminal; a favorite for serious agentic work.
Price: Included with Claude Pro ($20/mo, or $17/mo billed yearly), Max ($100/mo) and Ultra ($200/mo). Not on the free plan.
2. Grok Build (formerly Cursor)
AI-first code editor (formerly Cursor; a VS Code fork) with chat, inline edits and an agent mode.
Verdict: Agent mode inside a full editor, so you can review every change visually.
Price: Cursor was renamed Grok Build on Nov 30, 2026; plans are unchanged. Free plan with limited agent use. Plus $8/mo runs only Grok Build's own models (Grok, Composer); Premium $30/mo adds cloud agents and Claude/GPT models billed at API list price. Sold as part of The X Subscription.
3. OpenAI Codex
OpenAI's coding agent that works on repos in the cloud or CLI.
Verdict: Hand off tasks to run in parallel in the cloud and review the resulting PRs.
Price: Limited use on ChatGPT's free plan; ChatGPT Plus ($20/mo) for regular coding sessions. With an API key, API pricing applies.
4. GitHub Copilot
AI pair programmer built into VS Code, JetBrains and GitHub.
Verdict: Copilot's coding agent works from GitHub issues — natural fit if your team lives on GitHub.
Price: Free plan with limited chat and agent use. Pro $10/mo, Pro+ $39/mo, Max $100/mo.
5. Devin
Cognition's autonomous software engineering agent.
Verdict: Built for delegating whole tickets end to end; pricier, aimed at teams.
Price: Free plan with a light quota. Cloud agents (Devin Cloud) start on Pro at $20/mo; Teams from $80/mo.
6. OpenCode
Open-source (MIT) coding agent for the terminal, desktop or IDE that works with 200+ model providers, including local models.
Verdict: Free, open-source and actively developed; bring any model, including local ones, or your existing ChatGPT Plus/Pro or GitHub Copilot subscription.
Price: Free and open source. It comes with free models, or you can connect any provider's models.
Oct 2026: OpenCode's free models now require OpenCode 1.18 or newer. If an older build shows "OpenCode 1.18.0 or newer is required to use the free tier", upgrade to OpenCode v2. Source: OpenCode free tier issue #59387
Comparison table (Updated Dec 2026)
Free tiers and entry prices verified against each vendor's official pricing page or docs on . Tool names link to the page we checked. Prices are in US dollars and change often.
| Tool | Job it's best for | Free tier | Entry price | When not to use it |
|---|---|---|---|---|
| Claude Code Top pick | Multi-file changes driven from the terminal | No: not included in Claude's free plan | Claude Pro $20/mo ($17/mo billed yearly); Max from $100/mo | You need to stay at $0, or you would rather review each edit inside an editor. |
| Grok Build (formerly Cursor) Runner-up | Agent work inside an editor, reviewing each change as it lands | Yes: limited agent and chat requests | Plus $8/mo (Grok Build's own models only). Premium $30/mo adds cloud agents; third-party models such as Claude and GPT are billed separately at API list price. | You want Claude or GPT models without usage charges on top of a plan. |
| OpenCode Free option | A free, open-source agent for the terminal, desktop or IDE, with the model of your choice | Yes: free and open source (MIT), with free models included | $0. You can also connect a ChatGPT Plus/Pro or GitHub Copilot subscription, or other providers' models. | You want a single vendor's managed product instead of choosing and connecting models yourself. |
| OpenAI Codex | Handing off several tasks in parallel and reviewing the results | Limited: ChatGPT Free includes Codex in the desktop app, subject to rollout | ChatGPT Plus $20/mo adds Codex on the web, in the CLI and IDE extension, and cloud integrations. Go ($8/mo) covers the desktop app. | You plan to use only an API key and want cloud features such as GitHub code review: API-key use does not include them. |
| GitHub Copilot | Teams that live on GitHub: agents that work from issues and pull requests | Yes: limited chat and agent use, including agent mode and the CLI | Pro $10/mo; Pro+ $39/mo. Usage is counted in GitHub AI Credits. | You need cloud features such as Agent Merge without paying: they need a paid Copilot plan. |
Recent changes
- Grok Build (formerly Cursor) (): Cursor is now called Grok Build. The IDE, agent sessions and third-party models work as before, and cursor.com/pricing now redirects to grok.com/pricing with the same plans. Starting Dec 7, 2026, tag @Build instead of @Cursor in Slack, GitHub, Linear, Jira and other apps. Source: Grok news
- GitHub Copilot (): Claude Opus 4.8, Claude Opus 5 and GPT-5.6 Terra are now deprecated across most Copilot experiences, including Chat, inline edits, agent mode and code completions. Suggested alternatives are Claude Opus 5.5, and GPT-6.1 Sol or GPT-6 Luna. Claude Opus 4.8 stays available to individual subscribers on annual plans. Source: GitHub changelog
- VS Code (): VS Code 1.146 deprecates the Local harness for Copilot agent sessions, and it will be removed in February 2027. The Copilot harness, the default for new sessions since VS Code 1.143, replaces it; switching doesn't convert every customization, so check yours. Source: GitHub changelog
- Claude Code 2.1.326 (): Sandboxed commands on macOS, Linux and WSL no longer write to some sensitive home folders by default; allow the ones you need with sandbox.filesystem.allowWrite. Code Mode now works with agent teams turned on. Source: Claude Code release notes
- GitHub Copilot (): GitHub will deprecate Claude Fable 5, Claude Haiku 4.5, Gemini 3.8 Flash, Gemini 4 Argon, Grok 4.6 and Kimi K3 across all Copilot experiences on Dec 14, 2026. Suggested replacements include Claude Fable 5.2, Claude Haiku 5.5, Gemini 4 Hydrogen, Gemini 4 Carbon and Grok 4.7. Claude Haiku 4.5 stays available to individual subscribers on annual plans. Source: GitHub changelog
- Claude Code 2.1.325 (): Sandboxed Bash commands now follow the normal permission flow by default instead of running without prompts; set sandbox.autoAllowBashIfSandboxed: true to keep the old behavior. Scheduled tasks and /loop now ask before running a skill that declares allowed-tools or hooks. Source: Claude Code release notes
- Claude Code (): Fast mode for Claude Opus 4.8 is deprecated and will be removed on Nov 30, 2026. After removal, fast-mode requests on Opus 4.8 return an error and do not fall back to standard speed. Anthropic says to migrate to Claude Opus 5.5 to keep fast mode (Claude Code 2.1.316). Source: Claude Code changelog
- OpenCode 2.2.3 (): Adds a built-in Claude Agent provider: install Claude Code, run claude auth login, then select Claude Agent in /connect to use your Claude Code login and models inside OpenCode. This runs through Claude Code; the existing subscriptions OpenCode lists for direct use are ChatGPT Plus/Pro and GitHub Copilot. Source: OpenCode release notes
- Codex CLI 0.166.0 (): Adds GPT-6.1 Terra to the bundled model catalog, a codex queue --resume command and a codex doctor --network-only check. Approval and permission settings are now kept when you resume or fork a thread. Source: Codex release notes
- Jules (): Google is winding Jules down. Sessions can continue until Nov 11, 2026; after that Jules is read-only, and it shuts down on Dec 31, 2026. Google provides an export of Jules settings and session history. Source: Jules changelog
- GitHub Copilot Fusion (): Now generally available on all Copilot plans in VS Code, the GitHub Copilot app, Copilot CLI and JetBrains IDEs. Pick Copilot Fusion in the model picker with a Standard, High or Max effort level, and Copilot chooses the models for each prompt. Each model it uses is billed at its standard rate; paid plans get a limited-time 30% discount on those model costs. Source: GitHub changelog
- GitHub Agent Merge (): Select Watch and fix in a pull request's merge box and Copilot fixes failing Actions workflows, merge conflicts or both in a cloud environment. Available with a paid Copilot plan, subject to organization policies. Source: GitHub changelog
What we checked
We verified the prices, free tiers and dated changes on this page against official docs and pricing pages on . We did not run hands-on tests or benchmarks for this update. The picks and verdicts are our editorial judgment, not test results.
How to choose
Grok Build (formerly Cursor) vs Claude Code vs Codex: pick by where you want to work.
- In the terminal, on multi-file changes: Claude Code. It needs Claude Pro ($20/mo) or Max; it isn't on the free plan.
- In an editor where you review each change: Grok Build (formerly Cursor). Cloud agents start on the $30 Premium plan, and Claude or GPT models are billed at API list price.
- Hand off several tasks in parallel and review PRs: OpenAI Codex. You can try it on ChatGPT's free plan, and ChatGPT Plus ($20/mo) covers regular use.
- Your team lives on GitHub: GitHub Copilot. It has a free plan, and Pro at $10/mo is the cheapest paid option here.
- Want to pay nothing or pick your own model: OpenCode. It's free and open source.
- Want to delegate whole tickets: Devin. Cloud agents start on the $20/mo Pro plan.
Also worth a look: Cline, an open-source coding agent you can run in your editor or terminal.
Free from Google (checked Oct 23, 2026): Google Antigravity, an agent-first editor and CLI with a $0 individual plan (weekly rate limits).
Jules is shutting down (checked Dec 1, 2026): Google is winding down Jules. It has been read-only since Nov 11, 2026 and shuts down on Dec 31, 2026, so don't start new work there.
Prices checked on each tool's official pricing page. They change often, so the official page wins.
Picks are editorial and not paid. Pricing and features change often — check each official site.
FAQ
What is an AI coding agent?
A tool that takes a task, plans the steps, edits several files, runs commands such as tests, and comes back with a diff or pull request for you to review, instead of only suggesting code as you type.
What is the best AI coding agent?
Claude Code is our top pick for multi-file changes from the terminal. If you prefer to review each change in an editor, use Grok Build (formerly Cursor). If you want to pay nothing, use OpenCode.
Is Claude Code free?
No. As of Dec 1, 2026, Claude Code is not included in Claude's free plan. It comes with Claude Pro ($20/mo, or $17/mo billed yearly) and with Max (from $100/mo).
Is there a free AI coding agent?
Yes. OpenCode is free and open source (MIT) and includes free models. GitHub Copilot's free plan includes agent mode and the CLI with limited use, the free plan of Grok Build (formerly Cursor) includes limited agent requests, and ChatGPT Free includes Codex in the desktop app, subject to rollout.
Claude Code, Grok Build (formerly Cursor) or Codex: which should I use?
Pick by where you want to work. Claude Code runs in the terminal and is our pick for multi-file changes. Grok Build (formerly Cursor) is an editor where you review each change. Codex is built for handing off several tasks in parallel and reviewing the results. These are editorial judgments checked against each tool's docs and pricing, not benchmark results.
Which GitHub Copilot models are retired on Dec 14, 2026?
GitHub announced on Nov 13, 2026 that Claude Fable 5, Claude Haiku 4.5, Gemini 3.8 Flash, Gemini 4 Argon, Grok 4.6 and Kimi K3 will be deprecated across Copilot Chat, inline edits, agent mode and code completions on Dec 14, 2026. Switch to the suggested replacements, such as Claude Fable 5.2, Claude Haiku 5.5, Gemini 4 Hydrogen, Gemini 4 Carbon or Grok 4.7, before then. Claude Haiku 4.5 stays available to individual subscribers on annual plans.
What changed for Claude Code users on Nov 30, 2026?
Anthropic set Nov 30, 2026 as the removal date for fast mode on Claude Opus 4.8. After removal, fast-mode requests on Opus 4.8 return an error instead of falling back to standard speed. Anthropic says to move to Claude Opus 5.5 to keep using fast mode.