AI coding agents: writing, reviewing and shipping code
How AI coding agents take a task from an issue to a merged change: sandboxes, tests and review, what seats and usage cost, who holds the power, the evidence on speed and security, and who pays when an agent breaks something.
Last updated October 2026
01
Overview
5 min read · Chapter 1 of 10
Picture a company that sells invoicing and payments software to other businesses, with 200 engineers. A developer there hands a task to a coding agent: upgrade the PDF library and fix whatever breaks. The agent might sit in the developer's editor, run in a terminal or work in the cloud from a GitHub issue. Wherever it runs, it sends the task and the code it reads to a model from a lab such as Anthropic, OpenAI or Google, and pays in tokens. It edits the company's repo, where the code, the tests and the rules files written for agents live, and opens a pull request. Tests and reviewers then decide what ships, and that's where the work now piles up. After the deploy, errors and traces from production can flow back to the agent as its next task.
Writing code got cheap quickly: in July 2026 Microsoft said one in three pull requests on GitHub involves an agent. Checking that code hasn't got cheaper at the same rate.
If you only remember a few things:
- Review: expect review and CI to become the bottleneck once agents write more of the code, and plan reviewer time for it. In a large study of open-source repos, about 65% of agent pull requests merged against about 85% of people's. See Do coding agents make teams faster: what's real.
- Environment: improve the agent's setup before you upgrade the model. Agents do well when they can build the code, run fast tests you trust and touch only what the task needs, so put your effort there; instruction files on their own didn't help in one study. Don't choose a tool on public benchmark scores either, as What benchmarks can and can't tell you explains.
- Pricing: budget for AI coding as metered usage and set limits per team, because a seat covers only a little heavy agent work. A $19 seat buys roughly one and a half to three and a half hours of it on a top model, and past that you pay for tokens. See How the money moves.
- Power: if you buy a coding tool from an app company, check that it can run on more than one lab's models. The labs compete with those companies for the same buyers and have cut off model supply to rival tools before. See Who holds the power.
- Risk: review AI-written code for security as closely as anyone's, and limit what agents can reach in CI and on laptops. In one yearly test, AI-written code passed security checks just over half the time, no better than the year before. If an agent does damage, the cost mostly falls on you, as What mistakes cost shows.
How agents run inside production apps (orchestration, tool security, evals) is in AI agents: orchestration platforms, and I don't repeat it here. Production feedback, including Dynatrace's Bluebox, is in Observability, code and supply-chain scanning in Cloud security (CNAPP), and agents that talk on the phone in Voice AI. How a leadership team rolls these tools out and measures them is in Becoming AI native.
The main players
These are the companies behind the diagram's parties, layer by layer, in no particular order.
Model labs
- What they do
- Train the models agents call, sell tokens and subscriptions, and sell their own coding agents
- Main players
- Anthropic, OpenAI, Google, SpaceXAI (formerly xAI), Mistral
- What they control
- Model quality, token prices, rate limits, retirement dates and who gets supplied
Coding agents and agentic editors
- What they do
- Autocomplete, chat and agents in the editor or terminal, on the developer's machine
- Main players
- GitHub Copilot (Microsoft), Cursor (SpaceX), Claude Code (Anthropic), Codex (OpenAI), Antigravity (Google), Kiro (AWS)
- What they control
- The developer's daily surface, the harness around the model and which model gets each request
Background and cloud agents
- What they do
- Take a task from an issue, a chat or a schedule, work in a remote sandbox and open a pull request
- Main players
- Cognition (Devin), GitHub (Copilot cloud agent), OpenAI (Codex cloud), Google (Jules), Cursor (cloud agents), Anthropic (Claude Code on the web)
- What they control
- The sandbox, its network and secrets defaults, and the session log
App builders
- What they do
- Turn a prompt into a running app with a database and hosting, for people who don't write code
- Main players
- Lovable, Replit, Bolt (StackBlitz)
- What they control
- The whole path from prompt to production, database included
Repo hosts and CI
- What they do
- Hold the code, run builds and tests, enforce approvals
- Main players
- GitHub (Microsoft), GitLab, Origin (Cursor, in beta)
- What they control
- The pull request, branch protection, required checks and who can merge
AI code review and code security
- What they do
- Review pull requests with AI, scan code and dependencies, block risky packages
- Main players
- CodeRabbit, Graphite (Cursor), Snyk, Semgrep, Socket, Aikido
- What they control
- Comments and checks on each pull request, and the history of findings auditors ask for
How they make money:
Layer: Model labs
Charges for: per million tokens
Ballpark (list): About $0.40-20, depending on the model
Layer: Coding agents, editors and cloud agents
Charges for: seat plus usage
Ballpark (list): About $19-40 a seat a month, plus usage
Layer: App builders
Charges for: credits
Ballpark (list): About $20-100 a month, with some credits included
Layer: Repo hosts and CI
Charges for: seats and CI minutes
Ballpark (list): Security add-ons at about $19-30 per committer a month
Layer: AI code review and code security
Charges for: per pull request author
Ballpark (list): About $24-72 a month (CodeRabbit)
So almost every layer bills in the same two units, seats and tokens, and the token side is where the money grows. Cursor reportedly doubled its annualized revenue from $2 billion to $4 billion between February and June 2026, and SpaceX bought it the same year. The buying runs across the layers: Cursor bought Graphite for review and is building its own git host, OpenAI agreed to buy Ona for cloud environments, Anthropic bought Bun, the JavaScript runtime, and Google paid $2.4 billion in 2025 to license Windsurf's technology and hire its leaders.
As of October 2026. Most revenue and valuation figures here are self-reported or come from press coverage of funding rounds, so treat the list as a map to check before relying on it.
Back to the invoicing company. After a deploy, Sentry's Seer agent traces a spike of errors in the PDF export and hands the fix to Copilot's cloud agent, which calls a model from Anthropic or OpenAI, builds the repo in a sandbox and runs the tests until they pass. On its pull request CodeRabbit comments, Snyk scans the new dependency, GitHub Actions runs CI, and a senior engineer who didn't ask for the change approves. After the next deploy, Bluebox checks the traces. One small fix touches six or seven companies, each with its own meter, and only the engineer's approval is a hard gate (the vendors in the story are illustrative).