The next evolution of the Agents SDK
Product The next evolution of the Agents SDK The updated Agents SDK helps developers build agents that can inspect files, run commands, edit code, and work on long-horizon tasks within controlled sandbox environments. OpenAI updates the Ag…
April 15, 2026 Product The next evolution of the Agents SDK The updated Agents SDK helps developers build agents that can inspect files, run commands, edit code, and work on long-horizon tasks within controlled sandbox environments. Loading… . 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: Python 1 # pip install "openai-agents>=0.14.0" 2 3 import asyncio 4 import tempfile 5 from pathlib import Path 6 7 from agents import Runner 8 from agents.run import RunConfig 9 from agents.sandbox import Manifest, SandboxAgent, SandboxRunConfig 10 from agents.sandbox.entries import LocalDir 11 from agents.sandbox.sandboxes import UnixLocalSandboxClient 12 13 14 async def main () -> None : 15 with tempfile.TemporaryDirectory() as tmp: 16 dataroom = Path(tmp) / "dataroom" 17 dataroom.mkdir() 18 (dataroom / "metrics.md" ).write_text( 19 """# Annual metrics 20 21 | Year | Revenue | Operating income | Operating cash flow | 22 | --- | ---: | ---: | ---: | 23 | FY2025 | $124.3M | $18.6M | $24.1M | 24 | FY2024 | $98.7M | $12.4M | $17.9M | 25 """ , 26 encoding= "utf-8" , 27 ) 28 29 agent = SandboxAgent( 30 name= "Dataroom Analyst" , 31 model= "gpt-5.4" , 32 instructions=…