OpenAI Agents API
OpenAI's Agents API documentation describes a managed Codex harness offering sandboxed agents, MCP connectivity, subagents, and US-only data residency.
The Agents API lets applications run durable agent sessions while OpenAI manages orchestration, context compaction, and recovery on the Codex harness. Agents can execute code, edit files, and connect to MCP servers in OpenAI-hosted or self-hosted sandboxes. Example applications include an incident response agent, Slack bot, data analyst, and GitHub issue investigator. Billing follows model, tool, and container rates; the examples use model gpt-6-astra.
- Sessions can stream output, use webhooks, and be resumed mid-task
- Supports programmatic tool calling, web search, MCP, and concurrent subagents
- Zero Data Retention is not supported, even with self-hosted sandboxes
- Data residency is currently limited to the United States
- Vendors
- OpenAI
- Products
- Agents APICodex
- Organizations
- OpenAI
- Countries
- United States
- AI models
- gpt-6-astra
From the original article
3 min read at developers.openai.com
The Agents API gives your application access to the Codex harness through an OpenAI-managed API. OpenAI manages sessions, orchestration, context compaction, and recovery while your application provides tools and chooses its execution environment. Agents can operate in a sandbox where they can execute code, edit files, connect to MCP servers, and produce artifacts.
By aquir · developers.openai.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.