Agents t ≈ 6 min

OpenAI's Agents Check Each Other's Work. Copy the Loop for Marketing Ops

OpenAI's Performance Factory runs Codex agents through a loop: investigate, try to disprove the diagnosis, wait for a human, then check the fix worked. Here is how to copy that loop for the alerts your marketing ops team handles.

yfx(m)

yfxmarketer

Δ

OpenAI published how it keeps ChatGPT fast, and the answer is a team of agents that check each other’s work. The system is called the Performance Factory. When a performance alert fires, a Codex agent investigates, a second session tries to prove it wrong, an engineer decides on the fix, and another agent checks whether the problem went away.

This matters for marketing ops because the hard part of agents was never getting one to run. It is getting one to stay useful after launch. The structure OpenAI describes is a workflow you can copy for your own alerts: broken lead routing, a sudden drop in form conversion, a cost-per-lead spike.

TL;DR

OpenAI’s loop has six states: detected, find root cause, propose fix, human review and deploy, verify recovery, resolved. Two parts make it work. An adversarial agent tries to disprove each diagnosis before a person sees it. A verification agent checks after deploy and sends unresolved problems back to investigation. Copy that loop for one recurring marketing ops alert. Keep a human on every change. Grade the agent against past incidents before you trust it.

Key Takeaways

  • OpenAI’s Performance Factory tracked more than 1,700 investigations in just over three months and found the root cause in more than 600
  • In a manual review of 100 root cause suggestions, OpenAI graded 70% accurate
  • VentureBeat reports around 400 investigations reached a proposed fix, about 15 shipped fixes were Codex-authored pull requests, and around 50 were influenced by agent suggestions
  • A separate review session tries to disprove every diagnosis and currently sends back around 25%, per VentureBeat
  • An engineer reviews every change. After deploy, an agent checks whether performance actually recovered
  • OpenAI backtests agent changes against past incidents and grades summaries separately for clarity
  • A daily agent scans the other agents’ runs for tool and access failures

How does OpenAI’s loop work?

The system has four parts. A task service holds workflows defined in configuration files, with states, allowed transitions, the steps that need an engineer, and a Markdown prompt for each state. A dispatch loop checks which tasks are ready and starts a Codex turn for each. Codex runs in the cloud with access to code and observability tools, under a service identity so its permissions are scoped and its actions are traceable. Subscriptions wake a waiting task when an event arrives, such as a review comment or a failed check.

The first workflow is the Regression Workflow. An alert opens a task. An agent finds the root cause and proposes a fix. An engineer reviews and deploys. An agent verifies recovery. If the regression is still there, the task goes back to investigation.

Tasks keep their state and findings, so work passes cleanly between agents and people. VentureBeat adds that the team stores high-level findings and reproducible queries in the task record instead of raw telemetry (VentureBeat).

Action item: Write your own version of the state list for one alert you handle by hand today. Mark which states an agent owns and which need a person.

Why add an agent whose job is to disagree?

Because first answers are often wrong. OpenAI’s early agents sometimes settled on the first plausible explanation. The fix was a separate Codex session that tries to disprove each diagnosis, rechecks assumptions, and tests alternatives. VentureBeat reports the reviewer starts with fresh context and gets the full task record.

In one case, the first agent blamed failing image downloads on a service problem. The reviewer noticed the failures continued after that service recovered, and reopened the investigation. Fixes get the same treatment: a review checks whether the fix addresses the root cause and whether it adds bugs.

Marketing ops has the same trap. Leads stopped routing, and the first agent blames the CRM sync. A reviewer agent asks why leads from one form still route fine. That question is cheaper than a wrong fix to your routing rules.

Action item: For your first marketing agent, add a second prompt whose only instruction is to find what the diagnosis fails to explain. Nothing reaches a person until it passes.

Where do people stay in the loop?

On every change. In OpenAI’s system an engineer reviews each pull request and decides whether to merge it. Engineers can edit the fix or write their own. Judgment calls stay human. OpenAI’s example is adding a cache that could serve stale data.

The numbers show why. VentureBeat counts around 15 shipped fixes that were exact Codex pull requests and around 50 that were influenced by agent suggestions, out of roughly 400 proposed fixes. OpenAI’s performance team said the results fall short of its ambitions for automated remediation. The value so far is faster, better-documented investigation, not hands-off fixing.

For marketing, that means the agent drafts the change to the routing rule, the bid cap, or the suppression list, and a person approves it. We covered where that gate sits for paid media in Ad Agents Now Launch Campaigns. Where Does Your Approval Gate Go?.

Action item: List every system your agent could write to. Give each one a named approver before the agent gets write access.

How do you know the fix worked?

You assign an agent to check. After deploy, OpenAI’s verification agent compares performance to the baseline. Full recovery resolves the task. Partial recovery resolves the original task and opens a new one for the rest. No improvement sends it back to investigation.

Most marketing fixes never get this step. Someone patches the form, closes the ticket, and nobody looks at conversion again until next month’s report. A verification agent with a 48-hour check (illustrative) against the pre-incident baseline closes that gap.

This is also where agents connect to money. If you already measure agents on revenue, not activity, the verification step is where you record what the fix recovered.

Action item: For each alert type, write down the baseline metric and the time window that counts as recovered. Give that check to an agent.

How do you keep the agents themselves healthy?

Treat changes to an agent like changes to code. OpenAI backtests investigations against past incidents with controlled access to evidence. It grades summaries separately, asking whether an engineer unfamiliar with the incident can follow them. It also warns that historical tests need care, because old telemetry expires.

Then watch the agents. A daily agent scans recent runs for tool failures and access errors and opens tasks to fix repeated blockers, with human review before anything merges. OpenAI also groups related incidents, ranks them by estimated impact, and limits what reaches engineers so they are not buried in agent output.

The wider data says most teams skip this. Aurora Mobile’s CEO said more than 40% of agent projects stall, regress, or get cancelled, per Agile Brand Guide, which notes the release gives no source for that figure. Treat it as directional.

Action item: Save your last ten incidents of one type with the real root cause. Run every new version of the agent against them before you ship it.

Is your team ready to run this?

Marketing AI Institute lays out four stages for knowledge work: manual, AI-assisted, narrowly automated, and autonomous execution (Marketing AI Institute). The narrow stage starts with a list of specific use cases trained through skills. OpenAI’s loop is that stage done well. One workflow, one alert type, strict states.

Demand is already there. Conductor surveyed 177 enterprise marketing and technology leaders and found 82% are deploying AI agents for AEO or plan to, per Search Engine Journal. Adding agents is the easy part. A loop with review, approval, and verification is what keeps them from becoming the 40%. If you run several agents, a hub and spoke setup gives the loop one place to live.

Action item: Pick the alert your ops team handles most often. Build only that workflow this quarter.

Final Takeaways

OpenAI’s Performance Factory is a working pattern for agents you can trust: investigate, challenge, approve, verify.

The adversarial reviewer is the cheapest quality control you can add. One prompt whose job is to find what the diagnosis misses.

Keep a person on every change. Even OpenAI’s agents authored only about 15 shipped fixes out of roughly 400 proposals.

Verification closes the loop. A fix nobody checks is a guess.

Start with one alert, backtest against past incidents, and watch the agents as closely as they watch your stack.

Frequently Asked Questions

What is OpenAI's Performance Factory?

An internal system that uses Codex agents to investigate and fix ChatGPT performance regressions. OpenAI described it on November 19, 2026. Over a little more than three months it tracked more than 1,700 investigations and found the root cause in more than 600.

What is an adversarial review agent?

A second agent session that tries to disprove the first agent's diagnosis. In OpenAI's system it rechecks assumptions and tests other explanations. VentureBeat reports it currently sends back around 25% of diagnoses.

Should a marketing agent ever fix things without approval?

Not at the start. In OpenAI's system an engineer reviews every pull request. OpenAI says it is only exploring whether agents could eventually ship low-risk fixes without human review. Start with a required approval step and loosen it one action type at a time.

yfx(m)

yfxmarketer

AI Growth Operator

Writing about AI marketing, growth, and the systems behind successful campaigns.

read_next(related)