agentic-sandbox
Sandboxed code execution for the Agentic Framework.
Features
- Multiple Backends: Process, Docker, Firecracker, Gateway
- Language Support: Python, Node.js, Rust, Go, Bash
- Isolation: Secure code execution in isolated environments
- Async-first: Built on Tokio
Installation
[]
= "0.1"
# With Docker support
= { = "0.1", = ["docker"] }
# With Gateway (Firecracker)
= { = "0.1", = ["gateway"] }
Quick Start
use ;
async
Backends
| Backend | Feature | Use Case |
|---|---|---|
ProcessSandbox |
process |
Development (default) |
DockerSandbox |
docker |
Production (containers) |
GatewaySandbox |
gateway |
Production (Firecracker microVMs) |
FirecrackerSandbox |
firecracker |
Direct Firecracker access |
Security
ProcessSandbox: Development only - no isolationDockerSandbox: Container isolationGatewaySandbox: microVM isolation (recommended for production)
License
MIT