Embed. Sandbox. Ship.
BoxLite is an embeddable micro-VM runtime that runs untrusted code in hardware-isolated sandboxes.
Unlike Docker containers that share the host kernel, each BoxLite sandbox runs its own kernel—making escape impossible.
No daemon, no root access needed. Just pip install boxlite and sandbox.
import boxlite
async with boxlite.SimpleBox("python:slim") as box:
result = await box.exec("python", "-c", "print('Hello!')")
print(result.stdout) # Hello!