The micro-VM for AI agents — light enough to embed on your laptop, elastic enough to power an agentic cloud.
Contributing
Documentation for people working on BoxLite itself. The contribution process, from setup and pull
requests to commit messages and where each doc goes, is in
CONTRIBUTING.md.
Architecture
How the code fits together.
- Architecture: components, the VMM abstraction, host-guest RPC, concurrency, and error handling.
- Hosted platform: how the
apps/services fit together, their interfaces, and their data model. - VMM design: BoxLite's own VMM, which is replacing libkrun, with background on Hypervisor.framework, KVM, the Windows Hypervisor Platform, and guest memory.
- Jailer network permissions: guest networking, host IP grants, and the AF_UNIX control plane.
- Container capabilities: the Linux capability API.
Development
How to build, test, and change the code.
- Building from source: prerequisites and build commands.
- Rust style guide: conventions for Rust code.
- CLI development: building, testing, and extending the
boxliteCLI. - E2E local CI runbook: the self-hosted runner behind
e2e-local.yml. - REST API testing: API-key and OIDC coverage across the SDK, CLI, API, runner, and VM.
- Local volume testing: unit, guest, real-VM, and Python compatibility checks for local managed volumes.
- macOS sandbox debugging: find and fix Seatbelt denials.
Investigations
Dated root-cause analyses and design studies, newest first.
2026-11-23 · Memory and VMState checkpoint API: Defines full checkpoint options, capability checks, and the implementation order across the runtime, REST API, CLI, and SDKs.
2026-11-23 · Create Box subscription value: catalog-derived subscription savings beside the PAYG estimate, billing-state rules, and draft-preserving plan access.
2026-11-19 · Trial discovery in Welcome: frontend onboarding study, mock boundaries, direct completion and full walkthrough screenshots.
2026-11-13 · Runner data-disk performance scaling: expansion raises provisioned IOPS/throughput proportionally, clipped to the per-disk ceiling; capacity never waits for performance.
2026-11-13 · Filestore lookup prerequisites: automatic Filestore IAM and API prerequisites, cross-project configuration, and diagnostic error preservation.
2026-11-13 · Filestore instance discovery: API-resolved NFS targets, explicit backend selection, and deterministic instance assignment.
2026-11-11 · CI resource labels: job-selected Box resources, quota enforcement and original-operation recovery.
2026-11-10 · One-shot Python stdin: input ownership, EOF delivery, and streaming controls.
2026-11-10 · Desktop left navigation: sidebar layout, hover preview and navigation behavior.
2026-11-10 · Desktop visual refinement: resource view consistency and desktop review findings.
2026-11-09 · Desktop dashboard consistency: shared resource presentation, compact usage summaries and desktop screenshot evidence.
2026-11-06 · CI capacity summary: inline slot occupancy and owner capacity editing beside the runner filter.
2026-11-06 · SSH connection dialog: progressive connection steps, saved-key recovery, and backend-compatible SSH controls.
2026-11-06 · Registration email policy: disposable-domain rejection at platform account creation with existing-user access preserved.
2026-11-04 · CLI-managed SSH setup: historical credential and printed-command design, superseded by direct OpenSSH login.
2026-11-02 · VMM virtio-net device: guest queue framing, gvproxy stream backpressure, event contracts and device-only qualification.
2026-10-28 · Agent REST API design: nine HTTP operations for agents, turns and interaction, with snapshot, retry and event-recovery contracts.
2026-10-23 · Organization activity facts: lifecycle timestamps, transaction boundaries, and migration availability.
2026-10-08 · CLI device authorization discovery
2026-09-18 · Main command exit codes: runner-backed reads, absent values, and notification-path boundaries.
2026-07-19 · Reaper: one wait, one place
2026-07-15 · Collapse
start_attachedintoattachandstart2026-07-14 · Container init creation via the zygote
2026-07-14 · SDK API for run-command semantics
2026-07-14 ·
boxlite runcommand: Docker semantics fix2026-03-10 · Concurrent exec deadlock
2026-02-22 · Boot latency analysis