When an app suddenly feels slow, someone has to find out what changed, decide how to fix it, and check whether the fix worked. On November 19, 2026, OpenAI described an internal system called the Performance Factory that uses Codex agents for much of that work on ChatGPT.
How does the workflow work?
An alert opens a task. One agent checks metrics, logs, and code for a possible cause. Another agent tries to disprove that explanation. If a diagnosis holds up, an agent proposes a code change for an engineer to review. After the engineer deploys a fix, another agent checks whether performance recovered. The task keeps its state between runs, so a new agent can pick up where the last one stopped.
Why use a second agent?
The first plausible explanation can be wrong. OpenAI says that, in one case, a reviewer noticed that a suspected service had already recovered while the problem continued. The reviewer reopened the investigation. In OpenAI’s manual review of 100 suggested root causes, it judged 70% accurate; the rest needed refinement or did not establish causality. That is a company-reported sample, not a universal reliability rate.
Do the agents fix everything themselves?
No. Engineers review proposed changes and decide what to merge and deploy. OpenAI says implementing a good fix is harder than finding a likely cause: a change can introduce new problems or make the system more complex. The workflow also checks the result after deployment instead of assuming a merged fix worked.
Why it matters
This is a concrete example of an AI agent doing a bounded job inside a larger process. It also shows why loops, shared task state, independent checks, and human judgment matter. OpenAI reports over 1,700 investigations in about three months, but this is an internal case study. Its effectiveness in another company would depend on that company’s tools, data, tests, and review process.