OpenAI's new Agents API gives developers the infrastructure behind Codex and ChatGPT
decoder ·
OpenAI has launched its Agents API in public beta. The API allows developers to create cloud-based agents that can run for hours, execute code, and process files. It runs on the same infrastructure behind Codex and ChatGPT. Key features include automatic context management, parallel tool use, and task delegation to sub-agents. Developers can choose OpenAI-hosted sandboxes or partner options from Cloudflare, Vercel, and Oracle. There are no extra fees, with billing based solely on token usage. The API builds on the open-source Codex harness and supports MCP, custom functions, and built-in tools such as web search.
decoder