Products & Tools

OpenAI turns the Responses API into a full agent runtime

OpenAI explains how it paired the Responses API with a shell tool and hosted containers to give agents secure, scalable access to files, tools, and state.

From model to agent: Equipping the Responses API with a computer environment
From model to agent: Equipping the Responses API with a computer environmentAI-generated
By Rebecca Stone2 min read

Updated

Why it matters

  • OpenAI built an agent runtime on the Responses API using a shell tool and hosted containers.
  • Containers provide isolated, scalable execution environments where agents manage files, tools, and state.
  • The move positions execution infrastructure as a competitive layer beyond raw model capability.

OpenAI has detailed how it built an agent runtime by equipping the Responses API with a computer environment, pairing a shell tool with hosted containers to run agents that handle files, tools, and state securely and at scale.

The company describes the architecture in an engineering post titled "From model to agent: Equipping the Responses API with a computer environment." The piece explains the mechanics behind OpenAI's shift from serving raw model inference to hosting complete agent execution environments.

At the center of the design sits the Responses API, OpenAI's interface for building agentic applications. The new runtime extends it with two components: a shell tool, which lets a model execute commands, and hosted containers, which provide isolated execution environments for those commands. Together, they give an agent a place to run code, write and read files, and maintain state across the steps of a task.

The security model relies on isolation. Each agent operates inside its own container rather than sharing infrastructure with other users' workloads. That separation, according to OpenAI, is what allows the system to scale while keeping agent behavior contained — a running concern for anyone deploying agents that execute arbitrary shell commands.

Statefulness is the other design pillar. Traditional model calls are stateless: the model receives input and returns output, with no memory of intermediate work. By giving agents a computer environment with persistent files and tool access, OpenAI lets a single agent carry context across multiple actions — reading a file it wrote earlier, inspecting the output of a command it just ran, and deciding its next step based on that accumulated state.

The stakes here extend beyond one company's engineering choices. The industry is converging on agentic AI systems that act rather than merely answer, and every major lab and cloud provider is wrestling with the same question: how to give models real computational capability without opening security holes or runaway resource consumption. Anthropic offers computer use for Claude; open-source frameworks like LangChain and agent sandboxes from cloud vendors attack the same problem from other angles. OpenAI's move to make a container-backed runtime a first-class part of the Responses API signals that execution environments are becoming platform infrastructure, not add-ons.

For developers, the practical effect is a simpler path to building agents that actually do work — processing data files, running analyses, chaining tool calls — without assembling and securing their own sandbox infrastructure. The hosted container model shifts that burden onto OpenAI's platform.

The post arrives as OpenAI continues to position the Responses API as its primary interface for agentic development, and it sketches a clear direction: the company intends to compete not just on model quality but on the runtime layer underneath, where reliability, isolation, and state management determine whether agents can be trusted in production.

Source: OpenAI News

Share this article:

More from Rebecca Stone

Rebecca Stone

Show full bio

Correspondent covering consumer brands and retail at AI In Context.

135 articles

Related articles

  1. OpenAI ships a model-native harness and native sandboxes for its Agents SDK
  2. OpenAI Models Are Coming to Amazon Bedrock via a Stateful Agent Runtime
  3. OpenAI details how it runs Codex safely in production
  4. OpenAI Ships AgentKit, Expanded Evals, and Reinforcement Fine-Tuning for Agents
  5. OpenAI details codex-1: an o3 variant tuned for real coding work

Next article »