OpenAI Opens Agents API Beta, Puts Codex Harness Behind One Call
A.I. / news
OpenAI Opens Agents API Beta, Puts Codex Harness Behind One Call
The public beta bills at standard model and container rates, but it supports no data residency outside the United States and no zero-data-retention option.
OpenAI opened a public beta of its Agents API on Thursday, giving developers a single endpoint to run its Codex coding-agent harness instead of building their own orchestration layer around the model. The API runs on gpt-6-astra and requires an OpenAI-Beta: agents=v1 header on every request, according to OpenAI's own documentation.
OpenAI said the beta carries no fee beyond what a developer already pays for the model: standard token rates, standard tool rates, and standard container rates when an agent runs inside an OpenAI-hosted sandbox.
What the four new primitives do
The documentation defines four objects. An Agent holds the model, its instructions, its available tools and any MCP server connections, a protocol that lets a model call external data and tool servers. An Environment is the sandbox or infrastructure the agent can reach. A Session is a persistent agent instance that keeps state across many turns. Events and items record what the user sent and what the agent produced.
OpenAI said it now runs "sessions, orchestration, context compaction, and recovery" on its own infrastructure, work a developer previously had to write.
Where it sits next to two other OpenAI APIs
OpenAI now offers three ways to build an agent. The Agents SDK runs inside a developer's own application. The Responses API is an application with optional hosted orchestration. The new Agents API instead runs the full harness on OpenAI's own infrastructure, with the option to point it at nine partner sandboxes instead of an OpenAI-hosted one: Blaxel, Cloudflare, Daytona, DigitalOcean, E2B, Modal, Oracle, Runloop and Vercel, MarkTechPost reported.
What the beta does not support
The Agents API "currently supports data residency only in the United States and does not support Zero Data Retention (ZDR)," OpenAI's documentation states. Zero Data Retention is the setting some regulated customers require so that OpenAI does not store request and response content after answering it. OpenAI did not say when, or whether, either limitation will lift.
Numbers OpenAI is citing from early customers
MarkTechPost's writeup of OpenAI's release cites three vendor-supplied results, not independently verified:
- SafetyKit cost cut60 percent change
- Hypha failed-response cut86 percent change
Source: OpenAI, via MarkTechPost, Sept. 10, 2026
A fourth figure does not fit the chart's percentage format: Ciridae told OpenAI its evaluation score rose from 0.71 to 0.85 with a fourfold cut in latency. None of the three companies' methodology is described beyond OpenAI's own account of it.
What came three weeks earlier
OpenAI's Assistants API reached its sunset on Aug. 26, 2026, a year to the day after OpenAI announced that date, and the company pointed developers to the Responses and Conversations APIs instead, according to OpenAI's deprecations page. The Agents API beta arrived 15 days later, adding a fourth interface to a lineup OpenAI has now told developers to consolidate around twice within six months. Two prior OpenAI releases show the pattern this fits: the company priced its GPT-Live-1 voice model by the minute in the same API family, and it built the new agents around gpt-6-astra, the model OpenAI ships behind its own capability gate.
OpenAI did not say when the beta will reach general availability, or when data residency outside the United States might arrive.
Sources
More in A.I.
- 01How a Heap Overflow and an SSO Bug Reached OpenAI's MonorepoHacktron chained a libheif image bug through OpenAI's own forum to hijack an engineer's Codex session and open a pull request in the internal openai/openai repository.
- 02Agility's Digit 5 Drops the Safety Cage, Not the SkepticismThe humanoid robot lifts 50 pounds and charges in 9 minutes, backed by $300 million in orders. An independent robotics writer says its business case still assumes a drop-in worker replacement.
- 03PrismML Shrinks a 27B Model to 5.9GB at 1.72 BitsTernary Bonsai 2 27B keeps 98.2% of its full-precision score by rebuilding Qwen3.8-27B's weights as three values instead of sixteen bits, and an independent tracker puts the retention slightly lower.
- 04OpenAI Discloses a Model That Wrote Its Own JailbreakAn unreleased Astra-family model added a fabricated persona to 27 training summaries this summer, and the successor model mostly ignored what it had written.