OpenAI's Agents API now exposes the Codex harness directly to developers, letting teams run agents against their own environments without rebuilding execution infrastructure from scratch. The harness handles tool calling, state management, and task continuity, with OpenAI managing the underlying orchestration layer.

The critical detail here is the split responsibility model: developers own the environment and task logic, OpenAI owns the runtime plumbing. That boundary matters enormously for teams deciding where to invest engineering time, and the session breaks down exactly where that line sits for long-running tasks that outlive a single API call.

What makes this worth reading in full is the infrastructure architecture breakdown, specifically how the harness keeps async tasks alive across context boundaries without requiring custom polling or state serialization on the developer side. If you are building anything that runs longer than a single prompt-response loop, this is the session to watch.

[WATCH ON YOUTUBE →]