AI & Compute · 3 min read

Anthropic hit 30,401 merges a day and had to leave Git

Anthropic merged 30,401 changes in one day, up from 2,500 in May, and replaced Git with a server-side system called Scion that uses 200 times less CPU and memory.

By Nathan Brooks698 words

Key takeaways

  1. Anthropic merged 30,401 code changes on Sept. 9, versus about 2,500 per day in May.
  2. A seven-person team built Scion and moved the repository off Git in five months.
  3. Scion uses 200 times less CPU and memory than the old Git mirroring setup; checkouts take seconds, not minutes.
  4. Test systems check out code about 25 million times a day, which would mean 600+ petabytes of normal Git traffic.
  5. Anthropic says Scion is not a general Git replacement and is sharing the design instead.
Anthropic hit 30,401 merges a day and had to leave Git
StartupStockPhotos / pixabay

Anthropic merged 30,401 code changes into its main repository on Sept. 9, up from an average of roughly 2,500 a day in May, according to a chart in a company engineering post. That twelvefold jump, driven largely by Claude models writing code, is why the company stopped using Git for that repository and built its own version control system, Business Insider reported on Sunday.

Anthropic first described the switch in an Oct. 13 post on its engineering blog. A seven-person team built the new system, called Scion, along with a code review tool called Antique, and moved the repository off Git in five months. Merge volume rose tenfold over that period.

Why did Git stop working?

Git assumes every user keeps a full copy of the repository and can work offline. That assumption has aged badly at Anthropic, where most "clients" are now AI agents and automated jobs that are always online. The repository's main-branch history is almost 100 GB, and a compressed working copy exceeds 25 GB.

The numbers behind the switch are the story. Test systems alone check out code about 25 million times a day, before developer machines, agent sandboxes and research jobs count. Fetched the normal way, that would generate more than 600 petabytes of Git traffic per day, the post says. At the peak, Anthropic ran several hundred internal Git mirrors and leaned on shallow and sparse clones, workarounds that grew harder to operate as merges climbed.

"The bottleneck, now, is all of the developer infrastructure built for human scale," the post says.

How does Scion work?

Scion moves the work to the server. Commits, merges, rebases, history and blame are handled centrally, and other tools query the code through APIs without a local copy. Files arrive only when a job needs them, through a chain of local daemons, regional caches and central servers backed by Spanner or cloud storage.

Anthropic reports, in its own figures, that Scion uses 200 times less CPU and memory than the Git mirroring setup it replaced, that checkouts take seconds instead of minutes, and that its test system gained 25% in CPU capacity. Each caching tier keeps a hit rate above 99%.

Claude also helped build the thing it overloaded. A version of the Git-to-Scion import pipeline rewritten by Claude Mythos Preview used 20 times less memory and ran four times faster, the post says. It adds, with the candor of a parent describing a gifted child, that engineers often had to "tell Claude 'no'" when agents broke core constraints or over-engineered for unlikely problems.

Anthropic also dropped the merge queue, a standard practice for human teams, and now relies on testing after merge and before deployment. One suspects the queue could not have survived 30,401 merges a day regardless.

Is Scion a Git replacement for everyone?

Anthropic says no. The company describes Scion as unsuitable as a general-purpose replacement for Git and difficult to offer publicly. Instead, it is sharing the design so other teams can apply parts of the approach while staying on Git, and it wants to work with GitHub, GitLab and the open-source community.

Large companies have taken this road before. Google runs its monorepo on Piper, Microsoft built VFS for Git, and Meta has Sapling, The Register noted. GitHub itself blamed availability problems in April on fast growth in pull requests and commits. OpenAI has described a similar move of its own: it built Pando, a custom Git backend, after Codex agents overloaded its monorepo.

The pattern is consistent across the industry, and it points one direction. When the machines writing your code outnumber the humans reviewing it, the tooling designed around a lone engineer with a full local clone becomes the constraint. Anthropic chose to rebuild the plumbing rather than throttle the agents.

The open question is what reaches everyone else. Anthropic is offering ideas, not software, and GitHub and GitLab now face repositories whose merge volumes grow with every agent a customer licenses. If agent-driven merge traffic keeps compounding, the rest of the industry may find that a 200-times efficiency improvement is worth copying rather than admiring.

mlq.ai (Source)

Filed under

Share this article:

More from Nathan Brooks

Nathan Brooks

Show full bio

Senior reporter covering people, launches and day-to-day practice in Semiconductors, chip manufacturing, hardware, AI compute at Chip Dispatch.

1,548 articles

Read also

« Previous articleNext article »