Skip to content

StoriesOpenAI

OpenAI Uses Codex Agents and Shadow Runs to Upgrade Its Spark Fleet

At QCon San Francisco 2026, an OpenAI data infrastructure manager laid out how Codex agents upgrade and tune a Spark fleet without touching production first.

ContentBuffer · Built from 6 sources · Updated · 5 min read

TL;DR

OpenAI uses Codex-driven agents to upgrade and tune a Spark fleet on millions of cores. Agents first run shadow jobs on a low-priority queue against production inputs, a validation skill compares outputs, and failures roll back automatically. Deterministic systems keep the guarantees; agents only call them as tools.

OpenAI Uses Codex Agents and Shadow Runs to Upgrade Its Spark Fleet
Image: ContentBuffer (© ContentBuffer)

What happened

Millions of cores. That's how big OpenAI's Spark fleet is, and agents now carry part of its operational load. The platform runs at exabyte scale and holds hundreds of thousands of datasets (infoq.com).

The details came from a talk at QCon San Francisco 2026. Mouli Mukherjee, who manages data infrastructure engineering at OpenAI, said agents add the most value on open-ended operational chores, and much less on rebuilding a platform (infoq.com). She showed how Codex-driven agents handle that work once the right systems sit beneath them.

Quick disambiguation, because your feed is full of unrelated Sparks. NVIDIA's DGX Spark is hardware for developers building and scaling applications on Linux (nvidia.com). Google renamed its Spark AI agent to "Tasks." (theverge.com) Dualog, a Norwegian maritime technology firm, introduced an AI service called Sparks (indexbox.io). None of those is today's story.

Where the line sits

Mukherjee split the world into deterministic systems and agents. Anything that must return identical results for identical inputs, such as access control, configuration resolution and data correctness guarantees, belongs in a conventional system (infoq.com). Agents treat those systems as tools. They don't rebuild them.

We should definitely build the systems where we want guarantees and guardrails.

Mouli Mukherjee, Engineering Manager for Data Infrastructure at OpenAI

That's her own phrasing, and it's the design philosophy in one line (infoq.com). Agents get the fuzzy territory. Debugging is the example: you can't list every failure and fix ahead of time, so the agent follows the evidence and picks what to try next.

What shipped

The headline project is a Spark version upgrade driven by agents. The interesting part is what got built before any agent touched a job.

The safety scaffolding

First came a shadow-run service. It replays production inputs on a low-priority queue, so live work doesn't feel it (infoq.com). Two more pieces followed:

  • A configuration override service, which stops experiments from altering global settings (infoq.com).
  • A validation skill that checks production runs against their shadow counterparts (infoq.com).

Only then did agents join in. They picked up jobs, started shadow runs, read the validation reports, sorted errors into categories, and moved jobs onto the new Spark version (infoq.com).

Where the agents work now

The same primitives spread. Mukherjee reported that they now cover more of the routine platform work (infoq.com). Efficiency tuning runs as a loop: read the query plan, change a config, compare runs, go again.

Rollback is automated. If a job clears shadow validation but breaks in production, it can fall back to the prior Spark version without anyone stepping in (infoq.com).

Support is covered as well. Agents dig through old incident reports, propose runbook edits, follow scheduler and orchestrator logs to explain stale tables, and clarify why access was denied (infoq.com). The user's own credentials still govern permissions. No skeleton key.

There's a shortcut. On small, low-risk library releases, the team sometimes promotes straight to production without a shadow pass (infoq.com). That saves capacity and raises rollback risk. Honest tradeoff. Shadow runs cost compute.

How it compares

OpenAI's Spark setup isn't an outlier. Agent launches from the past few weeks share one shape: let the agent act, but fence it with something deterministic.

DeploymentWhat the agent doesThe fence
OpenAI Spark fleetLaunches shadow runs and moves jobs to a new Spark versionLow-priority shadow queue on production inputs
ChatGPT WalletDots agents buy things for usersEach purchase approved with a security check
Cisco and OpenAI ShirudoLaunches small, temporary mitigations until patches shipShields are cryptographically signed and loaded only when verified
Google TasksCalls businesses and buys items with Google PayStops and asks permission on sensitive steps

Two sources, one pattern

Put pairs of sources side by side and the pattern gets sharper.

  • Credentials: OpenAI's data agents operate under the requesting user's own credentials (infoq.com). Dualog's Sparks does the same for ship and shore staff, since searches obey individual access permissions (indexbox.io). One is a data platform, the other a maritime fleet. Same rule: the agent never exceeds the person.
  • Isolation: OpenAI isolates experiments with its override service, which keeps tests from changing global settings (infoq.com). Google isolates at the machine level, and says Gemini works inside a hardware-isolated virtual machine dedicated to your account (theverge.com). Software fence versus hardware fence.
  • Money: Wallet gives the agent a payment token scoped to one transaction (cnbc.com). That's a shadow run for payments. The agent never holds the real thing.

Hot take: the data-platform version is the most mature, because you can diff a shadow run. You can't diff a bad purchase.

Who it hurts

Nobody in the sources says headcount changed. Don't read layoffs into this. Read it as a shift in who does the boring parts.

The toil

Version upgrades, stale-table forensics, runbook upkeep, access-denial questions. That's the list Mukherjee described agents taking on. If your platform team spends its week there, your week is now contested. Her advice was to start with repetitive, open-ended tasks where judgment matters and the failure modes are too many to hard-code (infoq.com).

That describes a lot of on-call rotations.

The teams without scaffolding

Here's the catch. The pattern needs infrastructure most teams lack. A shadow-run service, a config override layer and a validator are real engineering. Mukherjee said to build the safety mechanisms first and let agents operate only within those limits (infoq.com).

Skip that order and you get an agent with production access and no way to prove it did no harm.

Cost bites too. Shadow runs reuse production inputs (infoq.com). OpenAI can afford that on a Spark fleet on millions of cores. A small shop with a tight compute budget feels the same tradeoff harder.

Defenders aren't the only ones with agents. Cisco's Jeetu Patel said that for both the PHP2Shell and Java4shell flaws, attack campaigns began within a day of disclosure, if not before (infoworld.com). Attackers run agents too.

What to watch

Three things.

Whether the pattern spreads

The InfoQ write-up covers one talk. It gives no upgrade counts, savings or failure rates. Until someone publishes those, this is a credible architecture, not a benchmark. That's where the evidence is thin.

Watch for open versions of the shadow-run and validation pieces. Cisco and OpenAI already released Shirudo as an open source project (infoworld.com). Shirudo has already stopped a Java4Shell exploit attempt against Elasticsearch while the site kept running. Appetite for shareable guardrails is real.

Consumer rollouts as a stress test

ChatGPT Wallet is the live experiment. Access starts with US Pro subscribers older than 18 (cnbc.com). The ceiling is high. ChatGPT had more than 1.2 billion weekly active users at the end of the third quarter (cnbc.com). Amex's Luke Gebb called the narrow launch intentional. Expect it to widen only after the token model holds.

The adoption gap

Workers adopt agents faster than employers write rules. Dualog's 2026 survey found 61 percent of seafarers already use general-purpose AI tools (indexbox.io). Assume your org looks similar, and build the fence before the agents arrive.

Timeline

  • NVIDIA showcases its full lineup of local AI hardware (nvidia.com).
  • The payment feature lets its dots agents make purchases for users (cnbc.com).
  • Google rebrands the agent and makes it free to use (theverge.com).
  • The open source project launches temporary mitigations until patches can ship (infoworld.com).

Why it matters

The real story is the order of operations. OpenAI didn't hand agents a Spark fleet and hope. It built a shadow queue, a config firewall and a validator, then let agents run.

That sequence travels. You don't need millions of cores to copy it. Pick one repetitive, messy ops task, like version bumps or stale-table triage. Build the sandbox first.

The comparison set says the industry is converging. Wallet uses single-use tokens. Shirudo uses signed shields. Tasks asks before it buys. Mukherjee keeps correctness guarantees inside deterministic systems (infoq.com). Four products, one idea.

Speed is the other reason. Patel said flaws now play out over minutes and hours, while permanent fixes still take time to build, test and roll out (infoworld.com). Human-only ops can't match that pace. Agents with fences can.

Next step: list the three ops tasks your team repeats weekly where failure modes are messy. Then ask whether you could replay production inputs against a change without touching live traffic. If the answer is no, that's your first project.

Stories like this, before they trend.

One email a day. Sources listed. Free.

Join 3,614 newsletter subscribers.

Also get

Sources

Tools mentioned

Who's hiring in this area

See all AI engineering jobs

More stories