How Anthropic Merges 30,000 Code Changes a Day - Manish Kapur, Sonar & Addy Osmani, Anthropic
Talk notes · AI Engineer ·A close reading of the source at ai.engineer (also youtube.com): what it says, what it means for someone who builds with AI, and which claims are the publisher’s own.
Software FactoryAgent Sandboxing & PermissionsCoding AgentsAI AgentsAnthropic
Problem
This is a conversation, not a solo talk. Manish Kapur (leads product and solution developer relations at Sonar) interviews Addy Osmani (Anthropic, responsible for the Claude Code developer experience; formerly about 14 years at Google). Kapur's opening poll: nearly everyone's coding agent had opened a pull request in the last week, but only a few people had reviewed every merged line (0:01).
Kapur's numbers for the gap, from outside sources and Sonar's own State of Code survey (over 1,000 developers; the full report was not yet out):
- CircleCI, as cited by Kapur: across 28 million CI workflows this year, throughput rose about 59%, yet three in 10 attempts to merge failed (2:03).
- Sonar survey: 76% of developers who generate AI code say it is produced faster than they can verify it (4:03). 84% say AI gets features and fixes to production faster, and PRs are larger and more complex (8:04). The captions are unclear on the share of code that reaches production unreviewed; Kapur calls the figure "scary", but the exact number is not clear in the transcript.
Approach
Osmani's definition: "a software factory is harnessing loops at scale" (2:03). He separates a lights-on factory (agents plan, build, check and ship, while a person still applies judgment and taste) from a dark one (like a robotic car factory; people sit at the level of intent and are pulled in for exceptions) (3:03).
How Anthropic reviews, per Osmani (6:03, 7:04):
- Claude does a first-pass review that tries the change like a real user: end-to-end tasks, opening it in a browser, running tools and lint.
- Hooks run on edits and study diffs so PRs are corrected quickly.
- Team taste is written into shared files such as CLAUDE.md and AGENTS.md so the reviewer consults it.
- People check the agent's evidence: browser videos and mobile or desktop screenshots, not just diffs.
On scale, Kapur says an Anthropic post reports about 30,000 code changes merged a day, up from roughly 2,500 a few months earlier (5:03). Osmani confirms about 2,500 changes in May, and that a Claude.ai refresh (which he says tripled performance) took about 3,000 PRs in a short span (6:03). These are Anthropic's own numbers; the talk shows no raw data.
Sonar's layered view, from Kapur (11:07, 12:08): verify in every loop (agent loop, CI loop, maintenance), with a zero-trust stance. Layer one is deterministic analysis for bugs, injection and memory errors. Layer two is agentic review for logic and intent. Layer three is supply-chain security (CVEs, malware, malicious packages). They also prefer "guide rails" to "guard rails" (14:10).
Lessons learned
- Osmani: confidence is the product. Agents make checks cheap to generate (tests, benchmarks, specs), so spend time there. Giving agents a way to verify their work can "easily two to three" the quality of outcomes, in his words and without data (4:03, 5:03).
- Be specific about verification: end-to-end tests, property tests, visual tests (9:06).
- Adoption (Sonar survey, reported): about 5% of companies run software factories today, with 34% planning to (39% in financial services) (10:06). Only 28% have approved agents with shared controls; about 5% run factories autonomously (13:09).
- Osmani on enterprise worry: hundreds or thousands of agents, with questions of identity, telemetry, control, permissions and sandbox escape (13:09, 14:10).
- Lightning round (14:10 on): most teams will end 2027 with light factories "with some dark corners"; label agent-written PRs for accountability and extra checks, while a named human owner stays on the hook; a PR is safe to merge "when you have full confidence nothing is going to go wrong".
- Kapur's takeaways: writing code is solved, "fast to write is not fast to ship", and "autonomy is earned" through independent, automated verification in every loop (17:12, 18:13). Sonar sells verification, so its framing serves that business.
Theme
Group: AI Coding & Software Factories. This is the cleanest statement of "verification is the bottleneck", with one lab voice (Osmani) and one vendor voice (Kapur). It agrees with Dex Horthy (card) that agent reviewers and linters help but human review of a subset stays, and that more agents means more review work. It supports Jarred Sumner (card), also at Anthropic, who verified a huge agent-written change with tests that predate the project. It lines up with Gautam Korlam, also at Sonar (card), on queues and audit records, and with Matt Pocock (card) on layered review. Where Osmani expects some teams to go dark by 2027, Armin Ronacher (card) says attention is the real limit, and Steve Yegge (card) says humans must scale with agents.