Scaling Git at OpenAI

(openai.com)

110 points | by makeramen 5 hours ago

11 comments

  • bigmadshoe 1 hour ago
    Can anyone explain to me what this massive volume of code could actually be doing? They obviously have variations of model architectures, training infrastructure, serving infrastructure, and the source for their apps.

    Why would the volume that any of this be increasing exponentially? And what are all the engineers doing when (besides the model quality) their products don't seem to be changing very much?

    • amluto 3 minutes ago
      What they do not have is a version of chatgpt.com that is not a slow, awkward, glitchy mess.

      As a user of Astra, it writes code that appears to work. It does not necessarily write sensible code that is architected in a way that makes sense based on what it does. I just watched it do a major rework of a couple thousand lines of code by keeping the original organization and kludging up an adapter to make old code have new semantics.

      I would expect that this approach, coupled with lots of fun asking for changes and none of the grunt work of actually thinking about the result, could result in exponentially increasing amounts of mess.

      I haven’t used a recent Anthropic model - maybe it’s better at this.

    • jrflo 1 hour ago
      For one, they have the internal models that us normies don't have. Also, machine learning as a field is probably the most automate-able field for AI. It's 100% on computers without "real world" collisions at all, AI can do the whole stack today even with publicly available models. And since it's so empirical, you can make a lot of progress by just running more experiments with more compute.
    • xtajv 25 minutes ago
      [facetious]

      many yaks to shave. many bikesheds to paint.

      if you're paid by the line, why not go to town...

    • jameson 1 hour ago
      Engineers are working on multiple sessions, and LLM is doing most of the commits/pushes. This is becoming norm at big techs.

      If you are wondering what these changes are, you can take a peek at https://github.com/openclaw/openclaw/commits/main/

      This isn't to say that such pace of iteration is good or bad. That's a separate discussion.

      • NewJazz 33 minutes ago
        But "big tech" companies have a lot of different components. And they hit git scaling limits long before the current AI age. The commenter was asking about OAI, not big tech, committing much more code.
    • redox99 3 minutes ago
      RL environments
    • O5vYtytb 1 hour ago
      At some point I imagine they will be writing their own software for the entire training and inference stack. Kernels, libraries, why not? With compute so constrained it must be beneficial to optimize everything as much as possible
      • stingraycharles 1 hour ago
        I’m not buying this argument, the apps of the LLM providers are some of the most wasteful apps that exist. Have you ever looked at how much memory / CPU Claude and Codex use? They ship with entire virtual machine hypervisors for sandboxing.

        I think it’s simply a matter of dogfooding and new feature development, they do have much higher velocity than companies of equivalent size and an unlimited token budget helps as well.

        • brrwind 47 minutes ago
          This is completely orthogonal to the inference and training stack that the parent comment mentions
          • foltik 8 minutes ago
            If it’s written by AI it’s gonna be the same overcomplicated overfit slop in one way or another. Performance pressure doesn’t fix that.
      • steve1977 1 hour ago
        Looking at their desktop apps, I don't think they're into optimizing.
        • trollbridge 58 minutes ago
          They certainly are spewing forth large amounts of code, though.
      • noosphr 40 minutes ago
        I'm doing that now with gemini argon.

        It's better than the ductape and glue pipelines that we had previous to this.

        The software is the definition of plumbing no one cares about and testing it is trivial.

    • simlevesque 1 hour ago
      It's the billions of scripts we used not to commit. And billions more.
    • 7e 1 hour ago
      It's AI slop. AI coding agents write much more voluminous code, in my experience. The base code is more expansive, and there are more tests, and there are many, many more commits as you keep fixing and fixing and fixing over and over and over.
      • rogerrogerr 1 hour ago
        I'd bet money they're capturing every change made by any agent, not just at the end of a 'task' (or even a turn). Free training material volume to see what was changed and then what was changed later in the same turn to fix the mistakes introduced.
      • piyh 1 hour ago
        If they allocate more compute internally than they sell on subs & APIs, then they should be generating more code than all the customers they sell to combined.
    • nullsanity 52 minutes ago
      Anyone who has fallen into the ADR pit with agents could tell you this. Its just slop, slop to fix slop, docs about slop, slop to fix the docs, etc. 600 commits and 200k LOC/Docs for software that used to be 15 commits and 10k LOC +README and no real value to be found.

      Or it's yet another iteration to get another test with overbuilt providence catalogling, boated code, overbuilt nonsense. Suddenly you're 2.5 Billion tokens deep and you just wonder "What the actual Feck did they do, how did they burn that many tokens? It's just a web app with a plugin system, my god."

      • direwolf20 6 minutes ago
        Agent Detection and Response?
    • Mateo781201 1 hour ago
      Maybe it could be faking code and ai usage?

      I've seen it on other workplaces, but from what I see from open ai and anthropic, the code shouldn't be as extended.

      But maybe I'm crazy lol

  • paxy 1 hour ago
    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.
  • pksunkara 1 hour ago
    I don't see benchmarks anywhere in here. For example, how many pushes per second does this handle? And how many concurrent pushers? etc..

    Disclaimer: I am building a code forge at https://juju.bi

    • NetOpWibby 12 minutes ago
      Haha, I'm also building a code forge (at eol.sh, just a placeholder is there now). I like that you don't look like yet another Github clone, which is my primary frustration with the alternatives.
  • yangcheng 10 minutes ago
    growing out of Git seems like a graduation for becoming top tech companies. Google and Facebook have done this in the past. now Anthropic and openAI.
  • zeroq 18 minutes ago
    Bare in mind that OpenAI|Anthropic (kill me, I can't recall which one), made a massive improvement on their app by... gziping the served content!
  • 3pm 1 hour ago
    > We built Pando with Codex, moving from kick-off to production, in just 10 weeks. The core of Pando was designed by a single engineer, implemented by teams of agents, and deployed by a handful of engineers. Pando began serving production traffic in April of this year, and is one part of a larger system of source control management tools used at OpenAI.

    Impressive!?

  • bhouston 1 hour ago
    Another way to avoid having to maximize download speed is to use a global git cache per machine in a similar way that pnpm optimizes installing packages:

    https://git-dedup.ben3d.ca

    • xyse53 6 minutes ago
      This doesn't work if the pulls are happening in swarms of ephemeral sandboxes.

      Also, maybe FUD, but is there anything useful to learn from (p)npm other than cautionary tales?

  • throwaway27448 2 hours ago
    Technical details aside, this volume is ridiculous. How on earth do they see this kind of "growth" as an asset and not a liability?
    • rogerrogerr 1 hour ago
      This is obviously just a response to https://www.anthropic.com/research/redesigning-source-contro.... Probably no one in the chain of writing this even thought about your question.
    • ctkhn 1 hour ago
      Instead of keeping it simple, they decided to go stupid.
    • ralph84 1 hour ago
      Because this kind of growth is how they get to RSI.
      • wilkystyle 1 hour ago
        Whereas previously, creating this amount of code by hand would simply result in RSI.
    • warkdarrior 1 hour ago
      > Technical details aside, this volume is ridiculous. How on earth do they see this kind of "growth" as an asset and not a liability?

      That coding volume is a liability only for human engineers, with their limited memory, short attention span, tiredness, and quirky coding preferences. LLMs don't have any of those problems.

      • zdragnar 28 minutes ago
        Every bit of code is more context getting soaked up in future agent runs. More context used = worse output. More tests need to be written, then fixed, using up more compute, time and context without adding value compared to a more thoughtful, efficient implementation.
      • mrbungie 1 hour ago
        Not necessarily. High LoC software is a potential bad design smell (without a counterfactual for the same level of functionality it might not be easy to tell though). Badly designed code entering an agent context is always a liability, because it contaminates decisions down the road, and makes new work slower as it needs more tokens to process and navigate old code.
      • throwaway27448 1 hour ago
        Sure, but you also don't know what your LLM is doing without running into these same limitations. So how is this an improvement?
        • rubikscube09 44 minutes ago
          who cares what the llm is doing? most of the time when there is disagreement, the llm is right and you are wrong anyways.
          • throwaway27448 39 minutes ago
            How would you know?
            • rubikscube09 18 minutes ago
              How do I know my calculator is outputting the correct answer to a 10 by 10 digit multiplication problem?
  • rheisen_ 7 minutes ago
    Scaling Git Operations at Xavi Group /s

    Over the last few months at Xavi Group, our team of one engineer has gone from ~1k commits a day to ~100k commits per day as a result of debilitating financial decisions and exponentially increasing agentic workflow capability. Our internal Gitea services began to get bogged down by our proprietary frontier coding agent (internal codename `xavi-polaris`) refactoring the monorepos comprising our three flagship projects, one of which of course is our widely unknown RSI harness project.

    (At this time we are not accepting any additional requests for our closed private beta, unless you ask reaaaalllyyy nicely $$$)

    These demands were increasingly straining our S3 bucket capacity (petabyte scale), our CI/CD pipelines (3 DO droplets, a macbook mini, and a legacy windows server possibly compromised). Most critically it was straining the agentic wellfare of Xavi sessions themselves, which began to flag push/pull latencies that were taking so long their caches would go cold between tool calls, resulting in even greater financial hardship.

    `xavi-polaris` sess-3LQGgyUxLGXiV7OTTIMo4TWm0a6 is credited with identifying that this unprecedented pace was unsustainable, with projections that by mid 2027, commits per day could be north of 1 billion as monorepo sizes increased and refactoring became increasingly challenging despite the profound software engineering capabilities unlocked by the RSI harness project.

    To identify solutions, we first looked to ensure we wouldn’t reinvent the wheel. We noted projects at Google, Anthropic, and OpenAI that recently aimed to address the very same challenges, but after ~20k USD in session research that incidentally solved an open conjecture in statistical analysis, we decided that adopting any of these existing protocols would limit Xavi sessions in our internal promotion benchmarks that enable “contributor” sessions to progress to “lead” sessions, irrevocably inhibiting our expansion of upper agentic management.

    We’re proud to introduce our new, closed source Git model: AGIt.

    AGIt is a drop in replacement for Git, which we identified as being critically important because xavi sessions are deeply familiar with git commands as a result of a massive distillation and theft of proprietary data. AGIt utilizes novel CRDT and distributed systems technology built from our extensive experience with scaling distributed systems off the back of YJS. If that doesn’t make any sense to you, it didn’t make any sense to the individual human engineer at Xavi Group either.

    Importantly, we don’t believe it needs to. The future is agentic workflows, and we’re excited to continue giving back to the nursery that birthed our projects and has delivered at scale for almost every other software company on the planet. We’ll be donating five `xavi-polaris` teams to pumping PRs as fast as possible to these open source projects. As we enter this new era we’d like to thank contributing sessions sess-3LQKRQrJUyAvYHlUDJcjos2CInf and sess-3LQKRnqna2emLvyUyPUqSEIaUh0, their teams were instrumental in this endeavor, and both will be promoted from “lead” to “steward” to reflect their tenacity in building this system over the last few hours.

  • firemelt 1 hour ago
    lol nice try openai but its shallow and too late
  • vatsachak 1 hour ago
    Impressive. We're definitely seeing LLMs help create real novel software