OpenAI opens Codex harness as a managed service through the Agents API
At DevDay 2026, OpenAI's Charlie Walsh and Steve explained why the company will run the agent harness for developers, and showed an airline rebooking demo built on it. The API also adds computer use for GPT-6 Astra.
In a DevDay 2026 session, Charlie Walsh from developer experience and Steve, an engineer on the API team at OpenAI, presented the Agents API: a managed service built on the Codex harness. Developers define the tools, data and instructions and choose the environment the agent works in. OpenAI runs the harness and the services around it. The session also announced computer use over the API, bringing GPT-6 Astra's ability to operate a graphical interface in OpenAI-hosted environments.
Why OpenAI is hosting the agent harness
Steve traced the path from the Assistants API, which offered hosted tools like File Search and Code Interpreter, to the Responses API in 2025 and the Agents SDK, a local harness. Codex and ChatGPT work are built on Responses. The shift came from customer conversations: teams knew the workflow they wanted but asked OpenAI how to build it, and how to get OpenAI to run it for them. Knowing which tools and data you want, he said, does not mean you want to operate the whole harness. A managed harness also improves as models do, without developers reproducing each change.

Three engineering problems: environments, visibility and long-running state
The team described three hard problems. First, a harness designed to run on a laptop had to be separated from the environment where commands run, so it can work in the cloud with a sandbox you operate or one OpenAI provides. Every command now has to cross a connection and return to the right session.
Second, developers need to show users what an agent is doing when its path cannot be predicted. An internal team wanted to display tool calls by turn, so OpenAI exposed turn information through the API.
Third, long tasks outgrow the model's context window. Compaction lets the harness carry useful information forward. Tasks must also survive deployments and server failures. Steve gave the example of an edit command sent to an environment when the connection drops: with no result, you cannot know whether the file changed, and replaying the command could do harm. The service tracks state precisely so work resumes where it left off.
Demo: rebooking passengers after a cancelled flight
Walsh built an airline dashboard for cancelled flight AL204 from San Francisco to Chicago. Each difficult case starts an Agents API session. The code creates a session in under a dozen lines of JavaScript, with an OpenAI-hosted sandbox, network access disabled, and streamed events to update the interface live.
- A rebooking skill loaded from a local file sets the exact steps.
- A flight inventory search tool can hold seats, but a human must approve the final rebooking.
- Multi-agent mode allows two concurrent subagents, one checking seating and one arrival, with a note that higher limits use more tokens.
- The agent returns a proposal file, a comparison of options and a Python script that checks its logic against the constraints.

For a family of four who had to sit together, the agent ruled out one flight with a single seat left and another that could not guarantee adjacent seats. Walsh approved both rebookings.
Customers and the AWS option
Notion is bringing OpenAI agents into its external agents feature for asynchronous work. Rakuten is using the API for long-running tasks, and Bain is building synthetic audiences, AI-simulated customers based on real research, with human experts checking results. Teams that prefer AWS can use Bedrock managed agents powered by OpenAI, which builds on the core of the Agents API.
Walsh closed by pointing to parallel work, such as dispatching thousands of agents to check every microservice for security holes.

Questions and answers
What did OpenAI announce about the Agents API at DevDay 2026?
OpenAI announced the Agents API, a managed service built on the Codex harness. Developers define the tools, data and instructions and choose the environment the agent works in, while OpenAI runs the harness and the services around it. The session also announced computer use over the API.
What is computer use in the OpenAI Agents API for GPT-6 Astra in 2026?
Computer use brings GPT-6 Astra's ability to operate a graphical interface to the OpenAI API. Announced at DevDay 2026 alongside the Agents API, it runs in OpenAI-hosted environments, so developers can have the model work through an interface without hosting that setup themselves.
Why is OpenAI hosting the Codex agent harness for developers?
OpenAI is hosting the Codex harness because customers knew the workflow they wanted but asked how to build it and how to have OpenAI run it. Steve, an engineer on the OpenAI API team, said knowing your tools and data does not mean you want to operate the whole harness. A managed harness also improves as models do.
How does the OpenAI Agents API handle long-running tasks?
The Agents API uses compaction, which lets the harness carry useful information forward when a task outgrows the model's context window. The service also tracks state precisely so tasks survive deployments and server failures, resuming where they left off instead of replaying commands that could cause harm.
What did the OpenAI Agents API airline rebooking demo show?
Charlie Walsh of OpenAI built a dashboard for cancelled flight AL204 from San Francisco to Chicago. Each hard case starts an Agents API session with an OpenAI-hosted sandbox and network access disabled. The agent returned a proposal, an options comparison and a checking script, and a human approved the final rebookings.
Which companies are using the OpenAI Agents API, and is there an AWS option?
Notion is bringing OpenAI agents into its external agents feature for asynchronous work. Rakuten uses the API for long-running tasks, and Bain is building synthetic audiences checked by human experts. Teams that prefer AWS can use Bedrock managed agents powered by OpenAI, which builds on the core of the Agents API.
From the YouTube description
Build with the Codex harness through the Agents API. Learn how to run agents in your environment, keep long-running tasks going, and understand which infrastructure OpenAI manages.
From the eventHeld Sep 29, 2026 · San FranciscoOpenAI DevDay 2026
More video
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.



