Skip to main content
Sandboxes provide the ADK code executor used for model-generated code. They are agent-wide and optional. Configure one file at sandbox/sandbox.py, exporting a value named sandbox:
The container backend requires Docker and never falls back to running generated code in the agent server. Harnest already supplies the compatible ADK package. Third-party providers integrate without changing Harnest:
The provider factory is lazy and must return an ADK BaseCodeExecutor. config.yaml permissions describe deployment intent. They do not replace an enforcing sandbox.