The micro-VM for AI agents — light enough to embed on your laptop, elastic enough to power an agentic cloud.
BoxLite infrastructure
BoxLite's hosted apps include the API/dashboard, proxy, VM runner fleet and collector. Each cloud has its own architecture and operational procedures; the shared tools are mstage, mbuild and mdeploy.
Choose a cloud
| Task | AWS guide | GCP guide |
|---|---|---|
| Understand the system | Architecture | Architecture |
| Bootstrap and deploy | Deployment | Deployment |
| Operate runners | Runner operations | Runner operations |
| Trace connectivity | Networking | Networking |
| Inspect access | Security | Security |
| Operate telemetry | ClickHouse | ClickHouse |
| Configure identity/mail | Identity and mail | Identity and mail |
| Estimate costs | Costs | Costs |
Shared references
- Configuration and secrets, deployment commands and runner artifact commands.
- mstage: identity, stage values, CI declarations and state recovery.
- mbuild: container publication, verification and promotion.
- mdeploy: engine selection, inputs, intent and protection.
- Release runbook: tag a version, publish its application images and roll it out to prod.
- Observability configuration, Auth0 login and branding, and status page.
- Stable launchers and Auth0 assets.
Deploy an existing stack
Follow the selected cloud's deployment guide before the shared preview/apply workflow.
A successful npm run bootstrap does not establish that every runtime prerequisite is present.
Cloudflare API token
See DNS credentials for token scope and the cloud guides for storage destinations.
Validate changes
Run from the repository root:
make test:apps:infra
make coverage:infra
make test:apps:infra-config
test:apps:infra typechecks tooling and runs the infrastructure suites. coverage:infra runs those same
checks with c8 and writes repository-relative LCOV to target/coverage/infra/lcov.info, including
unloaded production modules at zero coverage. Setup reinstalls dependencies if the c8 executable is
missing, including older installs that already have node_modules. CI uploads this report under the infra flag;
infrastructure changes cannot use the empty-upload path. The wheel smoke fixture copies Python
sources while omitting native extensions, so unrelated missing modules cannot mask a broken wheel.
test:apps:infra-config installs SST's platform and typechecks the full configuration.
Runtime synthesis tests load SST builders through dynamic module paths so tooling-only typechecking
does not require generated SST globals.
Registration synthesis tests execute deployStack() through the API service constructor with
recording cloud-resource doubles and real Pulumi secret Outputs. They verify opt-in Turnstile
settings, timeout defaults and enabled stage-secret delivery without contacting cloud providers.
For documentation-only edits, check local links,
anchors, Mermaid rendering and existing documentation contracts; a cloud apply is not validation.
The wrapper tests for release preflight, state export, repeated termination and detached-child cancellation use a PID file as the child's readiness signal. Install signal handlers and finish fixture setup before writing the PID to a sibling temporary file. Rename it to the polled path so the parent can read the complete PID and interrupt the wrapper immediately.
For local OAuth preparation, make test:apps:infra:auth0 runs the tooling typecheck and Auth0 bootstrap,
login-policy, email-provider, MCP configuration, and configure-login command tests.
It requires no live tenant or management credentials.
These fixtures verify configuration behavior and rollback; they cannot prove the production Action, clients, or grants are deployed.