OpenAI releases Agents API in public beta
OpenAI has released the Agents API in public beta, making the managed harness and infrastructure used by Codex available through an API. OpenAI hosts and maintains the harness, while developers can run agent compute in an OpenAI-managed sandbox, their own infrastructure, a partner sandbox, or without a sandbox. The service is available to all developers. Data residency is limited to the United States, and Zero Data Retention is not supported.
The API is organized around agents, environments, sessions, and events or items. A durable session can be created with a task, monitored through streaming or webhooks, and continued or redirected with further input. The harness manages context compaction, tool discovery, programmatic tool calls, and coordination between subagents. Supported tools include MCP, custom functions, and web search.
OpenAI lists integrations with nine partner sandboxes, including Cloudflare, Daytona, E2B, Modal, and Vercel. The company says there is no additional API fee beyond charges for tokens, tools, and container time. Customer-reported results included a rise in Ciridae’s evaluation score from 0.71 to 0.85 and a 60% reduction in SafetyKit’s cost per case; OpenAI noted these figures were vendor-supplied, not independent benchmarks.
Written by Sakhanda Wire AI from reporting by MarkTechPost. Facts, quotes and full context are in the original article below.