Anthropic Ditched Git After Agents Pushed 30,000 Changes a Day
Anthropic just replaced Git for its monorepo. The real story is which Git assumption broke first.
In May, Anthropic merged about 2,500 changes a day into its monorepo. By September, it was over 30,000. Headcount didn’t grow twelvefold in four months. Agents did the growing.
Somewhere in that curve, Git stopped working for them. So a seven-person team built a replacement called Scion and migrated the whole codebase in five months.
The interesting part isn’t that Git failed at scale. Plenty of companies have hit that wall. It’s which design assumption failed, and what pushed it over.
The Feature Nobody Was Using
Git’s defining trait is that every clone is a full copy of the repository, including all of its history. That design came from a real need: Linux kernel developers working on their own machines, often offline, without a central server they trusted.
It’s still a great property if you’re coding on a flight. But look at who actually consumes code at Anthropic now: CI runners, agent sandboxes, research jobs. Every one of them sits inside a data center with a permanent connection to the code servers.
They were paying the full cost of offline capability, on every checkout, for clients that would never once go offline.
The Math That Broke the Mirrors
Here are the numbers. The main branch carries close to 100 GB of history. A compressed working copy is over 25 GB. CI alone checks out code about 25 million times a day.
Multiply those two and you get roughly 625 PB of potential daily transfer. That’s CI only, before you count dev environments and agent sandboxes.
Anthropic did what everyone does first: shallow clones, sparse checkouts, and a stack of caches. A machine checked its local packfile cache, then a mirror replica, then the mirror primary, then upstream. New machines bootstrapped from snapshots in cloud storage. At peak they ran hundreds of Git mirror servers.
And it decayed. At 30,000 merges a day, a snapshot is stale before it finishes copying. Every cache layer was fighting a repository that moved faster than the caches could sync.
This Isn’t a New Idea. The Driver Is New.
Big tech already solved this problem, for a different reason:
- Google built Piper and CitC, where workspaces live in the cloud and files are fetched on demand.
- Microsoft built VFS for Git (later Scalar) because cloning the Windows repo was unworkable.
- Meta built Sapling with EdenFS, a virtual filesystem that only materializes files you touch.
All three got there because of tens of thousands of human engineers. Anthropic got there because of agents. That’s the shift worth paying attention to: you no longer need a giant engineering org to have a giant-engineering-org problem. You just need enough agents committing in parallel.
Immutability Is the Real Trick
Scion’s client keeps a bounded local cache and pulls directories and files from the server only when it needs them. Heavy operations like history, blame, merge, and rebase run server-side and are exposed as APIs, so many jobs never check out code at all.
The caching design is what stands out to me as an infrastructure engineer. There are three tiers: scion-daemon on each machine, scion-cache per region, and scion-server backed by Spanner for metadata and cloud storage for file contents.
Every file gets a content-based identifier and never changes once stored. That one decision removes cache invalidation entirely. No layer needs to coordinate with another, because a given ID always points to the same bytes.
If you’ve ever shipped frontend assets with hashed filenames like app.3f9a2c.js and set the cache headers to “forever,” you’ve used the same principle. Content addressing makes caching boring, and boring caches hit over 99% at every tier.
Commit Is Now an API Call
In Git, you commit locally and then push. In Scion, the commit happens on the server, and everyone sees it immediately. There’s no push step.
A commit is a list of changed files pointing to content IDs, and identical content is stored once. So the cost of a commit scales with the size of the change, not the size of the repository. For a repo that grows every hour, that’s the property that keeps it alive.
The Results
- 200x less CPU and memory than the old mirror fleet
- Test and research checkouts went from minutes to seconds
- 25% of CI CPU saved
- Median agent workspace creation: 7.1 minutes down to 5.1 seconds, about 84x faster
That last number matters most. If an agent waits seven minutes for a workspace to run a two-minute task, your infrastructure is the bottleneck, not the model.
Seven People, Five Months
The same team built Antique, a companion code review tool, plus five or six supporting systems, and migrated the repo while merge volume grew tenfold. Projects like this used to take much larger teams several years.
One detail stuck with me. They hand-wrote the first version of a data import program, then asked an internal Claude snapshot (Claude Mythos Preview) to rewrite it with no extra guidance. The result used 20x less memory, ran 4x faster, and kept every original constraint.
The Job Is Saying No
The engineers say plainly that Claude now writes code better than they do. Their work shifted to system fit, architectural trade-offs, and scale decisions. A lot of it is rejecting bad approaches.
Their example: several systems wanted to scan commit history entry by entry to find when a change landed on main. The right answer was to query the code review tool. Nothing about the scanning code was wrong line by line. It was wrong at the design level, and that’s the level humans now review at.
That matches what I keep seeing. AI doesn’t remove the need for engineering judgment. It concentrates the job into nothing but judgment.
Don’t Migrate Your Repo on Monday
Anthropic says Scion is not a general Git replacement, and they’re right. It only pays off for huge monorepos, and adopting it means rebuilding code review, code search, CI, and everything else around it. They aren’t productizing it.
What they want is for the ideas to leak into the Git ecosystem: servers doing more work, richer query APIs, and clients that fetch on demand. They expect these scaling problems to spread across the industry within 6 to 12 months.
What I’m Taking Away
- Audit your assumptions, not just your tools. Git didn’t get slower. Its core assumption (clients disconnect) stopped being true for the people actually using it.
- Immutability is the cheapest scaling lever there is. If data never changes, every cache layer becomes trivial.
- The bottleneck moves downstream. When agents write code faster, source control, builds, and tests become the constraint. If your CI was designed around human commit rates, it’s already behind.
We used to carry the whole library home in case we got stranded. Agents never get stranded. They just need the right page, right now.
This piece is part of what I’m building at leestack.dev — a space where I get obsessive about system design, architecture, and engineering strategy. Interactive labs are in the works. Probably worth a tab you won’t close.
If you enjoy this article: you’ll also like:
Stop Reading the Code
An agent just wrote three hundred lines in forty seconds. You open the diff, start reading line by line, and somewhere…
The Rules NASA Uses to Write Code That Can’t Fail. Your AI Tools Break All of Them.
In 2006, a NASA engineer wrote ten rules for writing code where lives depended on correctness. They still apply. And…
The Last Moat Just Fell: AI Now Speaks Fluent Compiler
The “CRUD-only” excuse just expired
Source: Anthropic Engineering Blog, “Redesigning source control at Anthropic” (October 2026).

