Agents API enters public beta with a managed Codex harness
OpenAI released the Agents API in public beta: the harness behind Codex, offered as an API, with OpenAI handling session orchestration, context compaction and recovery. No fee beyond tokens and tools.
What does this mean for me?
Plan for it
Engineering leadership
Cost, risk, timeline, team impact Plan for itIf your team has built session orchestration, context compaction and recovery in-house, this beta lets OpenAI own that code instead. There is no platform fee — you pay only tokens and tools — so the case is a maintenance saving; it is still beta, so pilot before you retire anything.
Engineer
What to change, what breaks, what to test Plan for itTry the Agents API for durable multi-turn agents: it handles compaction and recovery, streams progress, and accepts your own tools and MCP servers. Choose between OpenAI-hosted sandboxes and a sandbox on your own infrastructure early, since that choice shapes file and code-execution access.
General consumer
Using ChatGPT, not the API No impactNothing to do — this is a developer product that packages what already powers Codex.
The Agents API went into public beta on September 10, 2026. It exposes the harness and infrastructure that runs Codex, with OpenAI taking on session orchestration, context compaction and recovery rather than leaving that to the caller.
Durable sessions continue work across turns and stream progress, and you can connect your own tools and MCP servers. Agents run either in OpenAI-hosted sandboxes or in a sandbox on your own infrastructure or a supported provider, where they can work with files, run code and keep intermediate results.
OpenAI states there are no additional fees for the Agents API — billing is for the tokens and tools the agents consume, at the rates on the pricing page. The API is available to all developers during the beta.
Topics: Coding tools