The OpenAI Agents Python SDK (openai-agents) ships built-inDocumentation Index
Fetch the complete documentation index at: https://docs.mirage.strukto.ai/llms.txt
Use this file to discover all available pages before exploring further.
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
openai>=2.30 and openai-agents>=0.14.7.
Tools (ShellTool + ApplyPatchTool)
Sandbox Agent
For the newSandboxAgent API, use MirageSandboxClient:
Exports
| Symbol | Purpose |
|---|---|
MirageShellExecutor | Drop-in ShellTool executor, runs inside Workspace.execute(). |
MirageEditor | Drop-in ApplyPatchTool editor, patches go through Mirage FS ops. |
MirageSandboxClient | Adapter for agents.sandbox.SandboxAgent. |
MirageSandboxSession | Per-conversation session bound to a workspace. |
build_system_prompt | Generates a system prompt that describes mounted paths to the model. |
Examples
examples/python/agents/openai_agents/ram_agent.py, RAM-only sandbox.examples/python/agents/openai_agents/sandbox_agent.py,SandboxAgentover RAM + S3 + Slack.