OpenAI's Pando: Scaling Git to a Petabyte a Day With 5x Faster Pushes

OpenAI has replaced the backend serving Git for its monorepo with a new system called Pando, which cut median push latency by nearly 5x and now delivers nearly a petabyte of Git data per day. Pando keeps the standard Git protocol and client intact, so engineers and agents continue to use the same git push and git fetch workflows while the server underneath was rebuilt for concurrent writes and high-throughput reads.

OpenAI says Pando now powers all development in its monorepo. The system was built with Codex, went from kick-off to production in 10 weeks, and began serving production traffic in April, according to the company's engineering post.

Why OpenAI needed a new source control backend

OpenAI rebuilt its Git backend because Codex-driven development multiplied the number of parallel branches, pushes, merges, fetches, and clones its monorepo had to serve. Starting around the end of the previous year, the systems supporting the monorepo suffered slow fetches and pushes and failed merges, with reliability at times falling below 90%.

The company describes the demand as compounding: one engineer may have several changes ready for CI at once, and each push can set several jobs fetching the same commit. Those fetches come from development environments, research jobs, and CI.

OpenAI considered whether it had hit a limit of Git itself or of how it served its monorepo. It chose to keep Git as the foundation of its workflow so that client improvements could be contributed upstream rather than kept proprietary. OpenAI maintains a public copy of Git at github.com/openai/git.

The two dimensions Pando optimizes: parallel writes and shared reads

Pando is designed around two scaling dimensions: many writers pushing to different branches, and many readers fetching the same history. It optimizes for both by relaxing two assumptions that most Git servers treat as requirements.

  • Repository-wide consistency. Providing a consistent, point-in-time snapshot of all refs requires coordination across the repository. In a system that orders all ref updates together, pushes to unrelated branches contend on a single coordination point.
  • Unique packfiles for every client. If two clients with different local histories fetch the same branch, the server may need to generate a different pack for each to avoid sending objects they already have. Creating these responses costs CPU and disk I/O, which makes it hard to scale to high volumes of readers.

Pando instead provides causal consistency to scale writes and reuses packfiles to scale reads. The tradeoff is explicit: a reader looking at several branches can see them at different points in time.

How Pando works: causal consistency and ref versions

Pando stores each incoming push as an immutable packfile in a blob store and records a ref version in a metadata store. A ref version contains the new branch tip, the pack that supplied it, and any earlier ref versions the pack depends on. Both the blob store and the metadata store are horizontally scalable.

Fetching a commit or reference from Pando means replaying a set of ref versions, and therefore packfiles, to the client. This reconstructs the state of the client that created the ref version being fetched. The result is a weaker form of consistency across the whole repository, but serializability for updates to individual refs. Clients only conflict when pushing to the same ref at the same time.

OpenAI gives a concrete example of what this means: if branches foo and bar are both updated during the negotiation of a full clone, one client may observe foo at version 1 and bar at version 2, while another client observes foo at version 2 and bar at version 1. OpenAI argues that users and agents are agnostic to the global ordering of ref updates and instead depend on the order of updates to a single reference.

The push path

When a client pushes, Pando streams the incoming packfile to blob storage and validates it with a single-pass decode, without unpacking it into a local repository. It then uses a multi-key transaction to record a ref version in the metadata store and atomically update the ref pointer, which provides read-your-own-write consistency. OpenAI states that this entire write operation requires O(1) metadata reads and writes.

Pando deliberately advertises only a subset of refs to pushing clients. OpenAI gives two reasons:

  1. Providing a consistent view of every ref is expensive. With millions of branches, the ref advertisement alone can exceed 100 MiB, and serving it requires either significant coordination overhead or a database query that scales with the number of refs.
  2. Advertising a subset means the client generates a pack that depends only on what the server explicitly allows it to exclude. Tracking those dependencies lets Pando reuse the packfile a client generates in one push as the response to a later fetch.

By default, when a client pushes a new feature branch, Pando advertises only a designated trunk branch as a base. That keeps the advertisement the same size as the repository gains branches, at the cost of larger successive pushes when an engineer pushes to one branch many times or stacks feature branches. In OpenAI's monorepo, the median packfile produced this way was under 20 KiB, and the 99th percentile was under 3 MiB.

The fetch path

A client fetch supplies the server with haves and wants. A conventional Git server computes the set difference among objects reachable from the haves and wants, compresses the result, and sends it. Pando instead uses the commit mappings recorded on pushes to resolve haves and wants to a set of ref versions, each linking to a packfile Pando already received, and selects the packfiles that cover what the client needs. OpenAI states this requires O(log Δ) metadata reads, where Δ is the shortest distance in ref versions between what the client has and what the client wants.

The Git protocol allows only one packfile in the HTTP response to a clone or fetch, but the packfile-uri feature lets a server return links to download additional packs separately. Pando uses packfile-uri exclusively and transmits an empty packfile inline. OpenAI contributed improvements to packfile-uri upstream to support this.

Pando clusters run in many geographic regions with local caches. A pack delivery service called Express caches the blob store, and a separate service caches the metadata store. Requests for a packfile are routed to Express servers using consistent hashing, with cache hit rates above 99%. OpenAI says clone and fetch operations saturate 10 Gbps network links using only standard cloud provider virtual machines.

Compaction and time to first byte

Pando cannot send a separate packfile URI for every push since the last fetch, because a client would need to download tens of thousands of packfiles per day to catch up its trunk. Instead, background workers combine packs using a design similar to compaction in log-structured merge-trees.

Each push produces an "L0" packfile, the smallest unit Pando transmits. Background workers collect these into covers spanning sequences of ref versions, scaling geometrically from L0. OpenAI's monorepo currently uses up to L4 packfile covers. A sufficiently full cover can be claimed by a compaction worker and repacked into a single packfile, which improves compression and acts as a skip list over ref versions. Scanning indexes at each level simultaneously lets Pando select packs to send in logarithmic time.

Unlike many Git servers, Pando keeps packfiles at every level rather than discarding or garbage collecting them, and serves clients from all levels based on their haves and wants.

Why OpenAI rejected three-phase commit and write-ahead log designs

OpenAI evaluated two conventional approaches for scaling Git before building Pando.

In a three-phase commit (3PC) design, the Git service keeps a complete copy of the repository on several replicas. A push copies the incoming packfile to all replicas in parallel, and a majority must accept the ref update. Each replica locks its copy of the ref and checks the expected commit, the coordinator sends a pre-commit message, and after a majority acknowledges, the coordinator tells replicas to perform the update. References are updated one at a time, and each push requires multiple round trips. Waiting for a quorum puts replica disk performance and communication latency on the push path.

In a write-ahead log (WAL) design, the service uses a shared manifest in blob storage to order updates across the repository. A server uploads the packfile to blob storage, prepares the ref update locally, and adds an entry to the shared manifest using a compare-and-swap operation. Writers can upload packfiles in parallel, but even pushes to unrelated branches require updating the same manifest, so the round-trip time for a successful compare-and-swap limits how often a new manifest can be published.

OpenAI reports that in both real-world testing on its monorepo and in a simulation of the three consistency models, the modeled 3PC system showed significantly greater write latency under load as disks saturated, while the WAL system showed significantly greater read latency as servers struggled to keep up with reading from the journal. In the simulation, 1,000 clients each select a distinct branch and repeatedly push unique commits while the system measures total wall clock duration and push-to-fetch latency. OpenAI says Pando supports many thousands of clients pushing concurrently without impacting performance under load.

Because Pando servers primarily perform negotiation and packfile selection rather than unpacking and repacking, they can run on commodity hardware. OpenAI says the system scales to the limits of clients, the network between clients and Pando, and the blob storage service.

How Pando was built and deployed

OpenAI built Pando with Codex in 10 weeks. The core was designed by a single engineer, implemented by teams of agents, and deployed by a handful of engineers. Pando is implemented in Rust without legacy dependencies.

Validation included a conformance test suite so agents could test changes against standard Git behavior, and deterministic simulation testing harnesses to check invariants and find race conditions in negotiation and pack planning. OpenAI says agents used GPT-6 Astra to write Lean and TLA+ formalizations of a "theory of Pando" to find and fix bugs and prove properties of the system, with multiple continuous sessions running for hundreds of hours. Agents also red-team Git and Pando around the clock using Daybreak-capable models.

The initial deployment was a read- and write-through proxy to the existing source control system, keeping both in sync so traffic could move without downtime. Pando's caching design also deduplicates and combines requests before proxying, which OpenAI says kept existing tools healthy as workloads migrated one at a time. OpenAI shipped its public distribution of Git to developer machines and inside the ChatGPT desktop app, and used an internal wrapper around the Git CLI to migrate clients in phases. It also migrated hundreds of integrations that depended on legacy APIs, webhooks, and repository downloads.

OpenAI reports that switching to Pando improved merge reliability and reduced median push latency by nearly 80%. Pando can deliver a petabyte of Git data per day with just a handful of CPU cores, and has served more than 57 terabytes of Git packs in a single hour, with more than 99% of those bytes coming from local disk cache.

What OpenAI contributed back to Git

Building on the Git protocol and client surfaced bugs and performance opportunities that OpenAI contributed upstream. Serving reusable packs directly to clients made downloading and indexing packs central to performance, which exposed edge cases in concurrent downloads, cleanup after interrupted transfers, and resuming completed downloads. OpenAI fixed those paths, added validations when accepting an existing pack for a fetch, and contributed the work upstream.

OpenAI also added tracing for packfile-uri downloads and byte counts for pack generation, so it is easier to tell whether a slow fetch is spending time generating packs or transferring them. In OpenAI's Git build, the client can download and index independent packs in parallel. OpenAI added the concept of "explicit haves" so a server can advertise a branch's current tip separately from the history a pushing client may leave out of its pack. On Pando, this lets clients use --force-with-lease to check that a feature branch has not moved and build its pack against trunk alone, so anyone with that trunk history can fetch the branch using the same pack.

OpenAI says several of these improvements are already in upstream Git, with many others in its public repository, and that it is continuing to work with the Git community. The company maintains a public patch tracker at oai-git.openai.chatgpt.site.

What's next

OpenAI says Pando unlocked greater parallelism, improved merge reliability, and reduced the time to publish code changes in its monorepo. Beyond the monorepo, the company is exploring other uses for Pando inside OpenAI, including workloads where large numbers of agents need to collaborate on a shared Git repository. OpenAI says it is exploring ways to share the technology behind Pando with its users.

What the Hacker News discussion adds

The Hacker News thread on the post was divided between technical appreciation and skepticism about the framing and the underlying premise that commit volume is a meaningful metric.

Several commenters placed Pando in a broader trend of large AI labs and code hosting companies rebuilding source control. One commenter listed the OpenAI post as the fifth major article on the topic, citing earlier write-ups from Cursor, GitHub, Anthropic, and another GitHub post, and asked how much cross-pollination of ideas exists between the teams:

"I'm wondering how much cross-pollination of ideas and subsequent implementation details there are between people working at these companies. It does seem like all of this could potentially converge."

Another commenter framed leaving Git as a rite of passage for large technology companies, noting that Google and Facebook did it in the past and that Anthropic and OpenAI are now following.

The writing itself drew praise for being technical rather than promotional:

"While I don't have any particular interest in the topic this is a great blog post. No AI in every second line, no needless marketing or hype. Just a bunch of engineers talking in their own voice about a topic in great detail with numbers, charts, visualizations."

Missing benchmarks and the trust question

The most concrete technical criticism was that the post lacks throughput benchmarks. One commenter, who said they are building a code forge, asked for numbers the post does not provide:

"I don't see benchmarks anywhere in here. For example, how many pushes per second does this handle? And how many concurrent pushers? etc."

Another commenter raised a security concern about Pando's push path, which validates the incoming packfile while streaming it to blob storage without unpacking it into a local repository:

"Wasn't this flagged as a big risk, as it seems to place complete trust in the client? Especially with all the rogue agents and containment/monitoring failures we have seen in 2026? Would love to hear how the validation is deemed sufficient."

A separate commenter flagged the expanded attack surface as a downside of moving away from standard Git infrastructure.

The monorepo debate

Commenters questioned whether the problem is Git or the monorepo. One noted that it is "always the monorepo people who hit git performance issues," and another asked whether splitting into private packages in separate repositories would scale better or simply produce different problems. A third commenter observed that monorepos are increasingly being adopted at frontier labs specifically to improve agent-scale development performance, and asked whether others have seen the same.

Is commit volume a meaningful metric?

The strongest recurring objection was that commit volume says little about product progress. One commenter asked what the massive volume of code could actually be doing, given that OpenAI already has model architectures, training infrastructure, serving infrastructure, and application source, and questioned why any of that volume would grow exponentially. Another described the volume as a liability rather than an asset:

"Technical details aside, this volume is ridiculous. How on earth do they see this kind of 'growth' as an asset and not a liability?"

A related comment argued that the number of commits, without looking at content, is at best a loose proxy for the speed of change and says little about whether the work is useful, asking whether the goal is to flood commit messages as documentation or to change code faster than any engineer can track.

Others were more measured, noting that they will never work at this scale but value reading how different teams approach the problem, and wondering whether these techniques will trickle down into regular practice as everyone commits more and faster. One commenter drew a direct connection to recent reliability problems elsewhere: "The key thing I realized is now I understand why github's infra struggled so much lately."

Alternative approaches and reactions to the build story

Commenters proposed alternatives, including adopting the Google model to avoid Git's complexity and footguns, and using a global per-machine Git cache similar to how pnpm optimizes package installs. One commenter praised the use of packfile-uri as a smart adaptation of an existing system, and another said they wished the post had said more about using both Lean and TLA+, since the two tools prove specifications in very different ways.

The claim that Pando went from kick-off to production in 10 weeks, with its core designed by a single engineer and implemented by teams of agents, drew a terse "Impressive!?" from one commenter. The thread also produced several satirical posts parodying the genre of AI-lab scaling announcements, including one describing a fictional "Wish Driven Development" system and another describing a fictional closed-source Git replacement called "AGIt." One commenter dismissed the announcement as marketing aimed at business readers rather than engineers.

Sources

Related