From My ThoughtsWill humans, as human beings, give AI their place or not?
AI agents

OpenAI built an autonomous agent to catch ChatGPT's slowdowns. It only root-caused a third of what it investigated.

A new Codex-run system called the Performance Factory now finds and fixes ChatGPT performance regressions on its own. In three months it opened 1,700 investigations and closed 600.

·5 min read·2 sources
Codex Hunts Lag: illustration for this story

Here’s a number OpenAI put in its own engineering blog this week, and then mostly walked past: of the more than 1,700 performance investigations its new agent system opened in just over three months, it root-caused 600.

That’s about a third. Not even close to all of it.

OpenAI doesn’t say what happened to the other 1,100 cases. Did an engineer pick them up later? Did they just sit there? The blog post skips past it.

It calls the system the Performance Factory: an autonomous, cloud-based pipeline built on Codex that investigates and fixes ChatGPT slowdowns with very little human steering, by OpenAI’s own account. When a performance alert fires, an agent opens a task, digs through metrics and traces, and proposes a fix. An engineer merges it. Then a second agent checks whether the numbers actually recovered. This first workflow, which OpenAI calls the Regression Workflow, now runs about 17 automated investigations a day.

How it got here

OpenAI’s account of the build-up is a useful timeline on its own, because it shows how much manual work sat underneath before any of this was “autonomous.”

Before Codex, engineers debugged slowdowns by hand: reading logs, comparing traces, logging into live machines. Over time they built more than 30 specialized performance tools, because the same kinds of regressions, especially in ChatGPT’s first-token latency, kept recurring.

Codex showed up next as a research partner, not an autonomous worker. Engineers could ask it “why did this get slower” and it would search the codebase and pull traces, but a person still had to pick the tools and steer each step.

The turn came when OpenAI wrote its investigation process down as a shared, reusable skill it calls perf-forensics: when to use which tool, and how to work through a slowdown from alert to explanation. Once that skill existed, OpenAI says it could hand Codex an alert and get a diagnosis back in a single run, no step-by-step guidance required. From there it moved the work to the cloud, so an alert could kick off a Codex session automatically, and finally wired the whole loop, investigate, fix, verify, into the task-tracking system it now calls the Performance Factory. VentureBeat, which got an early look at the report, frames it the same way OpenAI does: a step toward AI agents that don’t just write code, but coordinate the review and verification work around it too.

Stage Who did the work How much a human steered
Pre-Codex Engineers alone All of it
Codex as partner Engineer plus Codex Every step
Reusable skill (perf-forensics) Codex, one alert at a time Just the alert
Human proxy Codex, copy-pasted by an engineer Routing only
Automated investigations Codex in the cloud Picking up the diagnosis
The factory Codex end to end Reviewing the pull request

What the factory actually checks

The system has four pieces, per OpenAI: a task tracker with configurable workflows written in Markdown, a dispatch loop that hands ready work to an agent, cloud infrastructure to run Codex under a scoped service identity, and subscriptions that wake an agent when something relevant happens, a deployment finishing, say, or a reviewer leaving a comment on its pull request.

The part worth sitting with is the quality control. OpenAI says a manual review of 100 of the system’s root-cause suggestions found 70% were accurate, with the rest needing more work or not fully establishing cause and effect. That’s the number that should frame everything else in the post: three in ten of the agent’s explanations for why something got slow were wrong or incomplete, by OpenAI’s own grading, before any of them shipped as a fix.

OpenAI says it addresses that with “adversarial review,” meaning separate Codex turns investigate the regression, then challenge the first turn’s diagnosis, before a fix gets proposed at all. It doesn’t say how that process changes the 70% figure, or whether the number was measured before or after adding the adversarial step.

My read

Automating the grunt work of performance debugging is a genuinely useful idea, and the timeline OpenAI lays out, from manual logs to a shared skill to a full agent loop, reads like a real engineering story rather than a product pitch. But the post is still OpenAI marking its own homework. A 70%-accurate root cause is a meaningfully different claim from “an autonomous system that fixes regressions,” and OpenAI’s own wording (“What we learned”) suggests they know this is early. The honest headline buried in there is that a third of 1,700 automated investigations didn’t produce a usable answer, and OpenAI doesn’t say whether those got picked up by a human afterward or simply closed out unresolved.

It’s also worth noting what this isn’t: there’s no claim here about ChatGPT getting measurably faster for users, just that regressions get caught and reportedly fixed faster internally. Whether that shows up as fewer slowdowns for people actually using the product is a separate claim OpenAI hasn’t made yet.

OpenAI has leaned on Codex for its own internal infrastructure before. It recently used Codex-built tooling as the basis for acquiring the Git startup Pierre just two days after explaining why it had built its own Git backend. The Performance Factory fits the same pattern: Codex isn’t just a product OpenAI sells, it’s becoming the tool OpenAI uses to run OpenAI.

OpenAI's figures (1,700+ investigations, 600 root-caused, the 70% accuracy review) are self-reported in its own blog post and have not been independently verified by anyone outside OpenAI.

Note on sources

I read OpenAI’s full engineering post, not a summary of it, and I read VentureBeat’s report on the same release in full. I did not see any other outlet publish original reporting on the Performance Factory before this post went up; the X/Twitter thread from OpenAI Developers only restates the blog post. Every figure in this piece traces back to OpenAI’s own account, and VentureBeat’s coverage adds framing and context, not new numbers.

Sources

  1. OpenAI: How OpenAI’s Performance Factory keeps ChatGPT fast
  2. VentureBeat: Exclusive: OpenAI reveals Performance Factory, a Codex-powered software optimization system that keeps ChatGPT fast