OpenAI adds sandbox isolation to Agents SDK for secure AI agent deployment
OpenAI has released a major update to its Agents SDK that adds native sandbox support for running AI agents in isolated environments. The framework bundles Model Context Protocol tool usage, code execution, file editing, and custom instructions, with support for sandbox providers including Cloudflare, Vercel, E2B, and Modal.
OpenAI adds sandbox isolation to Agents SDK for secure AI agent deployment
OpenAI has shipped a major update to its Agents SDK that introduces native sandbox support for running AI agents in isolated environments with separate files, tools, and dependencies.
The Agents SDK provides developers with building blocks for AI agents that can check files, run commands, edit code, and handle extended tasks. The framework integrates tool usage through the Model Context Protocol (MCP), code execution via a shell tool, file editing with an apply-patch tool, and custom instructions through AGENTS.md files.
Sandbox isolation for production deployment
The key addition is native support for isolated execution environments. According to OpenAI, agents now run in sandboxes with their own files, tools, and dependencies, separating control logic from the computing environment.
The SDK supports sandbox providers including Cloudflare, Vercel, E2B, and Modal. Developers can also integrate custom sandbox solutions.
OpenAI claims this separation makes agents more secure, stable, and easier to scale. If an agent encounters an error, it can resume execution in a fresh container from where it stopped.
File management and workspace support
The SDK includes a manifest function that describes the workspace and supports both local files and cloud storage services including AWS S3, Google Cloud Storage, and Azure Blob Storage.
The framework connects user input, AI models, and tools into a unified system for building AI agents.
Availability and pricing
The sandbox features are available in Python now, with TypeScript support coming later. Standard OpenAI API pricing applies to usage.
No specific release date was provided for the TypeScript version.
What this means
Sandbox isolation addresses a critical security concern for AI agents that execute code and access files. Running agents in containerized environments limits potential damage from errors or malicious inputs. The support for multiple sandbox providers gives developers deployment flexibility, though the security effectiveness will depend on how thoroughly these sandboxes restrict agent capabilities. This positions the Agents SDK as infrastructure for production agent deployments rather than just prototyping.
Related Articles
ChatGPT Work Can Now Auto-Login to Websites Using Stored Session Cookies
OpenAI's agentic ChatGPT Work feature can now log into websites on your behalf without repeated credential entry, storing login sessions via cookies in its built-in browser. Security experts warn the feature creates identity and session-hijacking risks, even though OpenAI says ChatGPT never sees your actual username or password.
OpenAI Tests 'Persistent Mode' for Codex, Enabling Always-On AI Agents
OpenAI is developing a 'Persistent Mode' for its Codex agent that keeps the AI running until manually stopped, according to code discovered by WIRED. The feature includes a 'proactivity' capability allowing the agent to generate follow-up tasks and contact users without being asked.
OpenAI to Cut Off Cursor's API Access After SpaceXAI Acquisition, Effective November 12, 2026
OpenAI announced it will stop providing its models to AI coding assistant Cursor on November 12, 2026, following Cursor's acquisition by Elon Musk's SpaceXAI. The company cited a lack of confidence that SpaceXAI would honor its terms of service, pointing to xAI's admitted use of OpenAI outputs to train competing models.
OpenAI to Cut Off Cursor's API Access Nov. 12 After SpaceX Acquisition
OpenAI will terminate its API contract with AI coding tool Cursor on November 12, 2026, following SpaceX's acquisition of the company. OpenAI cites Elon Musk's past contract violations, including the 2022 Twitter data cutoff and admitted use of rival AI outputs to train Grok.
Comments
Loading...