Best AI coding agent
By The AI Loadout editors · How we pick
The best AI coding agent today is Claude Code running Claude Opus 5.5. It is included with Claude Pro, and on Artificial Analysis' Coding Agent Index v2.1 it is tied at the top with Gemini 4 Neon in Google Antigravity, which costs about half as much per task. Add a test-driven development skill so the agent proves its own fixes. Pick OpenAI Codex if you already pay for ChatGPT Plus. Pick GitHub Copilot if your team lives in GitHub.
| Slot | Pick |
|---|---|
| Tool | Claude Code |
| Model | Claude Opus 5.5 |
| Skill | Test-Driven Development skill |
| Persona | The Pragmatic Staff Engineer |
Free, no signup needed.
Security pick
HOL Guard helps check agent skills, MCP servers and plugins before you install them. On supported integrations, it evaluates risky actions locally and can allow, ask or block before they run.
Try HOL GuardAffiliate link. We earn a commission if you buy, at no cost to you.
Use code GUARD25-CA564976 for 25% off your first payment.
The loadout (why each pick)
Tool: Claude Code
Claude Code runs as an agent in your terminal: it reads the repo, edits files and runs commands. It is included with Claude Pro ($20 per month), per Anthropic's pricing page.
Model: Claude Opus 5.5
Opus 5.5 at max effort in Claude Code scored 64.8 percent on Terminal-Bench 4.0, the top result per GenAI Brief as of mid October 2026.
Agent skills
- Test-Driven Development skill: Agents work best when they can check their own work against tests.
- GitHub MCP server: Lets the agent read issues and pull requests directly.
- Elephant-Goldfish Model plugin: For bigger features: the agent writes and stress-tests a design doc before it writes code.
Bot persona: The Pragmatic Staff Engineer
Keeps an autonomous agent conservative.
Comparison table
| Option | Best for | Model(s) | Price | Free plan | Last checked |
|---|---|---|---|---|---|
| Claude Code | Strongest terminal agent | Claude Opus 5.5, Sonnet 5.5 | Included with Claude Pro, $20/mo | No | |
| OpenAI Codex | Value; web, CLI, IDE and iOS | GPT-6.2 Sol, GPT-6.2 Astra | Included with ChatGPT Plus, $20/mo | No | |
| Google Antigravity | Gemini 4 Neon at about half the cost per task | Gemini 4 Neon, Carbon, Hydrogen | Paid Google AI Pro or Ultra | No | |
| Cursor | Agent inside a full editor | Multiple vendors | See vendor pricing | Yes | |
| GitHub Copilot coding agent | Assign issues to an agent in GitHub | Multiple, incl. Gemini 4 Argon, or Copilot Fusion routing | See vendor pricing | Yes | |
| OpenCode | Open source agent that works with any model, local ones included | 75+ providers, plus Copilot or ChatGPT sign-in | Free (MIT); you pay your model provider | Yes | |
| agent-desktop (add-on) | Letting any of these agents use desktop apps | Your coding agent | Free (Apache 2.0) | Yes | |
| TokenEconomizer (add-on) | Cutting token spend in repos you work in often | Your coding agent | Free (Apache 2.0) | Yes | |
| tstack (add-on) | Ready-made skills for shipping, PR babysitting and three-model code review | Claude Code or Codex | Free (MIT) | Yes |
Prices come from the linked vendor or source page and can change. Check the vendor before you buy.
Copy this setup
Paste this persona into your tool's custom instructions or project instructions:
You are an autonomous coding agent. Work in small steps. After each change, run the tests and lint. Never push, deploy or delete files outside the task without asking. When done, summarize what changed, what you ran, and anything left unfinished.- Install Claude Code and sign in with your Claude Pro or Max account.
- Add a CLAUDE.md with the persona and your project's test and lint commands.
- Give the agent one well-scoped issue at a time and review the diff.
Alternatives by situation
- Budget: If you already pay for ChatGPT Plus, Codex with GPT-6.2 Sol costs nothing extra. On API billing, Gemini 4 Neon in Antigravity is the cheapest top-tier result: Artificial Analysis measured $6.86 per coding task, against $12.61 for Opus 5.5 at max and $15.47 for Claude Fable 5.2 at xhigh.
- Agent versus model: The agent matters as much as the model. Artificial Analysis scores each model inside its own lab's agent (Antigravity CLI, Claude Code, Codex), and the top three land within a point: Neon 59, Opus 5.5 58, Fable 5.2 58. Pick the agent whose workflow you like, then the model inside it.
- Before you let it run alone: Give the agent a test command it can run, a short instructions file (CLAUDE.md or AGENTS.md) with how to build and what not to touch, and a branch it is allowed to break. Keep pushes and deploys behind your approval. Most bad agent runs come from a missing test, not a weak model.
- Team: Copilot coding agent fits teams that want agents working from GitHub issues with admin controls.
- Google users: Google AI Pro includes Jules and Google Antigravity, per Trustloud's plan comparison.
- Open source: OpenCode is MIT licensed and works with 75+ providers, including local models through Ollama. On Oct 17, 2026, OpenCode said a breach of its hosted Console affected 1.4% of Console users who had linked external providers, and that it emailed all of them. If you got that email, rotate the provider keys you linked.
- GitLab teams: The GitLab MCP server is generally available as of Oct 15, 2026 (GitLab 19.5) on Free, Premium and Ultimate. Add it to Claude Code with claude mcp add -s user --transport http GitLab https://gitlab.com/api/v4/mcp and the agent can work with merge requests, pipelines and work items under your own GitLab permissions.
- Cheaper model, same agent: MiniMax M3.1 Flash costs $0.15 in and $0.60 out per million tokens, and MiniMax reports 73.7% on DeepSWE v1.1 (a vendor number). ollama launch claude --model minimax-m3.1-flash:cloud starts Claude Code on it through Ollama Cloud. Good for long, routine agent runs; keep Opus 5.5 or Neon for the hard ones.
- Letting Claude Code run on its own: Claude Code v2.1.304 (Oct 19, 2026) adds /auto-mode-setup, a guided setup that reads your project and recent sessions so auto mode knows your environment. It also fixes claude --worktree removing a worktree and its branch without asking at exit, which could lose commits, so update before you lean on worktrees. Team admins can now set Code Review to Quick, Standard or Deep.
- Plan before it codes: Google open sourced its Elephant-Goldfish Model plugin on Oct 22, 2026 (Apache 2.0). One long session interviews you and writes a design doc, then fresh subagents with no context have to explain it back and pick it apart before any code gets written. Install it in Claude Code with claude plugin marketplace add google/elephant-goldfish-model && claude plugin install egm@egm, then run /egm:egm-brainstorm. Codex has its own plugin command in the repo. Skip it for small bug fixes.
- Sandbox the agent: NVIDIA OpenShell (open source, Apache 2.0) runs an agent in a sandbox and lets it reach only the files, commands and hosts your policy allows. Your API keys stay outside the sandbox and are added only to requests going to approved endpoints. It needs Linux, an Apple Silicon Mac or WSL 2, plus Docker, Podman or host virtualization. npx skills add NVIDIA/OpenShell gives your agent skills for writing those policies.
- Fewer permission prompts: GitHub made assisted permissions generally available on Oct 26, 2026 in Copilot CLI, the Copilot app and VS Code. A model checks each request to run a command, touch a file path or open a URL; clearly safe ones go ahead and the rest still ask you. In Copilot CLI run /permissions and choose assisted. Enterprise admins can keep Assisted while blocking Allow All. The same day GitHub added GPT-6.1 Terra to Copilot (Pro and up), billed at provider list price, and OpenAI added it to Codex on Plus, Pro, Enterprise and Edu. OpenAI says GPT-6.1 Sol and GPT-6 Astra are still better for the hardest coding.
- Agents that use websites: Pomerado (launched Oct 25, 2026) turns a website into an MCP tool, so the agent calls a tested integration instead of clicking through pages. Add it to Claude Code with claude mcp add --transport http pomerado https://mcp.pomerado.ai/mcp/keyless to try read-only tools with no account. The free plan covers 100 tool calls a day; Premium is $50 a month. It can store your logins and 2FA, so decide what you are comfortable handing over first.
- Codex on Google Cloud: Codex CLI 0.165.0 (Oct 27, 2026) adds a built-in Google Cloud Vertex AI provider: set model_provider = "gcp" in your Codex config. The same release turns on memory v2 by default for fresh profiles, can import memories from other agents, and lets you change reasoning effort mid-conversation on supported models. Run npm i -g @openai/codex@latest to update.
- Let Copilot pick the model: GitHub Copilot Fusion became generally available on Oct 28, 2026 in VS Code, the Copilot app, Copilot CLI and JetBrains IDEs, on all Copilot plans. Pick Copilot Fusion in the model picker, then Standard, High or Max. It either sends the task to one model, lets a cheaper model draft and escalates if a quality check fails, or has a second model review the draft. GitHub reports Fusion Max at 60 on the Artificial Analysis Coding Agent Index, within two points of Claude Code with Opus 5.5 Max, at about half the API cost per task. You pay each model it uses at its normal rate, with 30% off model costs for a limited time on paid plans. Local model routing is an opt-in experimental preview.
- Agents in GitHub Actions: GitHub Agentic Workflows is generally available on Free, Team and Enterprise as of Oct 28, 2026. You write the job in a Markdown file (triage new issues, explain a failed CI run, update docs) and gh aw compiles it into normal Actions YAML. Agents get read-only permissions by default and run in a sandbox, and proposed changes are scanned before they land. The default Copilot CLI engine needs a Copilot license, or you can bring another coding agent. Run gh aw forecast first to estimate the monthly AI credit spend.
- MCP tasks in the terminal: Claude Code v2.1.319 (Nov 6, 2026) can move an MCP tool call that runs as a task into the background and report the result when it finishes. Set CLAUDE_CODE_DISABLE_MCP_TASK_BACKGROUND if you want the tool call to wait instead. The release also adds permissions.denyInsteadOfPrompting and /claude-api latency-optimize.
- Any model, fewer requests: Factory released Droid 1.0 on Oct 29, 2026. It works with GPT, Claude, Kimi and other models, and by default writes a small sandboxed JavaScript program that makes many tool calls at once, so raw files and logs stay out of the context window. Factory says this cut its cost by 15% on Claude Opus 5.5, and its own Terminal-Bench 4 runs put Droid ahead of Claude Code and Codex on the same models (vendor figures). Install the CLI with curl -fsSL https://app.factory.ai/cli | sh, or use the macOS and Windows desktop app.
- Keep the agent inside your project: Claude Code v2.1.314 (Oct 29, 2026) adds permissions.blockWritesOutsideWorkingDirectories. Set it to true in your settings and Write, Edit and NotebookEdit refuse any path outside your working directories in every permission mode. The same release makes claude -p exit with code 1 when startup fails instead of exiting silently, which matters for scripts and CI.
- Agents that use desktop apps: agent-desktop from Vercel Labs (1.0 on Oct 28, 2026, Apache 2.0) lets your agent read and click native apps on macOS, Windows and Linux through the accessibility tree, with no pixel matching. Install with npm install -g agent-desktop and add the skill with npx skills add https://github.com/vercel-labs/agent-desktop --skill agent-desktop.
- Lower token bills in your main repo: TokenEconomizer from Microsoft Research and UC Berkeley (Apache 2.0) plugs into Claude Code, Codex, the GitHub Copilot CLI and Pi. It remembers repo facts your sessions keep relearning, stops loading tools the repo never uses, and nudges the agent once when a turn is stuck on the same failure. On 277 SWE-Bench tasks the authors measured 18.4% to 30.9% lower mean cost (their paper, not an outside test). Its README lists Claude Code 2.1.300 to 2.1.310 and Codex 0.153.1 to 0.164.0 as tested, so newer versions are unverified.
- An agent that works from GitHub threads: DeepSeek open sourced dsh-superagent on Oct 31, 2026 (MIT). It watches one GitHub repo, opens a work item when an allowed person asks for something in a thread, does the work in its own session and folder, and replies in the thread, for example with a pull request. DeepSeek calls it a research prototype, not an official product, and it runs as a bundle for DeepSeek Harness. The README suggests asking your coding agent to read SETUP.md and walk you through setup.
- Skills for shipping work: tstack is a free set of skills Theo (t3dotgg) uses daily in Claude Code and Codex, MIT licensed. Say full send and the agent takes a change all the way to a merged PR with nobody watching (full stop does the same but leaves the merge to you). babysit-pr watches a PR through CI and review bots and fixes the real findings, and council asks three models from different providers to review the work until they agree. Copy the skills folder into ~/.claude/skills/ or ~/.codex/skills/. It needs the gh CLI signed in and python3, and council needs access to models from three providers.
- Adding AI video to your app: Runway released Runway Dev plugins on Nov 2, 2026 for Claude Code, Codex and Cursor. One install adds the Runway Dev MCP server and seven skills, so the agent can read your Runway projects, model prices, limits and credits and write the integration code. It signs in with OAuth and the plugin itself makes no media; your app still needs RUNWAYML_API_SECRET for generation. In Claude Code: claude plugin marketplace add anthropics/claude-plugins-official, then claude plugin install runway-api@claude-plugins-official, then claude mcp login plugin:runway-api:runway-dev. In Cursor, type /add-plugin runway-api in Agent chat.
What changed
- : Rechecked against the Coding Agent Index v2.1. Opus 5.5 stays; added Google Antigravity with Gemini 4 Neon as the value pick, cost per task figures and a pre-flight checklist. Codex models updated to GPT-6.2. Removed five dated release-note items (Claude Code 2.1.312, 2.1.316, 2.1.318, Codex 0.166.0, the Pierre deal) and the expired Ollama Cloud free window.
- : Added a note on Claude Code v2.1.319: MCP tasks, foreground control, denyInsteadOfPrompting, latency-optimize and a sandbox escape fix. Pick unchanged.
- : Noted Claude Code v2.1.318 (Nov 4, 2026: loginExpiresAt, fork effort, --continue and macOS Bash fixes) and OpenAI's planned Pierre acquisition (Trees/Diffs/Code Storage stay open source; already used in Codex). Pick unchanged.
- : Added tstack, a free skills pack for Claude Code and Codex, as an add-on row and situation, plus a situation on Runway Dev plugins for building Runway video into apps. Claude Code with Opus 5.5 stays the pick.
- : Added TokenEconomizer as a free add-on row and situation, plus a situation on DeepSeek's dsh-superagent research prototype (Oct 31, 2026). Pick unchanged.
- : Added notes on Claude Code v2.1.316 (subagent effort setting, Opus 4.8 fast mode deprecation) and agent-desktop 1.0 for desktop app control, with agent-desktop as an add-on row. Pick unchanged.
- : Added notes on Factory Droid 1.0 (Oct 29, 2026), the Claude Code v2.1.314 setting that blocks writes outside your project, and Codex CLI 0.166.0. Pick unchanged.
- : Added notes on GitHub Copilot Fusion and GitHub Agentic Workflows, both generally available on Oct 28, 2026. Pick unchanged.
- : Added notes on the Codex CLI 0.165.0 Vertex AI provider and memory v2 default, and the Claude Code v2.1.312 fix for large CLAUDE.md files. Pick unchanged.
- : Added a note on GitHub Copilot assisted permissions (generally available Oct 26, 2026) and GPT-6.1 Terra arriving in Copilot and Codex. Pick unchanged.
FAQ
What is the best AI coding agent?
Claude Code with Claude Opus 5.5, rechecked Nov 24, 2026. It shares the top of Artificial Analysis' Coding Agent Index v2.1 with Google Antigravity running Gemini 4 Neon, which costs about half as much per task.
Is Claude Code free?
No. It comes with paid Claude plans, starting with Claude Pro at $20 per month, or you can use it with API billing.
Does ChatGPT Plus include a coding agent?
Yes. ChatGPT Plus includes Codex, which runs on the web, in a CLI, in IDEs and on iOS.
Can a coding agent push to my repo by itself?
Most can if you allow it. We recommend reviewing diffs and keeping pushes and deploys behind your approval.
Sources
- Artificial Analysis: Gemini 4 Neon, Coding Agent Index v2.1 results (Nov 18, 2026)
- OpenAI: Introducing GPT-6.2 Astra and Sol (Nov 17, 2026)
- GenAI Brief: best LLM for coding, October 2026
- Claude plans and pricing
- Trustloud: ChatGPT Plus vs Claude Pro vs Google AI Pro (2026)
- GitHub Changelog: Gemini 4 Argon in GitHub Copilot (Oct 13, 2026)
- GitLab: the GitLab MCP server is generally available (Oct 15, 2026)
- OpenCode
- OpenCode on X: Console security incident (Oct 17, 2026)
- Claude Code v2.1.304 release notes (Oct 19, 2026)
- Ollama: minimax-m3.1-flash (cloud)
- Google Open Source Blog: Elephant-Goldfish Model plugin (Oct 22, 2026)
- GitHub: google/elephant-goldfish-model
- GitHub: NVIDIA/OpenShell
- Pomerado: pricing and setup
- Pomerado docs: connect an MCP client
- GitHub Changelog: Copilot assisted permissions generally available (Oct 26, 2026)
- GitHub Changelog: GPT-6.1 Terra in GitHub Copilot (Oct 26, 2026)
- Codex CLI 0.165.0 release notes (Oct 27, 2026)
- Claude Code v2.1.312 changelog (Oct 27, 2026)
- GitHub Changelog: Route and orchestrate models with GitHub Copilot Fusion (Oct 28, 2026)
- GitHub Changelog: GitHub Agentic Workflows generally available (Oct 28, 2026)
- Factory: Droid 1.0, Building a Frontier Harness (Oct 29, 2026)
- Factory docs: CLI quickstart
- Claude Code v2.1.314 release notes
- Codex CLI 0.166.0 release notes
- Claude Code v2.1.316 release notes (Oct 30, 2026)
- agent-desktop on GitHub (README and install)
- GitHub: microsoft/TokenEconomizer
- GitHub: deepseek-ai/dsh-superagent-prototype
- GitHub: t3dotgg/tstack
- Runway: Runway Dev plugins for coding agents (Nov 2, 2026)
- Runway Dev docs: plugin setup
- Claude Code v2.1.318 release notes (Nov 4, 2026)
- OpenAI: OpenAI to acquire Pierre (Nov 4, 2026)
- Claude Code v2.1.319 release notes (Nov 6, 2026)
- GitHub Agentic Workflows: Matt Pocock Skills Reviewer (Nov 6, 2026)
Disclosure: links marked "affiliate" may earn us a commission, and sponsored slots are always labeled. Neither affects our picks. Read our methodology.
Guides that go deeper
- How to Install Claude Code Skills
- Best Local LLM Setup for Coding: Ollama vs LM Studio
- Best Claude Code Skills for Web Development
- Cursor vs Claude Code vs Codex for Solo Founders
- The Solo Founder AI Stack: Which Tool Does Which Job, Every Day
- Best MCP Servers for Claude Code (Nov 2026)
- Conductor Alternatives: Back Up, Export and Compare
How-to guides for this setup
Related setups
Related skills and personas
Agent skills and bot personas that pair well with an AI coding agent.
RESTful & OpenAPI 3.1 Contract Designer Skill
Build clean, standardized REST APIs with type-safe schemas, idempotent mutations, and pagination.
GitHub MCP Server
Read and search issues, branches, files, and pull requests via GitHub API authentication.
Redis Cache & Pub/Sub MCP Server
Key-value cache inspection, TTL monitoring, and queue diagnostics in Redis.
Light-Science
Research workflow skills that connect literature, experiments, figures, writing, memory and project coordination.
The 10x Vibe Coder & Prototyper
Rapid iteration, instant visual feedback, ship-first attitude with modern frameworks.
Apple Human Interface Craftsman
Pure typography, subtle glass blur, balanced hierarchy, and deep accessibility.