The next evolution of the Agents SDK
OpenAI has released an updated Agents SDK that adds native sandbox execution and a model‑native harness, enabling agents to work across files and tools securely. The new harness offers configurable memory, sandbox‑aware orchestration, and a range of primitives such as tool use, code execution, and file edits. It supports multiple sandbox providers and introduces a Manifest abstraction for portable workspaces. The SDK is available to all customers via the API and will first launch in Python, with TypeScript support planned.
The Core Development
We’re introducing new capabilities to the Agents SDK (opens in a new window) that give developers standardized infrastructure that is easy to get started with and is built correctly for OpenAI models: a model-native harness that lets agents work across files and tools on a computer, plus native sandbox execution for running that work safely.
For example, developers can give an agent a controlled workspace, explicit instructions, and the tools it needs to inspect evidence:
Developers need more than the best models to build useful agents—they need systems that support how agents inspect files, run commands, write code, and keep working across many steps.
What’s New in This Version
To make those environments portable across providers, the SDK also introduces a Manifest abstraction for describing the agent’s workspace. Developers can mount local files, define output directories, and bring in data from storage providers including AWS S3, Google Cloud Storage, Azure Blob Storage, and Cloudflare R2.
This gives developers a consistent way to shape the agent’s environment from local prototype to production deployment. It also gives the model a predictable workspace: where to find inputs, where to write outputs, and how to keep work organized across a long-running task.
Real-World Use Cases & Applications
These primitives include tool use via MCP (opens in a new window) , progressive disclosure via skills (opens in a new window) , custom instructions via AGENTS.md (opens in a new window) , code execution using the shell (opens in a new window) tool, file edits using the apply patch (opens in a new window) tool, and more. The harness will continue to incorporate new agentic patterns and primitives over time, so developers can spend less time on core infrastructure updates and more time on the domain-specific logic that makes their agents useful.
Developers can bring their own sandbox or use built-in support for Blaxel, Cloudflare, Daytona, E2B, Modal, Runloop, and Vercel.
As we continue to develop the Agents SDK, we’ll keep expanding what developers can build with it, making it easier to bring more capable agents into production with less custom infrastructure, while preserving the flexibility and control developers need to fit agents into their own environments.
Deployment & Availability
In addition, we realize each product is unique and rarely fits neatly into a mold. We designed Agents SDK to support this diversity. Developers get a harness that’s turnkey yet flexible—making it easy to adapt it to their own stack—including tool use, memory, and sandbox environment.
Many useful agents need a workspace where they can read and write files, install dependencies, run code, and use tools safely. Native sandbox support gives developers that execution layer out of the box, instead of forcing them to piece it together themselves.
These new Agents SDK capabilities are generally available to all customers via the API and use standard API pricing, based on tokens and tool use.
Strategic Perspective & Ecosystem Impact
The systems that exist today come with tradeoffs as teams move from prototypes to production. Model-agnostic frameworks are flexible but do not fully utilize frontier models capabilities ; model-provider SDKs can be closer to the model but often lack enough visibility into the harness; and managed agent APIs can simplify deployment but constrain where agents run and how they access sensitive data.
With today’s release, the Agents SDK harness becomes more capable for agents that work with documents, files, and systems. It now has configurable memory, sandbox-aware orchestration, Codex-like filesystem tools, and standardized integrations with primitives that are becoming common in frontier agent systems.
The harness also helps developers unlock more of a frontier model’s capability by aligning execution with the way those models perform best. That keeps agents closer to the model’s natural operating pattern, improving reliability and performance on complex tasks—particularly when work is long-running or coordinated across a diverse set of tools and systems.
Why it matters
By providing secure, scalable infrastructure that aligns with frontier model capabilities, the updated Agents SDK lowers the barrier for developers to deploy complex, long‑running agents in production, accelerating innovation in AI‑powered automation.