Home / Blog / Coding Agents Compared

Dev Practices · Research

Cursor vs Codex vs Claude Code: Coding Agents for Small Teams

All three now run in your terminal, your editor and somebody's cloud. So the old "pick by surface" advice is dead. Here's what actually separates them in 2026, and how we choose on real projects.

Dev Practices · Research

Key takeaways

  • The "IDE vs CLI vs cloud" split no longer exists. All three ship a terminal, an editor extension, a cloud runner and a chat or pull-request trigger.
  • What still differs is governance: Claude Code puts permission rules in version control, Codex gives you two independent sandbox and approval dials, Cursor bets on human review.
  • The bills are shaped differently. Cursor is seat plus metered usage, Codex rides your ChatGPT plan, Claude Code is bundled into a Claude subscription.
  • Pick Claude Code for unattended and client work, Cursor when review is the bottleneck, Codex if you already pay for ChatGPT. Two tools is the honest answer for most small teams.

Every comparison of these three written before this year opens with the same tidy claim: Cursor is the editor, Claude Code is the terminal, Codex is the cloud. It was true once. Picking a coding agent on that basis today means picking on an expired fact.

The products converged. All three run in a terminal, inside your editor, in somebody else's cloud, and off a mention in chat or on a pull request. What still differs: what the agent may do without asking, and how the bill is shaped.

What each one actually is in mid 2026

Cursor is a fork of VS Code and the most visual of the three. Around that editor it runs a headless CLI sharing your rules, MCP servers and login with the desktop app; Cloud Agents that work in isolated VMs and can be started from the web dashboard, your phone, a Slack or Teams mention, a Linear or Jira issue, or a local session; and Bugbot, which reviews pull requests and can spin up an agent to test and propose a fix.

OpenAI Codex is an umbrella, not a single product. One ChatGPT account drives an open-source CLI that runs locally, an IDE extension for VS Code and its forks (Cursor and Windsurf included), separate integrations for JetBrains IDEs and Xcode, a cloud environment, a GitHub code review bot you summon by mention, the ChatGPT desktop and web apps, and Slack. OpenAI's docs describe keeping quick iterations local and pushing bigger tasks to Codex web. Cloud-only it is not.

Claude Code is one engine behind a lot of front doors: CLI, desktop app, VS Code extension, JetBrains plugin, web, the Claude mobile apps, and Slack. Anthropic's docs are explicit that configuration, project memory and MCP servers are shared across the local surfaces, so a CLAUDE.md written for the terminal governs the editor extension too. The CLI is still the most complete surface: scripting and the Agent SDK are CLI-only.

Difference 1: what it can do without asking

Claude Code treats permissions as a checked-in artifact. There are named modes: default (labeled Manual), plan, acceptEdits, auto, dontAsk and bypassPermissions. On top sit allow, ask and deny rules in settings files you can commit to the repo, hooks that veto a tool call before it runs, and an OS-level sandbox constraining shell commands and child processes. The load-bearing point: the rules are enforced by the harness, not the model, so nothing written in a prompt or a memory file can widen them. For an agency or a regulated shop, that is the entire pitch.

Codex splits the same problem into independent dials. sandbox_mode decides what it may touch: read-only, workspace-write, or danger-full-access. approval_policy decides when it stops to ask: on-request, never, or granular. Network access is gated separately again. Read-only plus on-request is a sensible first week; the fully unattended setting belongs in a container you'd be willing to lose.

Cursor's answer is review rather than restriction. You see the diff before you accept it, and Bugbot sits on the pull request as a second pass. Org-level controls (privacy mode, SSO, audit logs) live on the plan rather than in the repository. If your safety model is "a human reads every diff before merge," Cursor is built around that assumption. If it's "the agent must not be able to reach that directory at all," it isn't.

Never point an agent at production credentials. Give it a scoped service account, a sandbox database, and a branch it can't push to main from.

Difference 2: the shape of the bill

Cursor is a seat plus metered usage. Hobby is free, Pro is $20 a month, and the higher individual tiers buy multiples of the Pro agent limits (Pro+ at 3x, Ultra at 20x). Teams is $40 per user per month, with a premium seat at 5x the standard limits, and Enterprise pools usage across the org. Every plan includes a set amount of model usage and bills overages on demand. Budget for the overage, not the seat.

Codex rides on ChatGPT. Free, Go at $8 a month, Plus at $20, Pro from $100 with 5x or 20x rate limits, Business at $20 per user per month billed annually ($25 monthly), and custom Enterprise pricing. Usage is metered in credits that repackage token consumption against a per-model rate card; when the included amount runs out, you buy more.

Claude Code is bundled. No separate SKU: it comes with Claude Pro ($17 a month annual, $20 monthly), Max (from $100), Team (standard seats $20 per user annual or $25 monthly, premium seats $100 or $125) and Enterprise, which is a seat price plus usage at API rates. Teams that outgrow subscription limits move to Console billing. For the economics underneath all three, how AI pricing really works covers the moving parts.

Surface parity killed the easy answer. What's left is a question about governance and billing, which is less fun and far more useful.

So which one should a small team actually pick?

  • Claude Code if the agent will run unattended, or if you ship client code under an NDA. Committed permission rules and an enforced sandbox are the difference between an agent you can audit and one you must trust.
  • Cursor if your bottleneck is review, not generation. The product is organized around a human judging output fast: inline diffs, one window showing everything running, cloud agents that hand back screenshots and logs, a bot on the PR.
  • Codex if you already pay for ChatGPT company-wide. Marginal cost is near zero, one account follows the developer across CLI, editor, cloud and GitHub, and the JetBrains and Xcode integrations cover editors the others serve less well.

Two is the honest answer for most small teams: one interactive, one unattended, ideally billed to different budgets. Three is one configuration too many. We take the longer view on where this convergence lands next in AI Coding Agents Heading Into 2027.

Run a one-week bake-off, not a quarter-long debate. Rank by outcome and by how long the guardrail setup took.

None of this answers "which one is best." It answers "which one fits this team." Our founder's guide to vibe coding is the longer version of that argument, and our honest comparison of the best AI models covers the model layer underneath all three.

Data privacy considerations

Each vendor offers a business or enterprise tier with stronger data-handling commitments — no training on your prompts, configurable retention, audit logs — but you have to opt in and pay, and defaults are what most teams use. For client work or anything under an NDA, that tier is the floor. Ask before the first sensitive prompt: is my code used to train models on this plan, can I disable retention, and is that in the contract?

Where people go wrong (and when to call a pro)

The expensive mistakes aren't about choosing the "wrong" tool. They're structural, and they show up months in.

Choosing on a comparison table that is a year stale, then discovering the "cloud-only" tool always had a local CLI. Adopting a tool whose permission model does not match how your team merges. Leaving an agent on its most permissive approval setting because the prompts were annoying. Letting cloud agents send proprietary code to a vendor without contractual coverage. And the quiet one: budgeting the seat but never the usage overage. The guardrail decisions compound, and they're cheaper before rollout than after.

The value of working with someone who has done this isn't the prompt library. It's knowing which permission model fits how your team ships. That's the bulk of our consulting work.

Frequently asked questions

Do Cursor, Codex and Claude Code still live on different surfaces?
No. As of mid 2026 all three run in a terminal, inside VS Code and JetBrains editors, in a hosted cloud environment, and off a mention in Slack or on a pull request. Codex adds an Xcode integration; Claude Code adds a desktop app and the Claude mobile apps; Cursor adds a headless CLI and cloud agents you can spawn from Linear or Jira. Surface is no longer a way to tell them apart.
How do their permission and review controls differ?
Claude Code uses named permission modes such as plan, acceptEdits, auto and bypassPermissions, plus allow, ask and deny rules you can commit to the repository, hooks, and an OS-level sandbox for shell commands. Codex splits the job into two independent settings: sandbox_mode, with read-only, workspace-write and danger-full-access, and approval_policy, with on-request, never and granular. Cursor leans on review instead of restriction, with inline diffs, cloud agents that hand back screenshots and logs, and Bugbot on the pull request.
What about data privacy with these tools?
Each vendor offers business plans with enterprise data controls, but defaults differ. If your code is sensitive, check whether prompts and context are used for training, whether retention can be disabled, and whether your jurisdiction's data-handling commitments are in writing. Do this before adoption, not after a leak.
Is it worth paying for more than one?
Often yes, because the bills are shaped differently. Cursor charges a seat plus metered usage with on-demand overages. Codex rides on a ChatGPT plan and meters token credits. Claude Code is bundled into a Claude subscription or metered at API rates through the Console. Running all three is usually one configuration too many for a small team to keep current.

Picking your team's coding agent?

We'll help you wire the right one into the right workflow.

Ghostwire Systems helps small teams pick, deploy, and gate AI coding tools — so the productivity gain shows up without the trade-offs biting.