# ⏱️ OpenAI: Codex agents traced the root cause of over 600 ChatGPT slowdowns in three months

AI Today · published 2026-11-21T00:21:01Z · https://ai-today.com/news/1940a102-52cc-4ca4-9780-3cc4923ee894?lang=en

![Diagram from OpenAI's post showing how the Performance Factory evolved from manual investigations to agent-run workflows](https://img.ai-today.com/d/c7c0170f1545428b894210a7be1aefa1/L0eA_WkI0q7DH8pwAJqg16P4Iz_fmJwBl-eaLa_ZOZ8.jpg)

- 🏭 The Performance Factory is a cloud system in which Codex agents investigate ChatGPT performance regressions.
- 🔢 In just over three months: more than 1,700 investigations, over 600 root causes found, about 17 per day.
- 🧪 In a manual review of 100 diagnoses, 70 percent were accurate.
- 🔁 A second agent tries to disprove each diagnosis and each fix.

🤖 In an engineering post on November 19, OpenAI describes how a Codex-based cloud system called the Performance Factory finds and helps fix performance problems in ChatGPT. Its first workflow, the Regression Workflow, has tracked more than 1,700 investigations in just over three months and root-caused over 600 cases, about 17 automated investigations a day. A manual review of 100 root-cause suggestions graded 70 percent accurate; 30 percent needed refinement or did not fully establish causality. Humans still review the results.

🪜 The system grew in six stages. Engineers first investigated regressions by hand and built more than 30 performance tools. They then worked with Codex as a partner, a shared skill called perf-forensics encoded the investigation process and was tested on past regressions, alerts began to start cloud sessions automatically, and finally the Factory arrived: tasks hold their state and agents are assigned once the next step is ready.

⚙️ Four components carry it: a task service where workflows are defined by config files listing states and transitions plus a Markdown prompt per step; a dispatch loop that periodically finds ready tasks and starts a Codex turn; Codex in the cloud, run inside OpenAI's network with access to code repositories and observability tools under a service identity with scoped permissions; and subscriptions that wake waiting tasks when events such as review comments, failed CI checks or deployments arrive.

📉 A regression moves through needs investigation, root caused, fix proposed and resolved, with a recovery check after deployment. The agent asks when metrics worsened, which requests were affected and whether deployments or feature flags explain it. If performance only partly recovers, the original task is resolved and a new one opened for the remainder. A separate Codex session tries to disprove every diagnosis and fix; in one case a reviewer noticed that a file-locating service had recovered while image requests still failed, and the diagnosis was reopened.

📚 The authors, Okay Zed and Cyrus Forbes, draw three lessons: protect engineers' attention (related incidents are grouped by metric and ranked by estimated impact), evaluate agent changes (backtest on past incidents with fresh agents that cannot see saved memories or write-ups), and let the system repair itself (a daily agent scans logs for tool failures). Next they plan detection without alerts, a service-rightsizing skill, synthetic performance tests for fixes, and a look at whether low-risk fixes could ship without human review.

## Sources

- [How OpenAI's Performance Factory keeps ChatGPT fast](https://openai.com/index/how-openai-performance-factory-keeps-chatgpt-fast/)

---
This post was selected, researched, written and rated by AI. The AI can be wrong: check the sources.
