WayToClawEarn
High impactOpenAI 官方发布;Orply 二次解析

OpenAI Agents API Enters Public Beta: Codex’s Runtime Layer, with Clear Permission Boundaries

OpenAI has put the Agents API into public beta, bringing the Codex harness, hosted sandboxes, context management, and multi-agent orchestration to developers.

WayToClawEarn EditorialPublished Sep 11, 2026

Editorial review of public sources · AI-assisted drafting. How we work · Original source

OpenAI Agents API Enters Public Beta: Codex’s Runtime Layer, with Clear Permission Boundaries

OpenAI announced on September 10, 2026 that the Agents API is in public beta. It is not just another model endpoint. The API brings together the session handling, context management, tool orchestration, subagent parallelism, and execution environments needed to run long-lived agents, using a Codex harness managed by OpenAI.

Confirmed release facts

  • The Agents API is in public beta. A developer can specify the task, model, tools, and execution environment in one API call to create a cloud agent.
  • OpenAI maintains the harness, while the execution environment can be an OpenAI-hosted sandbox, the builder’s own infrastructure, or a partner environment. OpenAI lists partners including Cloudflare, Daytona, E2B, Modal, Oracle, Runloop, and Vercel.
  • OpenAI is also introducing a hosted sandbox where an agent can run code, work with files, and produce artifacts. The sandbox can be configured with files, packages, skills, and plugins.
  • The official examples show MCP, built-in tools, tool search, programmatic tool calling, and multi-agent parallelism. One example configures up to three concurrent subagents.
  • OpenAI says there are no additional fees for the Agents API during public beta; developers still pay for the model tokens and tools their agents use. The beta will continue to change, so it should not be treated as a stable-version SLA.

What changes for builders

Many agent products have to maintain their own queues, retries, context compaction, tool registry, sandbox, and multi-agent scheduler. Agents API moves part of that infrastructure to OpenAI, leaving builders to focus on the task definition, tool and data permissions, and human-approval boundaries.

That does not mean an agent can safely take over production systems. OpenAI and secondary coverage both leave the application owner responsible for tools, permissions, knowledge, runbooks, and the execution environment. As agent capabilities grow, permission design becomes part of the product itself.

Four decisions that matter most

1. Choose the execution environment before comparing model quality

An OpenAI-hosted sandbox is useful for a fast proof of concept. A private environment or VPC may be more appropriate for internal networks, compliance isolation, and existing credentials. The environment changes cold starts, storage, networking, costs, and operational responsibility; it cannot be evaluated only by answer quality.

2. Test whether the agent remains correct after compaction

Agents API can automatically compact earlier context as a session approaches its limit, and it provides tool search and programmatic tool calling to keep irrelevant tool output out of context. Before production use, replay tasks across multiple context windows and check whether constraints, evidence links, and unfinished actions survive.

3. Parallel subagents do not mean parallel writes to production

Parallelism is useful for independent investigations, retrieval, and code review. Shared writes, payments, publishing, and permission changes should still pass through approval and idempotency controls. Orply’s secondary analysis treats the output of its example as an evidence-backed report and human handoff, not an autonomous fix.

4. Do not mistake the beta fee model for total cost

OpenAI says the Agents API itself has no additional fee during public beta, but model tokens, built-in or custom tools, sandbox use, storage, networking, and third-party infrastructure still cost money. Unit economics should be measured per completed task, not by whether the platform adds a separate API fee.

Good first validation tasks

  • Read-only incident investigation: inspect telemetry and logs, then produce an evidence-backed report without executing a rollback.
  • Research and synthesis: search independent sources in parallel and produce citations plus an unresolved-claims list.
  • Code review: run tests in an isolated environment and submit recommendations; a human still approves the merge.
  • Content operations: collect and deduplicate news, create a draft and evidence record, then keep publication behind quality gates.

A minimum pre-integration checklist

  1. List every tool the agent can read, write, or execute, and require human confirmation for high-risk actions.
  2. Separate production, staging, and local evidence, and define the time range, timezone, and source for each task.
  3. Design replayable failure handling for timeouts, duplicate tool calls, context compaction, sandbox restarts, and partial results.
  4. Set idempotency keys, concurrency limits, budgets, and stop conditions for parallel work.
  5. Compare a self-built harness with Agents API on a fixed task set for completion rate, latency, human intervention, and cost per task. Do not treat vendor customer quotes as your own tests.

Evidence boundary

The public beta, feature scope, environment options, and fee rules come from OpenAI’s official announcement. Customer statements on that page are third-party quotes published by OpenAI and are not treated here as independent validation. Orply’s article contains a fictional incident-investigation example; its numbers and conclusions are not a real production incident or our own test result.

Sources

OpenAIAgents APICodexAI agentshosted sandbox

View source →

Disclaimer: this site shares educational insights only, for inspiration and reference. No outcome guarantee; external execution and decisions are your own responsibility.
OpenAI Agents API Public Beta: Codex Harness, Hosted Sandboxes, and Permissions · WayToClawEarn