OpenAI Expands Agents SDK With Sandboxing and Harness Features

April 15, 2026
OpenAI has updated its Agents SDK to include new sandboxing and harness capabilities, enabling developers to build safer and more capable AI agents that can run complex, long-horizon tasks in controlled environments.

OpenAI has introduced major updates to its Agents SDK, adding sandboxing and harness features to help developers build and deploy safer, more capable AI agents, announced in a press release.

The updated SDK now supports native sandbox execution, allowing agents to work within controlled computer environments. This setup lets agents inspect files, run code, and use tools securely while isolating them from sensitive systems. Developers can use built-in support for sandbox providers such as Blaxel, Cloudflare, Daytona, E2B, Modal, Runloop, and Vercel, or bring their own sandbox solution.

The new harness provides standardized infrastructure that aligns with how OpenAI models operate, improving performance on complex, multi-step tasks. It includes configurable memory, sandbox-aware orchestration, and integrated tools for file handling and code execution. The harness also supports separation of compute and harness components, enhancing security and durability by isolating model-generated code from sensitive credentials.

The updated Agents SDK is available to all customers through the API using standard pricing. The new features launch first in Python, with TypeScript support planned for a future release.

We hope you enjoyed this article.

Consider subscribing to one of our newsletters like Enterprise AI Brief or Daily AI Brief.

Also, consider following us on social media:

Subscribe to Enterprise AI Brief

Weekly report on AI business applications, enterprise software releases, automation tools, and industry implementations.

Market report

Superagency in the Workplace: Empowering People to Unlock AI’s Full Potential

This report explores the transformative potential of artificial intelligence in the workplace, emphasizing the readiness of employees versus the slower adaptation of leadership. It highlights the significant productivity growth potential AI offers, akin to historical technological shifts, and discusses the barriers to achieving AI maturity within organizations. The report also examines the role of leadership in steering companies towards effective AI integration and the need for strategic investments to harness AI's full capabilities.

Read more