Introducing the Agents API
OpenAI launched the Agents API in public beta, exposing the Codex agent harness, managed sandboxes, and multi-agent orchestration to developers.
OpenAI introduced the Agents API in public beta, giving developers the same agent harness and infrastructure that powers Codex through a single API call specifying task, model, tools, and environment. It supports OpenAI-managed sandboxes, customer infrastructure, or partner environments from providers including Cloudflare, Modal, E2B, Vercel, Oracle, DigitalOcean, Blaxel, Daytona and Runloop. Features include automatic context compaction for long sessions, tool search and programmatic tool calling to reduce token usage, and multi-agent support for parallel subagents. The harness is open-source Codex code; there are no extra API fees during beta, with developers paying only for tokens and tools used.
- Create production-ready cloud agents in a single API call specifying task, model, tools, environment.
- Automatic context compaction lets agents run across hours-long sessions and multiple context windows.
- Tool search and programmatic tool calling cut token cost; subagents parallelize complex tasks.
- Open-source Codex harness provides visibility into model calls, tools, and context logic.
- No additional fees during public beta; usage billed via tokens and tools.
- Products
- Agents APICodex
- AI models
- Codex
From the original article
4 min read at openai.com
Build and launch cloud agents with the Agents API, a managed service powered by the Codex harness for orchestration, long-running sessions, and tool use.
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.