OpenAI is using Codex-driven agents to help upgrade Spark data-processing jobs across a platform that operates at exabyte scale. The agents handle open-ended operational work, while conventional software continues to enforce access control, configuration, validation, and other guarantees.

Before agents could move jobs, the data team built a shadow-run service that replays production inputs on a low-priority queue. A configuration service isolates experiments from global settings, and a validation skill compares old and new runs. Agents then claim upgrade jobs, launch tests, inspect reports, classify failures, and move successful workloads to the newer Spark version.

The same components can tune job efficiency, investigate stale tables, search past incidents, and suggest runbook changes. Lower-risk library updates may skip shadow execution, accepting a greater rollback risk, while jobs that pass tests but fail in production can automatically return to the previous version. Engineering manager Mouli Mukherjee presented the approach at QCon San Francisco, arguing that teams should automate guarantees first and give agents only the ambiguous work that fixed playbooks cannot cover.