Claude Code vs Codex, Droid and Cursor: how I split the work

As of 14 July 2026 I work with four coding agents: Claude, Codex, Droid and Cursor. I choose each for a different kind of job and keep their project rules in one canonical source, loaded through each tool’s supported mechanism.

A compass, a magnifying glass, a leather notebook and a brass ruler laid out on a green marble bench
Illustration: a compass, a magnifying glass, a leather notebook and a brass ruler laid out on a green marble bench.

The frontier coding agents are now close on raw capability, but they differ in temperament. They fail differently, wait differently and cost differently. I run several so that each job goes to the agent that handles it best, and a second agent gives me another perspective to check.

The lineup

Claude
The daily driver · Anthropic
Codex
The executor · OpenAI
Droid
The operator · Factory
Cursor
The editor · Anysphere

Claude

Claude is the lead. Claude Code runs in the terminal and does most of the work: multi-file refactors, audits, research writing, incident forensics, and jobs where judgement per token beats raw speed. I trust it with risky, irreversible changes because it reasons about blast radius and asks before doing anything it cannot undo.

Best at: judgement, long-horizon multi-step work, "think before you touch it."

Codex

Codex is fast, literal and tireless on well-specified mechanical work. Once the decision is made, it executes: apply this change across these files, wire up this endpoint, grind through this refactor. I use a lower-effort profile for suitable mechanical jobs, and I keep a second config that points it at a local model for offline or private runs.

Best at: specified execution, throughput, "I've decided, so do it."

Droid

Factory's agent leans operational. It holds background processes, scheduled runs, its own skills and specs, and an MCP tool layer. I reach for Droid when the job sounds more like "run this thing, on a schedule, with these tools wired in" than "write this code". Of the four, it is the one shaped most like infrastructure.

Best at: background/scheduled tasks, tool-heavy operational workflows, standing automations.

Cursor

Cursor is for hands-on-keyboard editing. I open its IDE when I want to see the code and steer inline, and its CLI agent handles quick one-shots. It works best in tight, interactive loops: read a file, change a function, watch the diff, iterate. Project rules live in the repository, so every session starts knowing the house style.

Best at: interactive editing, tight human-in-the-loop iteration, "let me watch it happen."

Which one gets the job

The routing is flexible, but my instincts are consistent. I route each job by consequence and temperament rather than by task type:

The kind of work, the agent I reach for and the reason.
When the work is…Reach forBecause
Ambiguous / high-stakesClaudeweighs blast radius, asks before irreversible moves
Decided / mechanicalCodexfast, literal execution without re-litigating
Scheduled / tool-heavyDroidbuilt for background runs and standing automations
Interactive / visualCursorsee-the-diff, steer-inline editing loop
Private / offlineCodex + local modellocal inference; verify tools, logs, sync and fallbacks separately, and include operating costs
A second opiniona different oneagents fail differently, so divergence catches mistakes

Claude Code vs Codex: how I choose

For me, Claude Code vs Codex comes down to whether the decision has already been made. If the work is ambiguous or hard to undo, it goes to Claude Code. If I already know the change I want, Codex carries it out. I use them together rather than picking a winner: one plans or reviews, the other executes, and a disagreement between them shows me where to look closer.

This is routing from my own use as of 14 July 2026. It is not a benchmark, and I have left out pricing and usage limits because they change too often to keep here. Check each vendor’s current plan before you choose. Claude and Codex pricing in AED and USD compares the current plans against API rates and is re-checked when prices change.

One rules file for all four agents

I keep one canonical set of project rules in the repository. Each tool must load those rules through its supported instruction mechanism, and I verify that it did. The AGENTS.md starter contains the current setup and a small test for whether the file helps.

Keep repository facts in the repository’s AGENTS.md. Keep truly global preferences separate. Copying project rules into global instruction files can overwrite existing preferences and apply one project’s assumptions in unrelated directories.

For tools that read AGENTS.md natively, use the repository file directly. Claude Code’s current Project instructions setting can use its AGENTS.md fallback or load both formats; an explicit repository CLAUDE.md import is another option. Verify the loaded files with /memory and avoid duplicating the same rules through two paths. Imports still consume context.

One owner per fact. Use native loading or a supported import where possible. If a tool requires a generated copy, keep that copy project-scoped, regenerate it from the canonical file and check that it has not drifted. Do not overwrite an existing instruction file without merging its relevant rules.

See Claude Code’s instruction-loading documentation. These are context instructions; enforce important action boundaries through tool permissions as well.

The commands I use

These forms open interactive terminal sessions with an initial prompt. For a scripted Codex run, use the documented codex exec mode and the permissions appropriate to the task:

Interactive sessions with an initial prompt
# hand a decided task straight to the executor
codex "apply the rename from foo() to renderFoo() across src/, keep tests green"

# hand an ambiguous, high-stakes task to the one that pauses to think
claude "the deploy is serving a stale asset to some users — find why, propose a fix, don't ship yet"
A good first prompt for a fresh session on an unfamiliar repo
Read the house-rules file and the project README, then summarise the
current state and the risky areas BEFORE changing any files.

I send the orientation prompt first because a fresh agent that reads before acting makes far fewer confident but wrong changes. Those are the moves that make people distrust AI in the first place.

What I learned from running four agents

  • Behaviour decides the choice. All four are strong now. I choose between them on how they act: whether they pause on ambiguity, run in the background or let me watch. A benchmark score does not settle it.
  • Independent review gives me another chance to find a mistake. A separate brief and context can expose different assumptions, but two models can share the same blind spot. I keep the tests and source checks alongside their reviews.
  • Match the agent to the risk. A one-line change to a checkout path is small but high-stakes, so I route it by its consequences.
  • Shared context beats a smarter model. A slightly weaker agent that knows the rules cold does better than a stronger one improvising without them. I work on the context file before I argue about which model is smartest.
  • Voice makes four agents manageable. Typing to four agents would be exhausting. Dictating to them is what makes running all four practical.

Suhail Mohebi · published 14 July 2026 · the cover is a generated illustration

Use this

AGENTS.md starterMarkdown · v1.2 · 14 Nov 2026 · 9 KB
Download the template (.md) ↓

← Previous: How to scope an AI agent task

Want this inside your team’s workflow? The Verified AI Operations Sprint tests one workflow in ten working days. See the sprint →

The lineup
  1. The lineup
  2. Which one gets the job
  3. Claude Code vs Codex: how I choose
  4. One rules file for all four agents
  5. The commands I use
  6. What I learned from running four agents