Anthropic says it replaced Git for its monorepo with an in-house source control system called Scion after agent-generated code overwhelmed infrastructure designed for human developers. In an Oct. 13 engineering post, the company said daily merged code changes rose from about 2,500 in May to more than 30,000 in September.
Why Git became a bottleneck
Anthropic's main-branch history had grown to almost 100 GB, while a compressed working copy exceeded 25 GB. The company said its continuous-integration systems perform roughly 25 million code checkouts each day, before counting developer environments, agent sandboxes and research jobs. At its peak, Anthropic operated several hundred internal Git mirrors, but keeping them current and supporting history-dependent operations became increasingly difficult.
Scion is built around a different assumption: its clients are agents and online jobs that can always reach a server. The server handles operations such as commits, merges, rebases, file history and blame. Clients keep a bounded local cache and fetch only the trees and files they need, while sparse and virtualized checkouts avoid materializing the full repository.
Anthropic claims large infrastructure gains
Instead of Git commits pointing to complete trees, Scion records a changeset as the files changed relative to its first parent, with content-addressed pointers to compressed file data. Anthropic says this makes commits incremental and avoids packfiles, repository maintenance and much of the coordination needed to update shared references.
The company claims Scion's infrastructure uses 200 times less CPU and memory than its previous Git mirroring setup. It also says checkouts now take seconds rather than minutes and that the migration freed 25 percent of its CI CPU capacity. Those figures are based on Anthropic's internal measurements and have not been independently tested.
Anthropic says a seven-person team built Scion, a companion code-review tool called Antique and several related systems, then completed the migration in five months. The company cautions that Scion is not a general replacement for Git: its design is aimed at exceptionally large monorepos and workloads produced by large numbers of coding agents.
Comments