Inside OpenAI's agent orchestrator: task service, dispatch loop, and event subscriptions

OpenAIDevs · x · 2026-11-20

OpenAI's dev team details the orchestrator architecture behind Performance Factory: a task service stores tasks, progress, and workflow definitions (tasks come from alerts, engineers, or other agents); a dispatch loop assigns ready tasks by starting Codex turns in fresh agent environments; and subscriptions let tasks waiting on PR reviews sleep until matching comments arrive, then re-enter the queue. After deployment, another agent picks up the same task to verify performance returned to baseline. External events like PR comments and deployments wake waiting tasks via wake-up events.

Original post →

More from coding & agent

coding & agent channel →