OpenAI Agents API Draft
OpenAI · reviewed 22 November 2026 · its card
The OpenAI Agents API lets a developer run long-running agents without building or hosting the agent loop: it "gives your application access to the Codex harness through an OpenAI-managed API", and "OpenAI manages sessions, orchestration, context compaction, and recovery while your application provides tools and chooses its execution environment" (S1). OpenAI makes it, and "The Agents API is powered by the open-source Codex harness" (S2). It is used through the OpenAI API and its SDKs, client.beta.agents.sessions, behind the OpenAI-Beta: agents=v1 header, and is in public beta, so its rows are partial (S1, S3, S12); Amazon Bedrock Managed Agents, "powered by OpenAI", adapts it for AWS as a separate service (S11). It is a paid service with "no additional fees": model usage at API rates, tools at their rates and hosted sandboxes at container rates; no licence is stated on the pages read (S1, S2). It launched in public beta on 10 September 2026, and the latest change seen is of 30 October 2026; the API carries no product version number (S12). It is an agent harness and the agent host of its sessions, the harness being "The OpenAI-hosted Codex instance that runs the model and tool loop and maintains the agent’s session" (S4). Its maker's own words for it are on the vendor card Harness (OpenAI). It is separate from the OpenAI Agents SDK, whose loop runs inside the developer's application (S1).
- An instance of
- Agent harness, Agent host
Capabilities
| Capability | Value | Detail | Sources |
|---|---|---|---|
| Model | Partial | Beta. OpenAI models through the OpenAI API, gpt-6-astra in the examples, set per session; no list of supported models found |
S1 S5 |
| Session | Partial | Beta. A session is "A durable instance of an agent that works on tasks and responds to input"; the harness supports "Resuming a session where it left off", and an idle session takes a new turn "with the existing conversation" | S1 S3 |
| Subagent | Partial | Beta. With multi_agent on, "The harness supplies tools to create, message, wait for, and interrupt subagents"; "Each subagent has its own context" |
S6 |
| Agent team | Unknown | The main agent "coordinates their work and combines their results"; no subagents messaging each other described | S6 |
| Skill | Partial | Beta. SKILL.md skills from capability directories and plugins; hosted sandboxes ship skills for spreadsheets, presentations and Word documents; the pages read do not name the specification |
S8 S7 S12 |
| Instruction file | Unknown | Not found; instructions are set on the agent in the request | S5 |
| Plugin | Partial | Beta. "A plugin packages skills, MCP configuration, or both", in Codex's .codex-plugin/plugin.json format, loaded into a self-hosted environment or uploaded as a ZIP to a hosted one |
S8 |
| MCP | Partial | Beta. "The harness can call remote MCP tools directly"; executor MCP servers run inside the session's environment, for private networks or installed software | S4 S9 |
| Execution environment | Partial | Beta. vendor-sandbox: "OpenAI creates and manages a sandbox for the session", or a sandbox partner's; self-hosted, "a remote sandbox, your laptop, a Docker container, or an AWS Lambda function", container; or none |
S4 S2 |
| Client | Unknown | An API and SDKs; no window onto sessions found | S1 |
| Agent host | Unknown | Hosts sessions of OpenAI's own Codex harness only; nothing found on other makers' harnesses | S4 |
| Channel | Unknown | The application's own input "steers the active turn"; webhooks only notify outward; no outside-event channel documented | S3 S10 |
| Cross-session messaging | Unknown | Not found; messaging is between an agent and its subagents within one session | S6 |
| ACP | Unknown | Not found | None |
| AHP | Unknown | Not found | None |
| A2A | Unknown | Not found | None |
| Bot | Partial | Beta, in part: saved agents and durable sessions, and automations that "start new sessions or continue an existing session" on a cron, which agents can also set "in the course of their work"; no memory across sessions documented | S13 S5 |
State of play
How things stand, newest first, as the card records it.
- Automatic review, a model approving or denying supported tool and permission requests; tools can be updated in an existing session. S12
- "Added scheduled automations to the Agents API public beta." S12
- Hosted sandboxes gain the Artifact SDK and skills for spreadsheets, presentations and Word documents. S12
- "Added computer use to the Agents API", in an OpenAI-hosted browser. S12
- "Released the Agents API in public beta", on "a managed Codex harness". S12 S2