QCon San Francisco 2026: Automating Spark Upgrades with Codex Agents at OpenAI

What happened
At QCon San Francisco 2026, Mouli Mukherjee from OpenAI described how the company uses Codex-powered AI agents to automate upgrades and operations on its large-scale Spark data platform. The team developed a process where agents handle complex tasks such as Spark version upgrades by running shadow tests, validating results, and managing rollbacks if issues occur. These agents also assist with routine platform maintenance and user support tasks, while core system functions requiring strict consistency remain managed by deterministic systems. The approach emphasizes building safety mechanisms before allowing agents to operate autonomously within those boundaries.
Key details
- OpenAI's data platform operates at exabyte scale with millions of Spark cores.
- Codex-driven agents automate Spark upgrades using shadow-run services and validation steps.
- A configuration override service prevents experiments from altering global settings.
- Agents can auto-roll back jobs to previous Spark versions if failures occur after validation.
- Agents assist with support tasks like tracing stale tables and explaining access-control denials.
Why it matters
OpenAI engineers and data platform operators can now automate complex and repetitive Spark operations at massive scale, reducing manual intervention and risk of human error. The use of shadow testing, validation, and rollback mechanisms allows for safer and more efficient upgrades and maintenance. This enables the team to focus on higher-value work while ensuring reliability and continuity for users and applications relying on the platform.
