OpenAI has finally opened the doors to its internal agent infrastructure, releasing the Agents API in public beta. This isn’t just another wrapper around GPT-6-astra; it’s the same managed harness that powers Codex and ChatGPT for Work. For developers tired of stitching together fragile context windows and brittle tool-calling logic, this is a significant shift. The API handles the heavy lifting: long-running sessions, automatic context compaction, and efficient tool search. You define the agent, pick a sandbox, and let the harness manage the rest.

The architecture revolves around four core concepts: Agent, Environment, Session, and Events. A session is durable, meaning it can run for days, not just seconds. OpenAI claims this reliability stems from lessons learned scaling their own enterprise products. The system supports multi-agent workflows natively. A primary agent can delegate subtasks to up to three concurrent subagents, each with isolated context. This parallel processing capability addresses one of the biggest bottlenecks in current agent designs: latency. Early adopters like Ciridae report a 4x reduction in latency on subagent flows, while SafetyKit saw a 60% drop in cost per case.

Deployment flexibility is a key selling point, though with caveats. You can run agents in an OpenAI-hosted sandbox, self-host the exec-server via WebSocket, or use one of nine partner sandboxes including Vercel, Cloudflare, and E2B. However, regulatory teams should pause. Data residency is currently US-only, and Zero Data Retention is unsupported. This limits immediate adoption in highly regulated sectors like healthcare or finance outside the US. There is no separate fee for the API itself; you pay for tokens, tool usage, and container time.

This move effectively commoditizes the “agent operating system.” By exposing the Codex harness, OpenAI is betting that developers will build on its infrastructure rather than trying to replicate it. The comparison with the Agents SDK and Responses API clarifies the positioning: this is for complex, stateful tasks that require persistence and coordination. Whether this centralization of agent runtime becomes an industry standard or a walled garden remains to be seen, but the barrier to building robust agents just dropped significantly.