IT

OpenAI builds a Git backend that cuts push delays nearly fivefold

Pando runs all development in OpenAI's monorepo, serves nearly a petabyte of Git data a day and keeps the standard Git client.

By Giovanni Sapere
3 min read

ShareLinkedInFacebookX

OpenAI builds a Git backend that cuts push delays nearly fivefold
Photo: Luke Jones / Unsplash

OpenAI engineers built a new backend for Git, the version-control system many software teams use, and it now powers all development in the company's monorepo, a single repository that holds many projects. In production it cut median push latency by nearly 5x, OpenAI's engineering post says, and it delivers nearly a petabyte of Git data per day. The system keeps the Git protocol and client, so engineers and software agents go on using their existing workflows.

Reliability fell below 90% before Pando

OpenAI says its monorepo grew at a staggering pace over the past year. Codex, the company's artificial intelligence coding agent, let engineers do far more work in parallel, which meant more branches and pushes, more merges, and more fetches and clones from development environments, research jobs and CI. The load compounds: one engineer can have several changes ready for CI at once, and each push can set several jobs fetching the same commit. From around the end of last year the supporting systems struggled with slow fetches and pushes and failed merges, with reliability at times falling below 90%. OpenAI built Pando without interrupting engineering work or changing how its team uses Git, and the post is signed by staff engineers Aaron Friel, Taylor Blau and Ted Nyman.

“In production, Pando cut median push latency by nearly 5x. It now delivers nearly a petabyte of Git data per day.”

: Aaron Friel, Taylor Blau and Ted Nyman, OpenAI

Each branch updates on its own

Scaling source control has two dimensions, OpenAI writes: many writers pushing to different branches, and many readers fetching the same history. Pando coordinates updates to each branch independently. Pushes to unrelated branches run in parallel, and a reader fetching a branch gets the history needed for that revision. The cost is explicit in the post: a reader looking at several branches can see them at different points of time. In exchange the design gives horizontally scalable writes, the first of the two goals OpenAI set. A repository is, in Git's terms, a graph of immutable objects (blobs, trees, commits, tags) plus references that point to commits, and Pando leaves that model alone.

Read also on The Patent: Seoul National University Cuts Mobile AI Data Traffic by Up to 14.5 Times · Nanomagnets do power-law maths without calibration, Chinese team shows · Paderborn University builds a reprogrammable photonic quantum computer · MIT builds a superconducting memory cell that keeps a bit without power

Leafless tree under white sky Photo: Viktor Talashuk / Unsplash

One packfile serves many readers

Git stores objects loose, one file each, or packed together. A packfile is Git's format for compressing many objects together, encoding one as a delta against another. Pando reuses packfiles across fetches instead of building a separate one for every client. A client may download some objects it already has, but the server sends the same bytes to many clients with little computation, which is how OpenAI targets the second goal: read throughput high enough to saturate a client's network bandwidth. During a normal fetch the client tells the server which commits it wants and which it holds, and the server sends the rest as a packfile.

Why OpenAI kept Git instead of replacing it

Git came out of a community that exchanged kernel patches by email, and developers have shaped their tools around it for more than two decades. OpenAI says it mattered to keep building on that work, and that improvements to the client could be useful beyond the company. It took changes from its own copy of Git and contributed them upstream. That is an argument about the ecosystem and long-term innovation as much as about speed: compatibility with the Git protocol means the tens of millions of developers already trained on the tool, and the agents now driving the load, do not have to learn anything new. OpenAI says it will keep contributing to Git to support work at agent scale.

What to watch

OpenAI has not published a figure for failed pushes after Pando, only the median push latency and the daily volume of nearly a petabyte. The post ends with a promise of further upstream contributions rather than a date. Codex remains the stated source of the load: the more agents push in parallel, the more the branch-by-branch model and the shared packfile caches are asked to carry.

Human-Edited, AI-Assisted