Skip to main content
Back to News
news/AI Infrastructure

OpenAI Opens Managed Codex Harness With New Agents API

OpenAI’s Agents API brings managed Codex sessions, sandboxes, tools, MCP connections and recovery into public beta for developers building cloud agents.

Stefan Trbojevic

Stefan Trbojevic

11 September 20263 min read
LinkedIn

The takeaway

The Agents API packages the operational layer of agent systems, but builders remain responsible for permissions, egress, credentials and accountable tool execution.

Why it matters for builders

Use managed agent runtimes to reduce orchestration overhead, but keep permissions, egress controls, credential isolation, audit logs and approval gates under your own governance.

OpenAI Opens Managed Codex Harness With New Agents API

OpenAI has opened the Agents API in public beta, giving developers an API-level way to build and run cloud agents around the same managed Codex harness used by OpenAI’s own agent products. The announcement is a notable shift from shipping isolated model calls toward offering the operational layer around long-running agent work.

What OpenAI released

The Agents API manages sessions, orchestration, context compaction and recovery while the application supplies instructions, tools and the execution environment. OpenAI’s developer documentation describes agents that can run commands in a sandbox, edit files, connect to MCP servers and produce artifacts.

The API supports OpenAI-hosted sandboxes as well as self-hosted environments. The managed harness can also steer an agent while it works, resume a session, and delegate subtasks to subagents. Model usage remains billed at the selected model’s API rates, while sandbox and tool usage follow their respective pricing.

Why it matters for builders

The practical change is less about a new model and more about removing infrastructure that every serious agent team eventually has to recreate. Session persistence, context management, failure recovery and tool orchestration are difficult to make reliable once an agent runs longer than a single request.

For automation teams, the API creates a clearer boundary: the platform can own the agent runtime, while the application owns business logic, permissions and integrations. That is useful for workflows that need durable state or human intervention rather than a one-shot response.

The trade-off is control. A managed harness can accelerate delivery, but production teams still need explicit egress policies, credential isolation, audit logs and approval gates around consequential tools. MCP connectivity and sandbox access expand what an agent can do, so they also expand the blast radius of a misconfigured session.

OpenAI’s September 10 announcement positions the Agents API as a shorter route from an idea to a working cloud agent. The next test is whether its managed defaults can satisfy teams that need portability, predictable costs and evidence that every tool action is accountable.

Share𝕏

The Automation Brief

Read 5 AI stories instead of 50.

The essential moves in AI agents, models, automation and infrastructure — filtered for builders and operators, with the part that actually matters.

No noise. Unsubscribe anytime.

Editorial notes

Reported by

Stefan Trbojevic

Edited by

n8n Lab Editorial

Published

11 September 2026

Updated

11 September 2026

AI disclosure: AI assisted with research and drafting. Factual claims are reviewed by an editor.

n8n Lab is an independent service provider. We are not affiliated with, endorsed by, or sponsored by n8n GmbH. “n8n” is a trademark of n8n GmbH and is used here only to describe the platform-specific implementation and automation services we provide.