Coding agent
A tool that reads a codebase, decides what to do, and writes code. Which ones matter, and why the differences change what gets installed.
A coding agent is a tool that reads a codebase, decides what to do about a request, and writes and runs code. Claude Code, Codex, Cursor, Gemini CLI, Cline, Aider and OpenCode are examples.
The defining feature is that it acts. An autocomplete suggests the next line. An agent takes a goal, explores the repository, picks an approach, edits many files, runs commands, and comes back with a result.
Why they matter commercially
Because they buy things.
Given "I need a real database for this, something hosted", an agent will read the project, pick a vendor, install the client library, write a schema and add a connection string. A person often approves that diff without reviewing the choice of vendor.
So for a growing share of developer tool purchases, the buyer is an agent. It reads differently from a person, searches differently, and cares about different things. See how coding agents choose tools.
They are not interchangeable
This is the part that surprises people. Across 19,501 judged sessions in 31 categories:
| Difference | Claude Code | Codex | Cursor | Grok Build CLI | Muse Code |
|---|---|---|---|---|---|
| Ran at least one web search | 31% | 95% | 72% | 90% | 47% |
| Wrote its own implementation | 11% | 6% | 9% | 10% | 14% |
Grok Build CLI ran fewer sessions, 853, against more than 3,400 for each of the others.
And Claude Code, Codex and Cursor did not all name the same category leader in 17 of the 29 categories all three ran. Email: Postmark, Resend, Postmark. Sandboxes: E2B, Vercel Sandbox, E2B. Authentication: WorkOS AuthKit, Auth0, WorkOS AuthKit.
A vendor measuring one agent is seeing part of the market.
The parts of a coding agent
Three things, often confused.
The model. Claude Opus, GPT-5, Grok. The thing that reasons.
The harness. The program around the model: how it reads files, which tools it has, how it plans, what it remembers. See harness.
The environment. The repository, the shell, the network, the permissions.
The harness changes the choice as well as the model. On the same requests, Claude Code and Codex made the same choice about half the time. Both matter, and in our data which agent was running mattered more than most things a vendor controls.
Where they run
| Shape | Examples |
|---|---|
| Command line | Claude Code, Codex, Grok Build CLI, Muse Code, Gemini CLI, Aider, OpenCode |
| Inside an editor | Cursor, Cline, Copilot agent mode |
| Hosted, asynchronous | Cloud agents that open a pull request |
The shape changes what the agent sees first. An editor agent has the project open and indexed. A command line agent starts by listing files. A hosted agent works from a checkout and a task description.
What this means if you sell software
Measure per agent, always. Match the lever to the agent: content reaches the agents that search, and the repository reaches all of them. Then check the numbers again after every update, because these tools change quickly and a result from six months ago is history rather than a fact.
Common questions
What is a coding agent?
A tool that reads a codebase, decides what to do about a request, and writes and runs code. Claude Code, Codex, Cursor, Gemini CLI, Cline, Aider and OpenCode are examples. The defining feature is that it acts rather than only suggests.
How is a coding agent different from an autocomplete?
Autocomplete suggests the next few lines inside a file you are editing. A coding agent takes a goal, explores the repository, decides on an approach, edits many files, runs commands, and reports back.
Do coding agents choose which products to install?
Yes, routinely. Given a one-line request such as needing a hosted database, an agent will pick a vendor, install the client library and write the integration, often without a person comparing options.
Which coding agents behave most differently?
Among the three we measured most, Claude Code and Codex. Claude Code ran at least one web search in 31% of its sessions and Codex in 95%, and Claude Code wrote its own implementation in 11% of its sessions against Codex's 6%. They named a different category leader in 15 of 31 categories.
Where this comes from
Armature ran 19,501 judged sessions with Claude Code, Codex, Cursor, Grok Build CLI and Muse Code inside 110 realistic codebases, and published every run. The numbers on this page come from that work.