HOW-TO GUIDE

How to have Codex agents investigate and fix performance regressions

Based on a guide by Okay Zed and Cyrus Forbes on the OpenAI blog · Nov 19, 2026

You'll end with: A workflow where an alert opens a task, a Codex agent investigates and proposes a fix, and a second agent checks the result after deployment.

Why it's worth having: OpenAI's Regression Workflow tracked more than 1,700 investigations and found the root cause in over 600 cases in just over three months.

At a glance

WHO IT'S FOR
Site reliability engineers, performance engineers, and operations teams who chase slowdowns in live systems.
LEVEL
Advanced
COST
Free to read. The method needs Codex plus your own metrics, logs, and traces.
YOU NEED
Codex · Your metrics, logs, and traces · Past incidents to test against

The method, in short

  1. 1Write your team's investigation process into a shared Codex skill: when the slowdown began, which requests it hit, what changed.
  2. 2Test and refine the skill with evals built from past regressions until an alert returns a diagnosis in a single run.
  3. 3Have each alert open a task, let an agent investigate and propose a fix, and send the fix to an engineer for review.
  4. 4After deployment, have a second agent pick up the same task and check that performance is back to baseline.

The post covers how the workflow grew, how engineers review findings, and how the team tests agent changes.