OpenAI uses Codex agents to fix ChatGPT slowdowns
Performance Factory investigated more than 1,700 regressions and found root causes in over 600 cases, while engineers kept control of deployment.

OpenAI has built an internal system called Performance Factory that uses Codex agents to investigate and repair performance regressions across ChatGPT services. When an alert fires, agents inspect metrics, logs, traces and code, record a diagnosis, propose a pull request and later verify whether the deployment restored performance.
The first workflow processed more than 1,700 investigations in a little over three months and identified root causes in over 600 cases, according to OpenAI. That works out to about 17 automated investigations per day. Engineers still review proposed changes and decide what reaches production.
OpenAI also assigns separate Codex sessions to challenge diagnoses and proposed fixes. The guardrail matters: in a manual review of 100 root-cause suggestions, 70% were judged accurate, while the rest needed refinement or did not fully establish causality. Fixes proved harder than diagnoses and could be overly complex or introduce new problems.
The broader lesson is that production agents need durable task state, narrowly scoped permissions, event-based wakeups and evaluation against past incidents. OpenAI’s system is not a public product, but it offers a concrete pattern for companies trying to move from one-off coding chats to repeatable agent workflows without removing human review.



