What you get
CLI
One command to create a VM and drop into a shell. Manage boxes, execute commands, transfer files — all from your terminal.
Python SDK
Async client for managing boxes programmatically. Create sandboxes, stream output, upload/download files.
REST API
Full HTTP API for integration with any language or platform. SSE streaming for real-time output, WebSocket for interactive terminals.
Web dashboard
Built-in UI at
localhost:9090/ui. View all boxes, start/stop/delete them, and see execution history.How it works
Theboxrun serve process runs an HTTP/Unix socket server that manages the full lifecycle of micro-VMs via BoxLite. Clients — the CLI, Python SDK, or a browser — talk to this server. State is persisted in a single SQLite database; real-time output is streamed via SSE.
BoxLite provides the underlying micro-VM runtime. BoxRun adds lifecycle management, persistence, and a multi-client server layer on top.
Box lifecycle
- creating — box is being provisioned by BoxLite
- running — box is up and accepting commands
- stopped — box is paused, disk state preserved
- error — box creation or runtime failure
rm (remove) destroys data.
What’s next
Quick Start
Install BoxRun and run your first sandbox in minutes.
CLI Reference
All commands, flags, interactive terminal, volume mounts.
Python SDK
Full SDK API, data types, error handling, AI agent patterns.
REST API
HTTP endpoints, WebSocket attach, SSE streaming.

