opensourceprojects.dev

A broadsheet for software that doesn't ask for your email

An open-source take on Scion: Git hosting for AI agents
GitHub RepoViews4

Project Description

View on GitHub

Git Wasn't Built for Hundreds of Agents Pushing at Once

If you've ever watched a coding agent spend more time cloning a repo than actually changing code, you've run into the wall that Git hosting was never designed to handle. Anthropic described an internal system called Scion to fix this, but it's not public. gitai is an open-source implementation of that publicly described design, and you can run it yourself.

What It Does

gitai is a version control server built for the way coding agents work: thousands of short-lived tasks, each touching a few files, all trying to land on the same branches within seconds. Instead of expecting clients to clone everything and work offline, it moves the heavy lifting to the server. Clients stay online and fetch only the objects and trees they need, while history queries like blame, path history, and ancestry run server-side and get memoized as derived data—computed once per commit. Code search also runs on the server, without an index.

Underneath, it's normal Git repositories. Each change is stored as a changeset in a write-ahead log, backed by SQLite for a single node or PostgreSQL for scale-out, with packs living in object storage (file, S3, GCS, and others). Servers are stateless, so you can add more of them. It's MIT licensed, and the server never calls a language model—every AI feature is vendor-neutral and works with any provider, or none.

Why It's Cool

Landing doesn't need a merge queue. The UserLand operation rebases a change onto the current tip and lands it with a compare-and-swap. If multiple agents land on the same branch concurrently, those lands get batched into a single reference update. That's a fundamentally different model from queuing up pushes and hoping the order works out.

Conflict resolution is a proposal, not a verdict. When a land conflicts, a resolver you choose—any LLM provider, a deterministic tool, or nothing at all—takes a crack at it. Here's the part I like: a model's resolution only lands by itself if the verify.command you configure passes on the exact tree that would land. Otherwise the agent gets the conflict package back with the proposal attached. Deterministic rules you configure don't need that condition of their own, though they're verified on the exact tree too when you turn on verify.enabled. It's a sensible guardrail against a model quietly merging something broken.

Every change has an author trail. Accepted reference updates are recorded with their operation and actor in a dense, ordered log that clients can list or watch live. In a world where dozens of agents are writing to one branch, knowing exactly which agent made which change—and when—stops being a nice-to-have.

Sparse by default. graft clone and graft sparse materialize only the paths you ask for, and ObjectService serves single objects and sparse trees. For an agent that needs three files out of a monorepo, that's the difference between seconds and minutes.

How to Try It

The README is the place to start—head to the repository for the current install instructions and setup details, since the truncated README doesn't spell out the full install flow here. What you'll want to look at:

  1. Clone the repo and follow the setup docs for either the SQLite single-node path or PostgreSQL.
  2. Configure object storage—a local file backend is the simplest way to get going.
  3. Point your agents at the server and use graft clone or graft sparse instead of a full clone.
  4. If you want AI-assisted conflict resolution, pick a resolver and set a verify.command so proposals get tested before they land.

Final Thoughts

gitai is an independent implementation of a design Anthropic described publicly, and it says so plainly—no affiliation, no endorsement. That honesty is a good sign. The project is aimed at teams running fleets of coding agents against shared branches, and if that's you, the compare-and-swap landing model and server-side history alone are worth a look. If you're a solo developer pushing once a day, you probably don't need this yet. But the space is moving fast, and having an open, vendor-neutral implementation of these ideas to build on and argue with is exactly what the ecosystem needs.


Follow @githubprojects for more developer tools and open source projects.

Back to Projects
Project ID: git-aiLast updated: November 25, 2026 at 02:48 AM