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.