Anthropic Replaces git Internally with Its Own Scion: Rebuilding Source Control for AI Agents Writing Code at Scale
Anthropic says Claude's heavy coding pushed the code changes it merges each day up more than tenfold in a few months, making git a bottleneck. The company built its own version control system, Scion, and migrated its whole monorepo in five months. It says Scion suits only very large codebases, not typical teams, but expects companies using AI coding to face similar pressure.
News date: About 6 min read
Contents
What happened
Anthropic published an article on its official engineering blog explaining why and how it built Scion, an internal version control system. git is currently the most widely used version control tool. Anthropic says it migrated its monorepo from git to Scion completely, over five months. Everything below is Anthropic's account and has not been independently verified.
Anthropic says it merged (folded into the shared main codebase) about 2,500 code changes per day on average in May 2026, and more than 30,000 per day by September. The company says that after merge volume grew more than tenfold, source control became its biggest development bottleneck.
Why git was not enough
Anthropic says its monorepo's main-branch history is close to 100 GB, and the compressed working copy exceeds 25 GB. CI alone (the process that automatically builds and tests after each change) performs about 25 million checkouts a day, meaning fetching a given version of the code onto a machine. If each were a full direct fetch, git traffic would exceed 600 PB per day.
Anthropic says it earlier used several approaches to spread the load, including shallow clones (downloading only part of the history), sparse checkouts (checking out only some directories) and internal git mirrors (server copies of the repository). At peak it ran hundreds of mirrors, but they became harder to operate as merge speed rose. It also notes that most clients are continuously connected AI agents and automated jobs, and that git's design for offline, distributed work actually limited scaling.
Scion's design and results
According to Anthropic, Scion hands most work to the server, including history queries, blame (finding who last changed each line), creating commits (a saved set of changes), merges and rebases (moving changes onto a newer base). Clients keep only a local cache with a capped size. Scion's basic unit, the changeset, is the equivalent of a git commit and is created on the server. It records which files changed relative to its first parent (the version it was built on), with content-addressed pointers (identifiers derived from the file content itself) into blob storage (storage holding compressed file contents). Anthropic also says all queries are exposed through an API (an interface programs can query directly), so much work no longer needs a local repository.
| Item | git / prior approach as described by Anthropic | Scion as described by Anthropic |
|---|---|---|
| Client assumption | git designed for offline use with a full copy | Clients always online, fetching data on demand |
| How it scales | Hundreds of internal git mirrors at peak | Cache hit rates above 99% across layers; CPU and memory needs 200x smaller than the former git mirror infrastructure |
| Checkout speed | Measured in minutes | Two orders of magnitude faster, measured in seconds |
| CI resources | Relies on mirrors and snapshots | CI gains 25% CPU capacity |
| Merge queue (a mechanism that lines up changes to enter the main branch in order) | Industry-standard merge queue with a global repository lock (Anthropic says it could not replicate this effectively) | Invests instead in automated testing after merge and before deployment |
The role of AI
Anthropic says a team of seven built Scion, the code review tool Antique, and about six related systems. It also says that after an early internal version of Claude Mythos Preview was asked to rewrite a prototype of the git-to-Scion ingestion pipeline (the process that loads data from git into Scion), the new version used 20 times less memory and ran 4 times faster.
Anthropic also notes that engineers' role is often to say "no" to Claude, because agents sometimes violate the system's core constraints. The team still reviews every change request, but now examines the intent of a change rather than reading code line by line.
Anthropic's advice for the git ecosystem
Anthropic expects such problems to become more common within six to twelve months. It suggests git platforms offer server-side RPC (remote procedure calls, where a client asks the server to perform operations) like Scion's, and improve the negotiation protocol, the step in which client and server decide what data to send, so git's sparse and shallow features work well together. It also says it hopes to work with GitHub, GitLab and the open-source community.
Anthropic also says it could not effectively replicate a global-lock merge queue, so it invested in post-merge testing instead. This means concurrent changes may conflict with each other, but the company says Claude can usually fix such conflicts faster than humans.
Frequently asked questions
What is Scion?
According to Anthropic, Scion is its self-built version control system. The server handles history queries, commits, merges and rebases, while clients keep only a local cache with a capped size.
Should ordinary development teams switch to Scion?
No. Anthropic says Scion is not a general-purpose replacement for git, suits only very large monorepos, and would be hard to offer externally.
Are these figures reliable?
All figures come from Anthropic's own engineering article and have no independent third-party confirmation, so treat them as the company's own account.
What does this mean for git?
Anthropic suggests git platforms offer server-side RPC and improve the negotiation protocol, and says it hopes to work with GitHub, GitLab and the open-source community. These are suggestions, not announced product changes.
Found this guide helpful? Share it with someone who needs it
Google Adds Ask Family Link, a Gemini Chat Assistant for Parental Controls, Starting in the US in English Only
Google announced Ask Family Link, a Gemini-powered assistant in the Family Link app. Parents can chat to understand their child's screen time and adjust device settings. The first rollout is US-only and English-only.
Google Cloud Previews GKE Network Services Monitoring: One-Hop Dependency Graph and L4 Metrics, Ambient Networking Clusters Only
US Federal Judge Bans Real-Time AI Use During Oral Argument in Her Own Courtroom After Lawyer Relied on It
Amazon Athena Now Runs on DuckDB in Preview: AWS Claims Up to 2x Faster Queries and Up to 50% Lower Costs on 100 GB+ Queries
Sources
Compiled from the references and verification dates listed above; fares, schedules, product features, and terms can change, so please confirm the latest details on the relevant official website before travelling, booking, or purchasing.