Anthropic Replaces Git With Scion: Over 30,000 Merges a Day After a Five-Month Monorepo Migration

Anthropic says it has finished migrating its monorepo from Git to Scion, a source control system it built in-house. Daily merges rose from about 2,500 in May to more than 30,000 by September, and seven engineers completed the move in five months.

October 13, 2026 ·Source:Anthropic Official InfrastructureDeveloper ToolsAgentsEngineering Practice

In an engineering post titled Redesigning source control, published on 13 October, Anthropic disclosed something unusual: it has completed a full migration of its monorepo from Git to Scion, a version control system it built itself, and the migration took five months. What forced the issue was an explosion in code output. Anthropic merged roughly 2,500 code changes a day in May 2026 and more than 30,000 a day by September, and it does not expect the growth rate to slow, because removing one bottleneck immediately pushes output higher still. The bottleneck has moved away from writing code and onto developer infrastructure designed for human scale: source control, builds and continuous integration. The numbers make the case plainly. The history of the main branch approaches 100 GB, a compressed working copy exceeds 25 GB, CI performs about 25 million checkouts a day, and fetching that data naively would generate more than 600 petabytes of Git traffic daily. At its peak the company ran several hundred internal Git mirrors. Shallow clones, sparse checkouts and prebuilt snapshots were all in play, but as the merge rate climbed the snapshots fell further behind the latest commit, and operations like diff and blame became unreliable on partial clones. Anthropic’s conclusion: since nearly every client is an always-online agent or job, the Git properties built for offline work had become a liability rather than an asset.

Key facts

  • The migration took five months and seven engineers, who also built around six adjacent systems including the Antique code review UI, code search and source control IAM
  • Daily merges went from about 2,500 in May to more than 30,000 in September; main branch history nears 100 GB and a compressed working copy exceeds 25 GB
  • CI performs about 25 million checkouts a day, naive Git traffic would exceed 600 PB daily, and the peak fleet was several hundred mirrors
  • Four design principles: clients are always online, client-server asymmetry, every query exposed through an API, and every layer horizontally scalable
  • The unit of change is a changeset written to a write-ahead log, storing only the files changed against its parent plus content-addressed pointers into blob storage, created server-side and visible everywhere at once
  • Three tiers: a daemon per machine, a cache per region and an authoritative server, with each cache tier answering more than 99 percent of requests
  • Reported results: roughly 200 times less CPU and memory than the old Git mirror fleet, CI and research checkouts down from minutes to seconds, and a 25 percent cut in CI CPU
  • Refs such as branches and tags are discouraged apart from the main ref and release branches, keeping global state from becoming a scaling problem
  • A Claude Mythos preview rewrote the early Git-to-Scion import pipeline, using 20 times less memory and running four times faster
  • No plans to open source Scion, which is bound to too many internal systems, though the team expects others to hit the same wall within six to twelve months

Big Share take

The valuable part here is not Scion itself, since Anthropic says it will not open source it and does not intend it as a general product. It is the walkthrough of where infrastructure breaks first once agents become the main submitters of code. The trade-offs are stated with unusual clarity too: the performance comes from giving up offline capability and local full history, which most teams neither need nor should accept, and the post stresses that Scion is not a general replacement for Git. The genuinely portable lessons are three cheaper moves: expose repository queries as an API instead of making every job pull a full copy, invest seriously in cache tiers, and replace merge queues with post-merge testing. One easily missed detail is that the engineers’ role was often to tell Claude no. When code output is amplified tenfold, rejecting unnecessary changes is worth more than producing them.

Compiled from public reports; opinions are for reference only.

Share on Telegram ↗