Skip to main content
The OpenAI Agents Python SDK (openai-agents) ships built-in ShellTool and ApplyPatchTool primitives, plus the newer SandboxAgent. Mirage provides drop-in replacements that route every shell command, patch, and sandbox call through your Workspace instead of the host.

Install

This pulls in openai>=2.30 and openai-agents>=0.14.7.

Tools (ShellTool + ApplyPatchTool)

Sandbox Agent

For the new SandboxAgent API, use MirageSandboxClient:

Exports

Examples