header-langage
简体中文
繁體中文
English
Tiếng Việt
한국어
日本語
ภาษาไทย
Türkçe
Scan to Download the APP
Partnered With:

OpenAI Agents SDK Update Allows Agents to Manipulate Files and Run Code within Sandbox

According to Insight Beating monitoring, OpenAI has released a major update to the Agents SDK, with the core change being to provide agents with a real working environment: agents can now read and write files, install dependencies, run code, and invoke tools within a controlled sandbox, rather than being limited to dialogue.

The SDK's agent execution framework has introduced configurable memory, sandbox-aware orchestration, and a file system tool in collaboration with Codex (allowing shell command execution and code editing with apply patch). The framework also integrates multiple agent protocols that are becoming industry standards: MCP tool invocation, custom instructions in AGENTS.md, and Skills for progressive capability declaration. Developers no longer need to manually assemble these foundational infrastructures.

Sandbox execution is another key focus of this update. The SDK now natively supports 7 sandbox providers: Blaxel, Cloudflare, Daytona, E2B, Modal, Runloop, and Vercel; developers can also connect to their own sandbox. The newly introduced Manifest abstraction uniformly describes the agent's workspace, allowing for local file mounting, defining output directories, and integrating with storage services such as AWS S3, Google Cloud Storage, Azure Blob Storage, and Cloudflare R2, enabling the use of the same configuration from local prototyping to production deployment.

Architecturally, the SDK decouples agent scheduling logic from the computing environment. The three main benefits are: credentials do not enter the model generation code execution environment, reducing the risk of injection and data leakage; externalization of agent state supports snapshots and recovery, ensuring progress is not lost in case of sandbox container crashes; and multiple sub-agents can execute tasks in parallel in different containers.

The new features are now available to all API users, billed through standard token and tool invocation. Currently, only Python is supported, with a TypeScript version planned for a future release.

举报 Correction/Report
Correction/Report
Submit
Add Library
Visible to myself only
Public
Save
Choose Library
Add Library
Cancel
Finish