Developer tools

Anthropic replaces git with custom Scion system to handle AI coding scale

Anthropic migrated its monorepo from git to a new in-house system called Scion to support a twelve-fold increase in daily code merges driven by autonomous AI agents.

Illustration of data flowing from a large server infrastructure to a lightweight client device.
Illustration generated for this article

Anthropic has replaced git with a custom-built version control system called Scion to manage the massive surge in code production generated by its AI models. The migration, completed in five months during 2026, was necessary after daily merged code changes grew from 2,500 to over 30,000 as Claude began autonomously iterating on research and services.

What happened

The shift was driven by a fundamental change in how software is built at the company. Coding speed is no longer the bottleneck; instead, developer infrastructure designed for human-scale workflows became the limiting factor. In May 2026, Anthropic averaged around 2,500 code changes merged per day. By September, that number exceeded 30,000 per day. The company notes that latent demand for merging code is practically infinite, meaning every removed bottleneck immediately results in more produced code.

To support this growth, Anthropic built Scion, an in-house version control system, and fully migrated its monorepo from git. Alongside Scion, the team shipped a code review surface called Antique, code search capabilities, and a rich identity and access management system for source control. The company emphasizes that while few organizations currently face these specific scale issues, the pressure points will likely affect other teams using AI coding tools in the near future.

Git’s decentralized design, which requires every clone to be a complete self-contained repository, proved inefficient for Anthropic’s workload. The history of their main branch alone is nearly 100 GB, and a compressed working copy exceeds 25 GB. With approximately 25 million code checkouts per day for continuous integration alone, naive fetching would generate over 600 PB of traffic daily. Previous workarounds like internal git mirrors and repository snapshots became difficult to operate as merge rates increased, leading to stale seeds and complex maintenance overhead.

How it works

Scion is designed around the principle that clients are always online. Unlike git, where every client can act as a server, Scion uses a client-server asymmetry. The server handles heavy computations like history tracking, blame assignment, and merging, while the client maintains only a bounded local cache. This allows the client to fetch data on demand rather than storing the entire repository locally.

The core data structure in Scion is the "changeset," which functions as an entry in a write-ahead log. Instead of pointing to a full tree like a git commit, a changeset stores a list of files changed relative to its parent, along with pointers to compressed content in blob storage. This structure enables high-throughput ingestion because there are no packfiles to process or locks to manage. Additional data structures, such as file blame and path history, are computed as "derived data" recursively from these changesets.

Scaling is achieved through a tiered caching architecture. Clients communicate with a local daemon that shares objects across jobs on the same node. These daemons pull from regional cache servers, which stream objects directly from memory. If a cache misses, it queries authoritative servers backed by Spanner or cloud storage. Because all data is content-addressed and immutable, any server can cache it without coordination, resulting in cache hit rates above 99 percent.

Key details

  • Daily merged code changes increased from 2,500 in May 2026 to over 30,000 in September 2026.
  • The monorepo main branch history is nearly 100 GB, with compressed working copies over 25 GB.
  • Scion reduced the infrastructure footprint by 200x compared to previous git mirroring setups in terms of CPU and memory.
  • Continuous integration jobs now check out code in seconds rather than minutes, yielding a 25 percent CPU capacity win.
  • The migration from git to Scion, including building supporting tools like Antique, took five months.
  • Claude Mythos Preview helped rewrite the initial git-to-Scion ingestion pipeline, making it 4x faster and using 20x less memory.

Why it matters

For engineering leaders and platform teams, this case study highlights the impending mismatch between traditional developer tools and AI-assisted development. Git was optimized for distributed, offline human work, but AI agents operate continuously and centrally. As AI coding adoption grows, organizations may face similar scaling walls where repository size and checkout times stall productivity. Understanding the architectural shifts required to support always-online, high-frequency code generation is crucial for future-proofing infrastructure.

The technical approach taken by Anthropic demonstrates that moving logic to the server and treating the working copy as optional can drastically reduce resource consumption. By exposing source control queries via API, teams can build tools that do not need local repository clones. This model simplifies lifecycle management for CI jobs and research tasks, removing the burden of repository maintenance and enabling faster iteration cycles.

What you can do

  • Evaluate your current repository size and checkout frequency to identify potential scaling bottlenecks before they become critical.
  • Investigate whether your CI pipelines can benefit from sparse checkouts or virtualized file systems to reduce data transfer.
  • Consider exposing source control metadata via APIs to allow tools to query history and blame without cloning full repositories.
  • Review your use of git mirrors and seeds, assessing if a centralized, always-online model could simplify your infrastructure.
  • Monitor the impact of AI coding assistants on your merge rates and prepare infrastructure plans for increased throughput.
  • Explore content-addressed storage solutions for large binary assets or derived data to improve caching efficiency.
  • #version control
  • #infrastructure
  • #ai engineering
  • #scalability
  • #anthropic

Tools from the Bytechap store

Keep reading

All stories