Built for AI workloads
Everything you need to safely run untrusted code at scale
Hardware Isolation
Every sandbox runs in its own KVM micro-VM with dedicated resources. True hardware-level isolation, not shared containers.
Multi-language SDKs
First-class support for Python, Node.js, Go, and C. Integrate sandbox creation into any workflow in minutes.
Sub-second Boot
Optimized VM startup with pre-built kernels and rootfs snapshots. Your sandboxes are ready before your code finishes initializing.
Usage-based Pricing
Pay only for the CPU seconds and memory you actually use. No idle charges, no minimum commitments.
Integrate in minutes
A few lines of code is all it takes. Our SDKs handle authentication, lifecycle management, and output streaming.
Create sandboxes programmatically
Specify the image, CPU, and memory. Get a running VM back in under a second.
Run commands safely
Run arbitrary code with full stdout/stderr capture and exit code reporting.
Auto-cleanup
Sandboxes are ephemeral by default. Resources are reclaimed automatically when you are done.
from boxlite import BoxLite
bl = BoxLite(
base_url="https://api.boxlite.ai",
token="al_live_..."
)
# Create and start a sandbox
box = bl.create(image="python:3.12")
# Run code safely
result = box.run(
"python",
["-c", "print('Hello from sandbox!')"]
)
print(result.stdout) # Hello from sandbox!
# Clean up
box.stop()