Article Complete
AIM
Anthropic Ditches Git In Its Monorepo, Builds In-House Version Control System
Anthropic Ditches Git In Its Monorepo, Builds In-House Version Control System

Anthropic Ditches Git In Its Monorepo, Builds In-House Version Control System

Scion cuts source control infrastructure requirements by 200 times as Anthropic rethinks code reviews, testing and merge queues for AI-generated code.

Published Updated

Key takeaways

  • Anthropic has transitioned from Git to its own version control system, Scion, to better manage its unique code demands.
  • The migration to Scion was completed in five months by a team of seven engineers amid a significant increase in code merges.
  • Anthropic's code merges rose dramatically, from 2,500 per day in May to over 30,000 by September.
  • The company experiences substantial daily code checkouts, highlighting the limitations of traditional Git for its AI-driven workflows.
  • Anthropic anticipates continued growth in code production, indicating a need for more efficient infrastructure.
5 min

Anthropic has migrated its main code repository from Git to an in-house version control system called Scion, after daily code merges increased more than tenfold between May and September. 

A team of seven engineers built Scion, an internal code review tool called Antique and related systems, completing the migration in five months, the company said in an engineering blog post published on 13 October.

Anthropic described its workloads as unusual because it uses Claude to write software far more extensively than most companies. 

The company merged around 2,500 code changes per day in May, rising to more than 30,000 in September. Its main repository has an almost 100 GB history, while a compressed working copy exceeds 25 GB.

The company performs around 25 million code checkouts daily for continuous integration (CI), excluding developer environments, agent sandboxes and research jobs. 

Fetching the repository naively for these workloads would generate more than 600 petabytes of Git traffic per day, according to Anthropic.

“We don’t expect this rate of growth to slow down anytime soon,” the company said, adding that removing one bottleneck leads to further increases in code production.

Git was designed around decentralised development, with each clone containing a complete repository that developers can inspect and modify offline. 

Anthropic said these properties were less suitable for its environment, where most clients are AI agents and automated jobs that remain connected to servers.

The company had operated several hundred internal Git mirrors and used techniques such as shallow clones and sparse checkouts to manage repository traffic. These measures became harder to maintain as code merges accelerated.

Scion moves commits, merges, rebases and repository history queries to the server. Clients request only the data they need, while automated jobs can retrieve repository metadata through APIs without checking out files. 

Anthropic said its infrastructure footprint is 200 times smaller than its previous Git mirroring setup in CPU and memory requirements. CI and research jobs now check out code in seconds rather than minutes, while CI alone has reduced CPU requirements by 25%.

Anthropic is also reconsidering conventional development practices. Traditional merge queues coordinate changes and run tests before integrating code. The company said this becomes difficult when hundreds or thousands of changes can be merged while tests are still running.

Instead, it has invested in post-merge and pre-deployment automated testing, allowing concurrent changes to proceed even when conflicts arise. Claude can help resolve those conflicts, according to Anthropic.

The company said engineers remain responsible for architectural decisions and enforcing system constraints, as AI-generated code can introduce unnecessary complexity or inefficient implementations.

Anthropic said an early internal version of Claude Mythos Preview rewrote its initial Git-to-Scion ingestion pipeline, producing an implementation that used 20 times less memory and ran four times faster while preserving the original system’s constraints.

The company also uses Claude agents called ‘superfans’ to monitor infrastructure components through telemetry and logs, supplementing conventional alerts.

Anthropic does not intend Scion to replace Git generally. 

It said the system is designed for enormous repositories used by large engineering teams or substantial numbers of coding agents. 

Instead, it plans to share architectural lessons that Git platforms could adopt as AI-generated code increases pressure on source control, testing and deployment infrastructure.

Membership

Stay ahead with AI insights.

Unlimited access to premium articles, exclusive analysis, and the stories shaping India's AI economy.

Subscribe now

AIM Americas

1190 Miraloma Way Suite P, Sunnyvale, CA 94085

AIM India

1st Floor, Sakti Statesman, Bellandur, Bengaluru – 560103

© 2026 AIM. All rights reserved.