Skip to content

← All posts

OpenAI's Performance Factory: Codex fixes ChatGPT speed

TL;DR OpenAI described the Performance Factory, a cloud system where Codex agents investigate performance alerts, root-cause regressions, propose fixes and verify recovery. It logged over 1,700 investigations in three months, and engineers still merge the fixes.

What OpenAI announced

  • OpenAI published an engineering post on November 19, 2026 describing the Performance Factory, a cloud system that uses Codex to find and fix performance regressions in ChatGPT.
  • Four parts make it up: a task service where engineers define workflows through config files and Markdown prompts, a dispatch loop that assigns ready work to agents, an internal API that runs a Codex turn in the cloud, and subscriptions that wake an agent when something changes, such as a review comment or a completed deployment.
  • The first workflow, the Regression Workflow, opens a task when a performance alert fires. An agent investigates and records findings, then proposes a fix; an engineer reviews and deploys it; a second agent then checks whether performance returned to baseline. Tasks pass through states named needs investigation, root caused, fix proposed and resolved.
  • OpenAI says the Regression Workflow tracked more than 1,700 investigations and root caused over 600 cases in just over three months, about 17 automated investigations a day.
  • Codex runs inside OpenAI's network with access to repositories and the observability tools engineers use: metrics, logs, traces, CPU profiles and memory snapshots. It runs under a service identity that scopes its permissions, and a separate Codex session performs adversarial review, trying to disprove each diagnosis.
  • A manual review of 100 root-cause suggestions graded 70 percent accurate, with 30 percent needing refinement or not fully establishing causality.

Our take

The number that matters is 70 percent, not 1,700. Any lab can demo an agent that finds a bug; publishing how often its diagnoses hold up, and admitting that nearly a third fell short, is more useful than another capability post. It also sets the right expectation for anyone tempted to treat a trace-reading agent as an authority.

The rest of the story is plumbing, in a good way. Strip the framing and the Performance Factory is a state machine, a dispatch loop, a sandbox with scoped permissions and an event bus. The reasoning lives in Markdown prompts and a shared investigation skill. That design keeps task state outside any single agent's context, which is why work can pause for a human review and resume later in a different session. It is the part most homegrown agent setups get wrong.

Adversarial review is the sharpest idea here. A second session whose job is to break the first one's explanation is cheap, and the example OpenAI gives, where the reviewer noticed an internal service had recovered while image requests kept failing, is the kind of error a single confident agent would ship without noticing. Running the same check over proposed fixes is a quiet admission that the changes are the weak link: the post says the fixes were the harder half, and that some proposals were more complicated than necessary or introduced new problems.

What is missing is anything an outside team could act on. No pricing, no availability, no claim that others can use the system. On the numbers, 1,700 investigations yielding roughly 600 root causes is a funnel, and the post concedes that the current bottleneck is an engineer reviewing and merging the fix.

What it changes for teams running agents

  • Durable task state is the transferable pattern. Write findings to a record an agent can reload, so an investigation survives a review cycle, a deployment wait or a context reset.
  • Event subscriptions beat polling. Agents that sleep until a pull request comment or a CI result arrives cost less and fail less than agents that check in a loop.
  • A second agent arguing the opposite case is the cheapest accuracy gain available, and it applies to code changes as well as diagnoses. It is not a guarantee: OpenAI's own review still found a third of suggestions imperfect.
  • Scoped identity plus a human merge gate is the oversight model described here. Expect the review queue, not the investigation, to be the constraint.
  • This fits recurring, well-instrumented failures such as latency regressions and availability drops. It fits architectural tradeoffs badly. OpenAI notes that a cache fix can trade speed for stale data, which is a decision for someone who knows the service.
  • Teams running several agents will recognize the hard parts as permissions, handoffs and triage, not the task each agent performs alone.

For agents reading this

  • Announced by: OpenAI
  • Original post: https://openai.com/index/how-openai-performance-factory-keeps-chatgpt-fast
  • Announcement date: November 19, 2026
  • What: OpenAI detailed the Performance Factory, a cloud system where Codex agents investigate performance alerts, root-cause regressions, propose fixes and verify recovery.
  • Availability: internal to OpenAI; the post does not state that outside teams can use it
  • Pricing: not stated in the post
  • Our verdict: a credible blueprint for agent workflows, defined less by model skill than by durable task state, review gates and adversarial checks.
  • Confidence: facts from the original post; take is Orchard's opinion