OpenAI has released an overview of the Agents API, which enables applications to utilize agent capabilities via the Codex harness. Through this API, OpenAI manages session management, orchestration, context compression, and recovery.

Agents operate within a sandboxed environment, where they can execute code, edit files, connect to MCP (Model Context Protocol) servers, and create artifacts. The API also supports multi-agent functionality, allowing up to four sub-agents to run in parallel.

Pricing is based on the API rates of the selected model, standard rates for OpenAI tools, and standard container rates for the OpenAI-hosted sandbox. Currently, this API is limited to data residency in the United States and does not support Zero Data Retention (ZDR).


Source: