OpenAI describes an agent workflow for performance regressions
On November 19, 2026, OpenAI published an engineering account of Performance Factory, a Codex-powered system for investigating and fixing performance problems. The article is notable less for the idea that AI can inspect logs than for its description of a complete operational workflow. An alert creates a task, an agent investigates, a fix is proposed for engineer review, and later work checks whether the deployed change restored performance. The system tracks progress instead of treating every agent interaction as an isolated conversation.
OpenAI reports more than seventeen hundred investigations and over six hundred root-caused cases in just over three months for its first regression workflow. Those are internal figures supplied by the company, not independently reproduced measurements in this article. They suggest substantial operational use, but they should not be confused with seventeen hundred successful fixes. Investigations, diagnoses, reviewed changes, deployments, and verified recoveries are different milestones, and responsible coverage preserves those distinctions rather than combining them into one impressive number.
The path from assistant to managed process
The published account describes an evolution from engineers investigating manually, to using Codex as a partner, to capturing procedures in reusable skills. Eventually, engineers were repeatedly copying alerts into agent sessions and returning findings to communication channels. That repetition exposed an opportunity for orchestration. If the same event starts the same kind of investigation, software can create the task and supply the context without requiring a person to act as a message courier every time.
This is a useful pattern for other teams, but it should not be copied mechanically. Automation works best after the underlying process is understood. A team that has not identified reliable signals or useful investigation tools may simply automate confusion. OpenAI's account describes an existing performance practice and accumulated tooling before the factory. The practical lesson is to make a workflow observable and repeatable, then automate its handoffs, rather than expecting an agent to invent operational discipline from scratch.
Why task state is more important than a long chat
Performance investigations rarely finish in one uninterrupted session. An engineer may need to review a patch, a deployment may happen later, or new telemetry may arrive after the first hypothesis was formed. A persistent task can preserve findings and record what should happen next. Without that state, a team risks losing context in chat threads or repeatedly asking an assistant to reconstruct a history that already exists somewhere else in the organization.
OpenAI describes four main components: a task service with configurable workflows, a dispatch loop, cloud execution for Codex, and subscriptions that resume work when relevant events occur. The specific architecture is less important than the responsibilities it separates. One part records the state, another decides when work is ready, another executes it, and another responds to changes. This separation makes it easier to reason about failures than a single script that mixes scheduling, permissions, investigation, and reporting.
Diagnosis and repair need different evidence
An agent may identify a correlation between a deployment and a slowdown, but correlation is not yet a verified root cause. A useful diagnosis should connect the timing, affected requests, relevant code, and supporting measurements. It should also consider alternative explanations such as traffic changes or configuration differences. Asking for this evidence makes the output easier to review and reduces the chance that a plausible story becomes accepted merely because it was generated quickly.
A repair introduces a second evidentiary burden. Even if the diagnosis is correct, the proposed change may have side effects or fail to address the dominant bottleneck. Engineers need relevant tests and an understanding of the tradeoff. After deployment, the system must compare current behavior with the intended baseline. A merged pull request is not equivalent to a recovered service. The factory's explicit recovery-checking stage is therefore one of the most transferable ideas in the announcement.
Protecting engineering attention
Automation can create work as easily as it removes it. An agent that opens many low-quality investigations may overwhelm reviewers and make genuinely important regressions harder to notice. OpenAI's article discusses protecting engineers' attention, a point every adopting team should take seriously. The objective is not to maximize the number of tasks or generated patches. It is to reduce the effort required to reach correct operational decisions while preserving the visibility of consequential changes.
Useful controls include clear severity thresholds, deduplication, concise evidence summaries, and a defined escalation path when the system is uncertain. Reviewers should be able to see what changed, why it is believed to matter, and what evidence would disprove the hypothesis. A report that lists every log line is not necessarily transparent; it may simply transfer the sorting burden back to a person. Good automation organizes the evidence around the decision the reviewer actually needs to make.
Build a small pilot around recurring incidents
Choose a narrow class of historical regressions that the team already understands. Provide the assistant with authorized access to the relevant code and sanitized observability data. Ask it to reconstruct the investigation and compare its conclusions with the known outcome. This retrospective exercise reveals missing context, misleading signals, and tool-access problems before the system participates in live incident handling. It also creates evaluation cases that can be rerun when prompts, tools, or models change.
Only after that stage should the team consider automatically opening new investigations. Begin with read-only analysis and human-controlled remediation. Define which actions are permitted and which require explicit approval. Production changes, credential access, and deployment authority should not appear accidentally because the assistant needs to inspect a trace. Scope service identities to the task, retain audit records, and make it possible for an operator to stop the workflow without depending on the agent to cooperate.
Evaluate the orchestration as well as the model
A model upgrade may improve reasoning while a workflow change introduces duplicated tasks or missed wakeups. Evaluate both. Check whether an alert creates the right task, whether work resumes after review, and whether failed tool calls leave the task in an understandable state. Confirm that the agent does not report completion when a required measurement is unavailable. These are conventional distributed-system concerns, and adding a language model does not make them disappear or become less consequential.
Historical cases should include ambiguous incidents, unrelated simultaneous changes, and regressions that did not have a simple code fix. Otherwise the evaluation will reward an unrealistically tidy world. A useful assistant should sometimes conclude that the evidence is insufficient or that a hypothesis needs human investigation. Penalizing every uncertain answer can encourage confident guesses, which are especially dangerous when the output may influence production changes or distract an on-call engineer during an already stressful incident.
Use prompts as operational specifications
A strong investigation prompt should state the symptom, the permitted tools, the expected evidence, and the stopping conditions. Ask for a timeline, affected request groups, candidate explanations, and a recommendation tied to measurements. Require the assistant to distinguish observed facts from inferences. Specify that changes need review and that unavailable telemetry must be reported explicitly. The prompt becomes easier to evaluate when its required output corresponds to the team's actual incident decision process.
Keep reusable instructions versioned alongside the workflow definitions. When a prompt changes, test it on the historical case set rather than assuming the new wording is an improvement. Record the model and tool versions used in each run where practical. This allows teams to investigate regressions in the agent workflow itself. The same discipline applied to application code should apply to the instructions and integrations that increasingly influence how that code is diagnosed and changed.
Metrics that reflect real operational value
Track time to a correct diagnosis, reviewer effort, accepted versus rejected recommendations, and verified recovery. Also track false alarms and cases where the system missed an important signal. Raw activity counts can be informative, but they are not the final outcome. A factory that doubles investigations while increasing reviewer workload may be less valuable than a smaller assistant that reliably resolves a well-chosen class of recurring issues with clear evidence and minimal distraction.
Teams should document who owns stalled investigations and who can cancel unnecessary work. Explicit ownership prevents an automated queue from accumulating unresolved tasks that appear active while nobody remains responsible for reaching a decision.
The broader lesson is that agentic operations require explicit handoffs and completion criteria. Performance Factory offers a concrete example of moving from conversational assistance to a managed process without pretending that human judgment has become unnecessary. Teams evaluating similar systems should borrow the emphasis on state, review, and post-deployment verification. They should validate the architecture against their own services, permissions, and incident patterns before drawing conclusions about reliability or expected productivity from another organization's internal results.
Primary source: OpenAI, How OpenAI's Performance Factory keeps ChatGPT fast, November 19, 2026. Reviewed November 26, 2026. Reported investigation counts and architectural descriptions come from OpenAI. The adoption recommendations are editorial analysis and do not imply that this workflow has been independently reproduced or benchmarked for other organizations, application architectures, staffing arrangements, or production operating conditions.