Why Anthropic replaced Git with Scion, its own source control system
Chanwoo Song 7 min read

On October 13 (US time), Anthropic said it had moved its internal monorepo from Git to Scion, a source control system it built itself. Code merges grew from about 2,500 a day in May to more than 30,000 a day in September, and Git could no longer keep up. The post drew 898 points and 1,013 comments on Hacker News.
Much has been said about Claude writing code and speeding up development. But when code arrives faster, what happens to the systems that have to take it in? Anthropic's post answers that with numbers.
In short, the bottleneck moved from writing code to the systems that take code in.
In the post's first paragraph, Anthropic wrote that writing code is no longer the bottleneck. The bottleneck is development infrastructure built for human speed: source control, builds and CI.
The numbers make this clear. The history of the monorepo's main branch alone is about 100GB, and a compressed working copy is over 25GB. Yet CI checks out the code about 25 million times a day. That figure excludes developer environments, agent sandboxes and research jobs. Fetching all of that the standard Git way would create more than 600PB of traffic a day, according to the post.
So the team used every standard method for handling large repositories: shallow clones, partial checkouts and internal Git mirrors. At one point the mirrors alone numbered in the hundreds. Even so, operations got harder as the merge rate rose.

Git's strengths were a burden for agents.
Git is distributed. Every clone is a complete repository, so you can view history, compare changes and go back to any version even when offline. When people did their work on laptops, this was why Git became the standard.
But at Anthropic, most of what fetches the repository is agents and CI jobs. They are always online, and they don't need the whole repository. Like other companies, Anthropic was in practice running Git tied to a single central server, and it concluded that Git's design for offline work was actually holding back scaling.
So Scion was designed the other way around.
- It assumes the client is always online. The client fetches only the files it needs from the server, when it needs them.
- The server handles history queries, commits, merges and rebases. The client manages only a small cache and a working folder.
- Questions like “who last changed this line?” are exposed through an API, so CI jobs don't have to download the repository at all.
- The cost of a commit scales with the number of changed files, not the size of the repository. A commit holds only the list of changed files and the content addresses of those files.
The results showed up in agent time.
The measurements Anthropic published show a large gap. Creating a new worktree in an agent environment took 7.1 minutes with Git and 5.1 seconds with Scion. That is about 84 times faster. Source control time per change request fell from 34 minutes to 3.7 minutes, and Anthropic put the difference at about 11,000 agent hours a day. CI checkouts also went from 31 seconds to 3.5 seconds.
The infrastructure also got smaller. Each cache server has a hit rate above 99%, and the whole system is 1/200th the size of the old Git mirror infrastructure in CPU and memory. In CI alone, 25% of CPU capacity was freed up for other use.

Seven people built it.
Seven people built Scion, the code review tool Antique and about six related systems, and they finished the migration in five months. Over that time, daily merge volume grew tenfold. Anthropic wrote that in the past, this would have taken a company years and many engineers.
The post also describes what Claude actually did. The first version of the pipeline that moves data from Git to Scion was written mostly by hand. When the team had Claude Mythos Preview, an internal model, rewrite it from scratch, it used 1/20th the memory and ran four times as fast. Everyone on the team now says Claude writes code better than they do.
That does not mean engineers are no longer needed. The original post says the engineers' job was often to tell Claude “no.” That meant stopping the agent when it followed familiar patterns that broke the system's core rules, or when adversarial reviews pushed it into adding needless validation code. The team still reviews every change, but it looks at the intent of each change rather than reading the code line by line. This is the next stage of the problem I wrote about last month in “How should code review work in the age of AI?”: code review where no one can read every line anymore.
Operations changed too. The team assigns one Claude to each Slack channel to watch the health of a single system component, and calls these Claudes superfans. The team also dropped the industry-standard global lock on the merge queue. With hundreds or thousands of changes merging while tests run, a lock no longer made sense. Instead, automated tests run after merge and before deployment, and when changes that came in at the same time conflict, Claude fixes them faster than a person would.
That said, the team did not come up with the design entirely on its own.
The day after the post came out, Rain, a developer who built the source control server Mononoke at Meta, published a post saying that Anthropic's Scion was heavily influenced by Mononoke. Rain pointed out that derived data, a core concept in Scion, is nearly the same as a design the Mononoke team created in 2017–2018, yet the original post only briefly mentioned Meta's Sapling and did not name Mononoke at all. Rain said reusing the design was not the problem, but without credit, the post reads as if Claude designed it all. That post also got 429 points on Hacker News.
On October 15, Anthropic revised its post and added a footnote saying Mononoke originated several of Scion's techniques, in particular the Bonsai data model. I think this episode shows that the more AI learns from open-source designs and quickly rebuilds them, the more it matters to say whose idea it was.
Most companies do not need Scion.
Anthropic made this clear as well. It wrote that Scion is not a general replacement for Git and only makes sense for huge monorepos with tens of thousands of engineers or swarms of agents pouring out code. Anthropic also acknowledged that the volume of tokens it uses internally far exceeds what other companies could realistically use. There are no plans to release Scion either. The reason given is that code review, code search and CI would all have to change with it, which makes it hard for other companies to adopt.
Instead, Anthropic expects problems like this to become common within the next 6 to 12 months. So it proposed working with GitHub, GitLab and the open-source community to change the Git server side. The idea is to leave the Git client as it is, have servers offer features such as history queries through APIs, and make partial checkout features work well together.
The same pattern can appear when companies bring agents into their everyday work. Agent output piles up quickly, while the people and systems that review and apply it still move at the old speed. I think what most teams need is not to drop Git, but to first measure where the next bottleneck is, such as review wait times or CI time.
When the speed of writing code grew tenfold, Anthropic rebuilt its source control in five months. The next things still tuned to human speed are likely CI and deployment.
https://www.anthropic.com/research/redesigning-source-control