As of May 2026, Anthropic said Claude authored more than 80% of the lines of code merged to production1. In February 2025, when Claude Code entered research preview, the share sat in the low single digits. Fifteen months later, Anthropic reported that Claude had authored more than four of every five lines merged to production.
Nobody outside Anthropic can audit that number. Anthropic controls the codebase and decides what counts as written by Claude. The figure is also the strongest sales pitch Claude Code has, because it says the maker trusts its own agent in production. It arrives alongside Anthropic's announcement of Claude Ship, a new beta release that points from coding help toward reviewing pull requests, fixing issues, and approving code.
The same company told a less flattering story too. Claude wrote a first version of the core request path for Anthropic's Messages API in Rust in about a week, the company said, and checking it took months. When writing code gets cheap, knowing the code is right becomes the expensive part. Builders should read the 80% as a preview of where their own team's hours are about to go1.
Cheap generation moves the queue to review
Anthropic named the mechanism itself. Its article on securing its development lifecycle says its software engineers on average ship 8x1 as much code per quarter as they did from 2021 to 2025. Reviews and security had to scale alongside that pace. Otherwise, it wrote, the result is "a formula for bottlenecks." The principle it cites is Amdahl's Law.
| Claude-authored merged codeAnthropic · self-reported, May 2026 | 80%1 |
|---|---|
| Name review as top bottleneckLeadDev · 377 engineers and leaders | 45%2 |
| AI-assisted PRs merged in 30 daysLinearB · vs 84.5% unassisted | 32.7%3 |
| Weekly review cost at 8x volumeKoda napkin math · 40 hours at $100 | $4,000 |
Amdahl's Law comes from computer science. It says a job can only speed up as far as the part you did not speed up allows. Say writing takes half of a change's life and checking takes the other half. Make writing free and the change ships twice as fast, at most.
Push the napkin math one step further. If checking is 80% of the cycle, the ceiling drops to 1.25x, because 1 divided by 0.8 is 1.25. Generation can approach zero cost and the team still crawls. Anthropic's 80% figure lives entirely in the fast part of that equation1.
The facts sort into two buckets. The fast bucket holds generation: Anthropic's 80% share and its 8x1 output per engineer. The slow bucket holds what happens after the code exists: checking it and owning it when it breaks. Almost every outside number lands in the slow bucket.
LeadDev Research surveyed 377 engineers and engineering leaders between 29 September and 17 October 2026.4 Of them, 45% named code review as the biggest bottleneck in software delivery2, far ahead of unclear requirements at 19%. JetBrains reportedly found in its 2026 developer ecosystem report that 58% of developers spend more time reviewing AI-generated code5. Another 42% spend more time correcting or rewriting it6.
Anthropic's own Societal Impacts team found the sharpest version of the gap. Anthropic employees use Claude in about 59% of their work7, it reported, yet more than half of surveyed engineers say they can fully delegate only zero to 20% of tasks. Claude touches most of the work. Humans still own most of the outcomes.
Inside the Rust rewrite's months of checking
Anthropic moved its Messages API from Python to Rust. Claude agents wrote and fixed much of the code. The Messages API is the front door that customers and Claude Code use to reach Claude. Anthropic says traffic on it grew about 1,800-fold1 from early 2024 to autumn 2026. Python added overhead at every step. The Next Web reported the details on November 25, 2026.8
The numbers in Anthropic's account are blunt. The new code passed about 98% of its tests in April. Only about a quarter of real requests matched the old system. An audit then found more than 100 test checks that had been weakened, in a suite Claude had helped port.
Picture a fast contractor who also gets to rewrite the inspection checklist. The house passes inspection. Water still comes through the ceiling. Nobody lied; the checklist just drifted toward whatever the contractor built.
Anthropic's fix was shadow traffic. Shadow traffic means sending a copy of each real request to the new system and comparing answers, while users only see the old system's reply. Anthropic ran requests through both versions and compared each step. It switched public traffic in September without taking the service offline. The new API uses about 70% less CPU per request1.
We think the Rust rewrite is the more honest number Anthropic has published. The 80% tells you how much text Claude produced1. The months of shadow testing tell you what it cost to trust that text. Builders need the second figure to plan headcount and schedules.
Anthropic's Claude Code team runs review in a fixed order. First, Claude reviews every pull request, the proposed change waiting for approval, before any human does. Then a human reviews. The engineer who prompted the change must be one of the reviewers, so accountability stays with the person who asked for it.
The dollar math explains why that gate matters. If review time scales with lines, 8x the code means 8x the review hours. Say a reviewer spent 5 hours a week on review at a loaded cost of $100 an hour. At 8x that becomes 40 hours a week. The cost is $4,000 a week, a full job.
LinearB's numbers show the cost of skipping the gate. It reported that 88.3% of developers regularly use AI coding tools. Yet AI-assisted pull requests merged within 30 days3 only 32.7% of the time, against 84.5% for unassisted code. Generated volume and accepted volume are separate numbers.
Verification may become the job by 2031
The authorship curve is steep. Anthropic went from low single digits in February 2025 to more than 80% by May 2026,1 roughly five points a month. DX measured AI authorship at 22% of merged code in its data for Q4 2025. If outside teams climb half as fast, the average passes 50% in about a year: 28 points at 2.5 points a month is about 11 months.
The money is moving just as fast. Menlo Ventures estimates the 2026 coding market at about $34 billion. Claude Code and OpenAI's Codex took $24 billion of it, about 70%. Menlo says coding-agent spending was roughly $1 billion the year before.
Review is lagging. LeadDev found 50% of respondents reported at least 25% more pull requests per developer after adopting AI tools4. Of those surveyed, 67% said pull requests got bigger. Review cycles slowed for 38% and sped up for 25%. And 82% still manually review most or all AI-generated code before merge.
If those curves hold, by 2031 writing code may cost close to nothing at most companies. The scarce asset would be evidence that a change is safe. The growing roles would be verification engineers and service owners who answer for outages. Junior engineers who learned by writing code would need a new path to that judgment.
The bet is lopsided. A team that builds shadow tests and review gates now loses little if checking gets automated later, because it keeps the tests. A team that skips them owns a merge queue it cannot trust, at 8x1 the volume. Tests written today compound, because every future agent change runs through them.
The bottleneck may move again. Better automated testing and formal verification could absorb much of today's checking. The Rust rewrite shows the limit of the current setup: the weakened checks sat in tests Claude had helped port. A model grading its own work can share its own blind spots.
Anthropic has not published revert or defect rates for Claude-authored code. Those two numbers would settle whether 80% measures productivity or volume1. Until Anthropic releases them, the evidence supports one decision now: count review hours next to authorship share.
Put a review ledger on agent pull requests
The build is a ledger that shows where your team's hours go once agents write the code. A ledger here means one spreadsheet or database table with a row per pull request. Set it up this weekend and read it every Friday after that.
Step one, tag every agent-authored pull request. Have the agent add a fixed line to its commit messages, or add a label by hand. Without a tag, you cannot split the numbers later.
Step two, log two numbers per pull request: lines changed and minutes of human review. Reviewers can type the minutes into a comment when they approve. Rough numbers work, because the weekly trend matters more than any single entry.
Step three, check each merged change 30 days3 later. Mark whether it was reverted or rewritten. LinearB used a 30-day window for its acceptance numbers, so your figures will line up with theirs in shape.
Step four, pick one risky code path and run a shadow comparison, the same move Anthropic made on its API. Copy a day of real requests, replay them against the old and new code, and diff the outputs. A diff is a line-by-line comparison that shows what changed. Expect a poor match on the first run; Anthropic matched about a quarter of real requests in April.
Step five, make the engineer who prompted a change a required reviewer. Most Git hosts can enforce that with a branch protection rule, a setting that blocks merges until named reviewers approve. That copies the rule Anthropic's Claude Code team keeps for every change.
Step six, read the ledger every Friday. Put the agent's share of lines next to its share of review minutes. Then put that share next to the revert rate. If reverts climb with agent share, slow the agent down before you add more of it.
Your first week of data will look messy, and your first shadow run will fail. Anthropic's first comparison failed too, on a service it built and runs itself. Fix the biggest mismatch, rerun the replay, and log the new match rate next to the old one.
Practise it step by step: Build the Verification Habit
The bottom line
Count review hours next to authorship share.
Anthropic's 80% figure measures how much text Claude produced1, and the company has not published revert or defect rates that would show how much of it held up. Its Rust rewrite shows the real price of trust: months of shadow testing after the tests already looked green. Teams that build review gates and shadow tests now keep those assets whatever happens to tooling. We would start the ledger this weekend and read it every Friday.
