OpenAI details how Codex agents automate Spark upgrades at QCon
Engineering manager Mouli Mukherjee says agents handle open-ended operational work once shadow runs and validation are in place.

OpenAI uses Codex-driven agents to run Spark upgrades on its data platform. Engineering Manager Mouli Mukherjee described the setup at QCon San Francisco 2026. According to Mukherjee, the platform handles data at exabyte scale. It holds hundreds of thousands of datasets, and its Spark fleet spans millions of cores.
Mukherjee separates deterministic systems from agents. She says work that must give the same result for the same input, such as access control, belongs in conventional systems. Agents call those systems as tools. In her view, agents fit tasks like debugging, where teams cannot list every failure and fix in advance.
Safeguards before agents
For the Spark upgrade, the team first built a shadow-run service that replays production inputs on a low-priority queue, away from live workloads. It also added a configuration override service and a validation skill that compares production with shadow runs. Agents then picked up jobs, started shadow runs and reviewed validation reports. They also sorted errors and moved jobs to the new Spark version.
Mukherjee said the same building blocks now cover more routine work. Agents tune job efficiency by reading query plans, testing a config change and comparing runs. When a library release is a small, lower-risk increment, the team sometimes promotes jobs without a shadow run. That trades capacity for higher rollback risk. Jobs that pass shadow validation but fail in production can revert to the earlier Spark version automatically.
On the support side, agents search past incident reports, suggest runbook updates and trace stale tables through orchestrator and scheduler logs. Permissions still use each user's own credentials.
Mukherjee advised starting with repetitive, open-ended tasks that need judgment. She says safety mechanisms come first, so experiments stay repeatable, observable and reversible.
