Anthropic Built Its Own Version Control System to Handle 30,000 Daily Merges

Redesigning Source Control at Anthropic

Anthropic Built Its Own Version Control System to Handle 30,000 Daily Merges

Anthropic's monorepo grew from 2,500 to over 30,000 daily merges, overwhelming git. They built Scion, an in-house version control system, and migrated in five months. Scion assumes always-online agents, uses a server-centric design with changesets and derived data, and scales horizontally without packfiles or refs. The post details the principles and architecture behind this agent-scale source control.

The latent demand for merging code is practically infinite, and every bottleneck we remove immediately leads to a further increase in the amount of code we produce.
  1. frangonf

    Excuse me for throwing up this stupid idea, but if code changes per unit of time keep growing at this rate and are not slowing down with infinite merging demand, it seems that this repo will be in a constant state of continuous change and we constantly roll forward with automated code and obviously no direct human supervision, then why even have source control? Why not just let software be fluid and, like Heraclitus river, never step twice in the same repo.

  2. mattmar96

    This has me thinking about agentic and otherwise more intelligent CI

    “Run only the tests that are applicable around this change”

    Plus a full test run gate for version tags and perhaps nightly, as it would be expected that sometimes the subsection of tests run missed a breaking change.

  3. netburst

    What is are the benefits of supporting extremely high churn rate in version control? What is the code doing? What problems are being solved? Are changing requirements the driving factor, and if so, why are requirement changes accelerating?

    > ..., the latent demand for merging code is practically infinite, and every bottleneck we remove immediately leads to a further increase in the amount of code we produce.

    If the goal is to write software which solves real problems, how can the demand for code grow infinitely?

  4. rcleveng

    My first real job was at Oracle. At the time Oracle started to write their own source control system (and move off of clearcase, which was a very reasonable thing to do).

    The guy who ran that project called it his "$LASTNAME law" that every large company will at some point write their own source control system.

    I laughed.

    About a year later I went to Google, and within a couple of years Google also did the same thing.

    Not at all surprised. Git was just good enough (and cheap enough) the companies didn't need to do this to escape the {phsyical scaling, cost scaling} problems that most commercial SCM systems had.

  5. mixedbit

    I don't get one thing, if agents are so great at developing software at massive scale, why wouldn't Anthropic, instead of just selling tokens to other companies to use its agents, let those agents develop highly profitable services for Anthropic to support their IPO valuation or not require raising money at all? For example, a competitor to Google search.

  6. zmmmmm

    > As our monorepo grows, it increasingly doesn’t fit that design space. The history of our main branch alone is almost 100 GB

    The first thing that hits me is, did you consider not going all in on a monorepo? I know it has been the trend in general, but it seems a bit of a red flag when you go from "let's have a monorepo it will make merging easier" to "let's redesign version control because merging is too hard now" without the middle question "should we really have a monorepo?"

    As a derivative thought I'm curious if AI tooling is tipping people more towards monorepos now since it gives the agent the whole context of the app in one go? Or is this independent - I can easily check out 5 repos in one directory and run an agent there.

  7. trnvll

    > Earlier in the year, we had largely handwritten the first version of the git-to-Scion ingestion pipeline as a prototype. We thought it was good—until we got our hands on an early internal snapshot of Claude Mythos Preview. We asked it to rewrite the whole thing, and with no further instructions, it produced a version that consumed 20x less memory and was 4x faster, while preserving all of the implicit invariants around ingestion ordering and data structures.

    I feel like the advantage of having these models in house can't be understated. Companies with access to inferior models, trying to compete, will be left in the dust when it comes to general development.

  8. tancop

    So it's a SVN/Perforce style server based VCS with a more modern design. Sounds exactly like Lore from Epic Games but with zero production use outside the company and no support for non text assets. And they won't release the code.

  9. Bluestein

    > Plus, Anthropic is unique in that our ability to spend tokens for internal use far exceeds what any other business would realistically want to spend.

    And this will become the new "caste" system of tomorrow. Today: Those with "metered", gatekept intelligence - vs the gatekeepers and those at the core of the new Sun.-

  10. bob1029

    This article doesn't do a very good job of convincing me that git is technically incapable of handling the described workload. There are a lot of steps between vanilla git and building your own VCS from zero.

    If I was an investor I would be on the phone with Dario asking why we are wasting engineering talent on reinventing source control and churning the product with 30k pulls per day.

More from this day

2026-10-13