One micro-VM runtime — embed it, deploy it, distribute it.
BoxLite is a micro-VM runtime in Rust. It spins up lightweight, stateful Boxes — OCI containers each running in their own Linux kernel — so AI agents get real isolation, from your laptop to serverless scale.
- Embed — in-process library; ship sandboxing as a feature.
- Deploy — standalone server for multi-tenant workloads.
- Distribute — cluster it for serverless-scale execution.
Small as a library, elastic as a service — one repo, sub-50ms boot.
Embed it — sandboxing as a library
pip install boxliteimport asyncio
import boxlite
async def main():
async with boxlite.SimpleBox(image="python:slim") as box:
result = await box.exec("python", "-c", "print('Hello from BoxLite!')")
print(result.stdout)
asyncio.run(main())Deploy it — the binary, one command
curl -fsSL https://sh.boxlite.ai | sh
boxlite run python:slim python -c "print('Hello from BoxLite!')"Deploy it — a standalone server
boxlite serve Distribute it — serverless scale
git clone https://github.com/boxlite-ai/boxlite && cd boxlite/apps/infra
npx sst deploy --stage production- Stateful — environments persist across sessions; install once, resume later.
- Reversible — checkpoint, roll back instantly, fork for parallel exploration.
- Isolated — every box runs its own Linux kernel in a micro-VM (KVM / Hypervisor.framework).
- Fast — sub-50ms boot, not minutes.