CLI
Sandbox
The CLI integrates a secure Docker-based sandbox for executing untrusted code and tools.
Enabling Sandbox
Add the sandbox skill to your AGENT.md:
skills:
- sandbox
- shell
- mcpHow it Works
- Docker Container: A
python:3.11-slimcontainer is started in the background. - Mounting: The agent's directory is mounted to
/workspaceinside the container. - Tool Routing:
- Shell:
run_commandautomatically executes inside the container. - MCP: MCP servers (like
sqlite) configured withuvxornpxrun inside the container.
- Shell:
Security
- Isolation: Commands cannot access your host filesystem (except the mounted agent dir).
- Networking: Container has network access (unless restricted by custom Docker config), but is isolated from host services.
- Persistence: Changes to
/workspacepersist; system changes (apt-get install) are lost on restart.