Developer Rebuilds Anthropic's Scion in Go, Hitting 2,500 Lands per Minute
An independent open-source take on Anthropic's internal Scion gives teams a Git-compatible server built for swarms of coding agents landing changes in parallel.
Takeaways
- gitai is an open-source Go implementation of Anthropic's internal Scion version control system, MIT-licensed.
- Server-centric design: clients stay online, history and blame run server-side, changes land via compare-and-swap.
- Benchmark shows 1,862-2,544 lands/min vs classic Git's 240-272, with p99 latency dropping from 6.3s to 1.5s.
- Pluggable conflict resolver works with any LLM provider, deterministic tool, or none; server never calls a model.
- Storage backed by SQLite/Postgres plus object storage (S3, GCS, Azure); server nodes are rebuildable caches.
- Available now at feder-cr/git-ai, v0.2.0, 2.5k stars, not affiliated with Anthropic.
Anthropic recently published the architecture of Scion, its internal version control system for code produced by large fleets of coding agents, without releasing the implementation. Developer feder-cr responded with gitai, an MIT-licensed Go project that applies the same server-centric design. At publication, the repository had about 2,500 stars and 275 forks. It retains real Git repositories underneath, preserving compatibility with existing Git tooling.
Why agents jam classic Git
Anthropic says its average volume rose from roughly 2,500 merged code changes per day in May 2026 to more than 30,000 per day by September. Traditional Git workflows assume that each worker clones a repository, works locally for an extended period, and pushes occasionally. Coding agents can instead launch thousands of short-lived tasks that touch a few files and try to update the same branches within seconds. At that concurrency, full clones, repeated history walks, merge queues, and competing reference updates constrain throughput.
Scion centralizes those operations. According to Anthropic’s description, its client maintains a bounded object cache, writes working-copy files, and watches the filesystem. The service handles history queries, blame, commit creation, merges, and rebases. gitai follows that model, so delegated operations require a live connection and clients store less repository state locally.
What gitai moves to the server
gitai implements the published Scion concepts as a Go service built from a fork of GitLab’s Gitaly, the storage layer that performs Git operations for GitLab. Its main components include:
- Atomic, batched landing: The landing service rebases a proposed change onto the current branch tip, then uses compare-and-swap to update the reference only if that tip still matches the expected commit. Concurrent changes targeting one branch can share a single reference update.
- Ordered changeset log: Every accepted reference update enters an ordered log that clients can list or watch. Each entry records the agent responsible for the change.
- External conflict resolution: A pluggable protocol can call an LLM-backed resolver, a deterministic tool, or no resolver. The core service does not invoke a model directly.
- Remote history queries: Blame, path history, ancestry, and code search run centrally. Derived results are cached per commit to avoid repeating the same work.
- Durable storage: SQLite or PostgreSQL stores the changeset log and reference state. Git packfiles, which bundle repository objects, can live on a local filesystem, Amazon S3, Google Cloud Storage, or Azure Blob Storage. Service nodes operate as rebuildable caches.
- Agent-specific controls: Per-agent tokens, an RPC allowlist, and branch policies restrict the operations available to each identity.
- Post-land verification: The included
graft-verifytool tests the branch tip, bisects failures, and can revert the change that introduced a failure.
Benchmark: batching raises throughput
The repository includes a reproducible benchmark in which 50 agents each attempt to land five changes on the same branch. The test engineers conflicts into 20% of the 250 proposed changes and runs on a 16-core machine. Its baseline uses the project’s “Classic” mode with batching disabled.
| Metric | Unbatched baseline | Batched gitai |
|---|---|---|
| Changes landed, of 250 | 100–101 | 200 |
| Attempts per landed change | 27 | 1.0 |
| Lands per minute | 240–272 | 1,862–2,544 |
| p99 latency | 6.3–7.0 seconds | 1.5–1.8 seconds |
These results come from the project’s benchmark and have not been independently validated. The batched run leaves 50 changes unmerged because they contain the planned conflicts and the test disables conflict resolution. The maintainers report that enabling the deterministic resolver allows all 250 changes to land.
From clone to local server
A local build requires Linux or macOS, Go 1.26, and a C toolchain. The quick-start script launches a service, a cache daemon, and two agents in a temporary directory, then performs a landing operation:
git clone https://github.com/feder-cr/git-ai.git
cd git-ai
make build
examples/graft/quickstart.sh
./_build/bin/graft
A deployment uses examples/graft/config.toml and starts with gitaly serve. The [graft.storage] section selects SQLite or PostgreSQL for metadata and configures the object store. The maintainers recommend beginning in shadow mode, where repositories are imported while the existing Git service remains authoritative, and switching gitai to authoritative mode after validation.
Where the tradeoff pays
The architecture targets large monorepositories and environments where CI jobs, agent sandboxes, and long-running coding agents compete to update the same branches. Smaller teams are unlikely to recover the operational cost of running a database, object storage, cache nodes, and an always-online landing service. The relevant threshold arrives when branch contention and merge-queue latency limit the rate at which automated work can land.
gitai remains at version 0.2.0, and its interfaces may change before 1.0. Documented gaps include garbage collection for packfiles in the storage core. Teams evaluating it should test failure recovery, access policies, migration behavior, Git-tool compatibility, and benchmark performance against their own repositories and agent workloads. In its current form, the project provides a runnable implementation for exploring the server-centric source control model Anthropic described.