ChatGPT’s speed is a moving target. As new features land and usage patterns shift, even small regressions can quietly pile up. OpenAI’s answer is the Performance Factory—a cloud-based, Codex-powered system that automates the entire loop of finding and fixing performance issues. In just three months, its first workflow tracked over 1,700 investigations and root-caused more than 600 cases.
The Performance Factory isn’t just alerting or dashboarding—it’s a set of agentic workflows that take performance problems from detection all the way through to verification after a fix is deployed. OpenAI’s engineers now spend less time pasting alerts and more time defining workflows for recurring jobs; Codex agents do the rest.
From manual toil to agentic workflows
Before Codex, investigating a slowdown meant poring over logs, traces, and profiler outputs—work that required deep system knowledge and was easy to get wrong or miss. Even with better tools, the process was manual and time-consuming. Codex’s arrival let engineers query large codebases and metrics, but still required them to steer the investigation.
The breakthrough came with reusable skills. OpenAI’s team distilled their investigation process into a skill called perf-forensics, which tells Codex which tools to use and how to reason through a slowdown. They tested this skill on past incidents, tuning it so Codex could diagnose common regressions with a single run. Eventually, the human role shrank to pasting alerts into Codex and copying results back into Slack.
End-to-end automation: the Performance Factory
The tipping point was moving everything to the cloud. Now, when a performance alert fires, the system opens a task, assigns it to a Codex agent, and posts findings directly in Slack. A second agent proposes a fix, and after deployment, another checks if performance is back to baseline. The workflow tracks state, so tasks can move between agents and engineers as needed.
In this model, common optimizations become repeatable workflows that run regularly across services. A workflow can even trigger another—spotting a possible improvement and opening a task to test it. The process is now:




