Agents
AI Coding Agents: The Directory and How to Choose
Checked 2026-10-31
Loading poll...
An AI coding agent reads your code, edits files and runs commands to finish a task you describe, with you approving the risky steps. The big choices are price model, open or closed source, which models it can use, and where it runs. This guide compares nine, with every fact checked on 31 October 2026.
The nine, side by side
Agent | Vendor | License | Runs in | Cheapest way in |
|---|---|---|---|---|
Anthropic | Proprietary | Terminal, VS Code, JetBrains, desktop, web | Pro, $17 a month annual or $20 monthly | |
Cursor (sold via X Subscription) | Proprietary | Desktop editor, CLI, cloud agents | Free $0; Plus $8 | |
GitHub | Proprietary | Many IDEs, CLI, github.com | Free $0; Pro $10 | |
OpenAI | Apache-2.0 | Terminal, IDE extension, app, cloud | A ChatGPT plan, or an API key | |
Apache-2.0 | Terminal | Code Assist Standard or Enterprise | ||
Proprietary | IDE, CLI, app, SDK | Individuals $0 | ||
AWS | Proprietary | IDE, CLI, web | Free $0 (50 credits); Pro $20 | |
OpenCode team | MIT | Terminal, desktop (beta), IDE extension | Free software; pay your model provider | |
OpenClaw Foundation | MIT | Your own computer, in chat apps | Free software; pay your model provider |
More agents are on their own pages: Windsurf, Aider, Cline, Roo Code, Goose, Devin, Amp and OpenHands. App builders such as Lovable, Bolt and Replit Agent are a different category, covered in vibe coding.
What counts as an agent
A chat assistant answers questions. A completion tool finishes the line you are typing. An agent does a loop: it reads files, decides what to change, edits them, runs a command such as your tests, looks at the result and tries again. The Claude Code docs describe the idea as a tool that "reads your codebase, edits files, runs commands, and integrates with your development tools."
Most products here do more than one of those. GitHub Copilot still gives inline suggestions and also has an agent mode. Cursor is an editor with an agent and cloud agents. The word "agent" in a product name tells you less than the surfaces listed in the table.
OpenClaw is the odd one. It is an assistant that lives in chat apps, and coding is one of the things it can drive. We include it because people searching for open-source agents land there.
Choose by what matters to you
Price
The cheapest paid doors are not the same size.
Agent | Entry paid plan | What it buys |
|---|---|---|
GitHub Copilot | Pro, $10 a month | $15 of AI Credits (1 credit is $0.01), unlimited inline suggestions |
Cursor | Plus, $8 a month; Premium, $30 | Plus covers Cursor's own models only; Premium adds cloud agents and third-party models at API price |
Kiro | Pro, $20 a month | 1,000 credits; extra credits $0.04 each |
Claude Code | Pro, $17 annual or $20 monthly | Claude Code included, with five-hour and weekly usage limits |
Codex CLI | Part of a ChatGPT plan | Message estimates per five hours, by model |
Antigravity | Individuals, $0 | Weekly rate limits; Google AI Pro and Ultra add more |
Look at what the number measures, not the number. Copilot and Kiro sell credits. Claude and Codex sell usage windows. Cursor sells a weekly pool. Antigravity sells rate limits. They cannot be compared dollar for dollar, which is why we keep a pricing page for each: Claude pricing, Copilot pricing, Kiro pricing.
License and source
Open source | Closed |
|---|---|
Codex CLI (Apache-2.0), Gemini CLI (Apache-2.0), OpenCode (MIT), OpenClaw (MIT) | Claude Code, Cursor, GitHub Copilot, Kiro, Antigravity |
The open ones let you read the code, pin versions and fork. The closed ones are often more polished, and in two cases (Claude Code and Antigravity) the public repository or download is not the source. Claude Code has a public GitHub repo whose license says all rights are reserved.
Open source matters most when you work in a regulated company, need to audit what runs, or want to host the whole stack. It matters least if you just want the best result this week. See open source AI agents.
Models
Agent | Model choice |
|---|---|
Claude Code | Claude only, through Anthropic or cloud providers |
Codex CLI | OpenAI models |
Gemini CLI | Gemini models; not tuned for Gemini 4 and later |
Antigravity | Gemini, plus Claude and GPT-OSS on some plans |
GitHub Copilot | Anthropic, OpenAI, Google, xAI, Microsoft and Moonshot models |
Cursor | Cursor's own models, plus Anthropic, OpenAI, Google and others at API price |
Kiro | Auto, Claude, GPT, Kimi, DeepSeek, MiniMax, GLM and Qwen, each with a credit multiplier |
OpenCode | 75+ providers through Models.dev, and local models |
OpenClaw | Hosted and local providers, swappable |
If you want to change model vendors freely, that narrows the list to Copilot, Cursor, Kiro, OpenCode and OpenClaw. If you are loyal to one lab, its own agent is the natural first stop. For a deeper model comparison see compare models.
Where it runs
- Terminal first: Claude Code, Codex CLI, Gemini CLI, OpenCode, Cursor's
agentand Kiro'skiro-cli. - Editor first: Cursor, GitHub Copilot, Antigravity IDE, Kiro IDE.
- Cloud agents: Cursor and Copilot both run work in the cloud; Claude Code has web sessions and scheduled cloud tasks; Codex has Codex Web.
- Chat apps: OpenClaw.
MCP, skills and instruction files
MCP is the common language for add-ons. Every agent on this page supports it in some form, with different commands.
Agent | Add an MCP server by | Project instructions |
|---|---|---|
Claude Code |
|
|
Codex CLI |
|
|
Gemini CLI |
|
|
Antigravity |
|
|
Cursor |
|
|
GitHub Copilot | Allow or deny tools per server in the CLI | Custom instructions |
Kiro | MCP docs; steering files | Steering, |
OpenCode |
|
|
AGENTS.md is the closest thing to a shared standard: several of these read it. If you write one good file, you can move between agents with little work. Start your add-on search with the MCP server list and the best MCP servers, then try Playwright MCP, GitHub MCP and Context7.
Privacy and data
Every hosted agent sends your prompts and the code it reads to a model provider. What differs is retention and training terms, which depend on the plan.
Agent | What the vendor says |
|---|---|
Claude Code | Consumer plans train only if you allow it (5 years retention if allowed, 30 days if not); commercial plans are not trained on by default, 30-day retention |
Cursor | Privacy Mode: "we will not train on your data" when enabled |
OpenCode | Does not store your code or context, except on its free models; paid Zen models follow zero retention |
OpenClaw | State on your hardware; prompts go to the providers you set |
Others | Not stated on the pages we read; see each agent page for items |
A rule that fits all of them: do not paste secrets, and read the data terms for your exact plan before using work code.
The price ladder at three usage levels
Entry prices hide where each plan ends. These are the monthly plan ladders from the pricing pages our pricing writers checked on 31 October 2026. Read them as steps, not as equivalents, because each vendor measures usage differently.
Agent | Light use | Daily use | Heavy, all-day agent runs |
|---|---|---|---|
GitHub Copilot | Free, or Pro at $10 | Pro+ at $39 | Max at $100 |
Cursor | Free, or Plus at $8 | Premium at $30 | Super at $100 or Ultra at $200 |
Claude Code | Pro at $20 monthly ($17 annual) | Max at $100 | Ultra at $200 |
Codex CLI | Go at $8, or Plus at $20 | Pro from $100 | Higher Pro tiers, up to $500 |
Kiro | Free, 50 credits | Pro at $20 or Pro+ at $40 | Pro Max at $100 or Power at $200 |
Antigravity | Individuals at $0 | Google AI Pro | Google AI Ultra |
OpenCode and OpenClaw | Free software plus model spend | Same | Same |
The pattern is that the first rung is cheap and the third is about ten times the second to last. Heavy agent use, where the tool runs for hours on large tasks, is what pushes people up the ladder. If you only ask for small edits and explanations, the first or second rung is usually enough. If you leave an agent running on multi-file work all day, price the top rung before you start, or you will hit a limit mid-task.
Two traps are worth naming. Credit plans such as Copilot and Kiro charge more for heavier models, so the same credits last a very different time depending on the model you pick. Usage-window plans such as Claude and Codex reset on a schedule, so a limit hit on Tuesday afternoon can mean waiting. Neither is better. Choose the shape that matches how you work.
What to put in AGENTS.md
AGENTS.md is the one file most of these agents read, so it is where a shared setup starts. Keep it short and put only what the agent cannot work out from the code. A starting point:
# Commands
- Install: npm install
- Test: npm test (run before saying a task is done)
- Lint: npm run lint
# Conventions
- TypeScript strict mode; no `any`
- Components in src/components, one per file
- Never edit files under generated/
# Rules
- Ask before adding a dependency
- Do not touch the database migrations folderThree habits keep this file useful. Write commands exactly as you would type them, because the agent will run them. Add a line when an agent makes the same mistake twice, and remove lines that no longer matter. And keep one copy: if Claude Code needs CLAUDE.md, point it at the shared file instead of duplicating the content, so the two never drift. The table above shows which agents also want their own file, such as GEMINI.md or Cursor rules.
Moving from one agent to another
Switching is cheaper than it looks, because the valuable parts are mostly portable.
Asset | Portable? | What to do |
|---|---|---|
Project instructions | Mostly | Keep one |
MCP servers | Yes, with new config | Re-add each server with the new agent's command or file; the server itself does not change |
Skills and slash commands | Partly | Formats differ by vendor, so expect to rewrite them |
Hooks | No | Each agent has its own hook system, if any |
Chat history | No | Treat it as disposable and keep decisions in the repo |
Billing and limits | No | Start the new plan before cancelling the old one, and compare for a week |
A sensible way to trial a second agent is to run both on the same branch for a week, with one change at a time and a human reviewing every diff. Cancel the loser when you are sure, not on the first bad afternoon. Keep your decisions in version control, in AGENTS.md, a short design note or the commit messages, and the next switch costs almost nothing.
Rolling an agent out to a team
An agent on one laptop is a personal tool. On a team, it needs rules.
- Pick a pilot group. Three or four developers on one service for two weeks, with the same ticket types, so you can compare.
- Write the permissions down. Decide which commands may run without asking, which may not, and which files are off limits. Every agent here has a permission model, and the defaults are rarely right for a production repository.
- Decide where code may go. Name the plans and vendors that your company's data rules allow, and ban pasting secrets. A personal consumer account is not the same as a business plan, and the data terms differ.
- Keep review human. Agent-written code goes through the same pull request review as any other code, and the author owns it.
- Measure something real. Time to merge, review rework and escaped bugs say more than how people feel. Track them before and after.
- Set a budget owner. Usage-based plans can surprise you, so someone should watch spend monthly.
Read AI coding agent pricing compared when you reach step 6, and the individual agent pages for each vendor's security and privacy documents.
Terms you will meet
Term | Plain meaning |
|---|---|
Agent mode | The editor feature where the assistant plans, edits files and runs commands instead of only answering |
Cloud agent | An agent that runs on the vendor's machines in a virtual environment, so your laptop can be off |
MCP | Model Context Protocol, the open standard for connecting an agent to outside tools and data |
Skill | A packaged set of instructions, sometimes with scripts, that an agent loads when a task needs it |
Hook | A script that runs before or after an agent action, such as formatting after each edit |
Subagent | A second agent that a lead agent starts for part of a task |
Credit | A unit of usage that a plan includes; heavier models consume more of it |
Context window | How much text the model can consider at once, often counted in tokens |
Harness | The program around the model that supplies tools, memory and rules |
The last row explains much of this page. Two agents can use the same model and still behave differently, because the harness decides which tools the model sees and how it recovers from errors. That is why we compare the agents, not only the models.
Which one should you try first
Your situation | Start with |
|---|---|
I live in VS Code or a JetBrains IDE and want completions plus an agent | |
I want an editor built around the agent | |
I want a terminal agent with deep scripting, hooks and subagents | |
I already pay for ChatGPT | |
I want to pay nothing to start | Antigravity, then free AI agents |
I want requirements and a design before code | |
I want open source and to pick any model | |
I want an assistant in my chat apps | |
I use Gemini through a company Google Cloud licence |
Head-to-head pages
- Cursor vs Claude Code
- GitHub Copilot vs Claude Code
- Claude Code vs Codex
- Claude Code vs OpenCode
- Gemini CLI vs Claude Code
- Antigravity vs Claude Code
- Kiro vs Claude Code
- OpenClaw vs Claude Code
- Cursor alternatives
How to test an agent fairly
A comparison is only useful if the test is yours. A simple method:
- Pick one real task from your backlog, small enough to finish in an hour.
- Write it as a ticket with acceptance criteria, and give every agent the same text.
- Use the same model where you can. Many agents let you choose Claude or GPT, and holding the model fixed isolates the agent.
- Compare the diff, not the chat. Count how many corrections you gave.
- Record cost: credits or usage windows consumed.
- Repeat on a second, different kind of task, such as a bug fix and a refactor.
Our pages are built from vendor documentation and pricing, not from this kind of test, so treat them as a way to shortlist two or three, then run the test yourself.
Our take
This is an editorial reading of vendor pages, not a benchmark.
The biggest shift in the last year is convergence. Terminal agents grew IDE extensions, editors grew CLIs and cloud agents, and almost everyone reads AGENTS.md and speaks MCP. That lowers the cost of picking wrong, because moving is cheap. It also means the differences that last are the dull ones: how usage is billed, which models you can reach, what the vendor does with your data, and whether you can read the code.
So choose on those four, shortlist two, and run your own one-hour test. If you want a single default, match the agent to the subscription you already have: Claude plan, ChatGPT plan, GitHub seat or a Google licence. If you have none, begin with a free tier.
Checklist
- Decide your must-haves: open source, model choice, price model, privacy
- Shortlist two agents from the tables above
- Write one shared
AGENTS.mdfor your repository - Add one or two MCP servers, not a dozen
- Run the same task in both and compare the diffs
- Re-check prices on the vendor pages the day you subscribe
Questions
What is an AI coding agent?
A tool that takes a request in plain language, reads your codebase, edits files and runs commands to carry it out, usually with your approval at each risky step.
Which AI coding agents are free?
Antigravity has a $0 individual plan, Kiro Free gives 50 credits, GitHub Copilot Free has limited chat and agent use, and OpenCode is free software where you pay the model provider. Claude Code needs a paid plan.
Which are open source?
Codex CLI (Apache-2.0), Gemini CLI (Apache-2.0), OpenCode (MIT) and OpenClaw (MIT). Claude Code, Cursor, Copilot, Kiro and Antigravity are proprietary.
Can I use more than one?
Yes. Most read an AGENTS.md file and speak MCP, so moving between them is mostly a matter of copying instructions and re-adding servers.
Loading poll...