BoxLite: Micro-VM Engine for AI Agents

Hardware-isolated micro-VMs for AI agents — light enough to embed, elastic enough for cloud-scale.

Stars
★ 2.6k
Last updated
1d ago
License
Apache-2.0
Primary language
TypeScript

At a glance

How it runs
Library / SDKCLISelf-hosted service
Works with
Universal · cross-platform
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
KVM (Linux)Hypervisor.framework (macOS)Shell / CLINetwork accessLocal filesystem
Typical use
AI agent developers: Embed BoxLite in local apps to give agents isolated, persistent code execution environments.
Not a fit if
  • Linux users without KVM or hardware virtualization
  • Users on Intel-based Macs
  • Teams unwilling to pay one VM per Box in resources
Website
boxlite.ai ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-10latest release v0.12.0 (2026-11-06)

What does this agent do, and when should you use it?

BoxLite is a Rust-written micro-VM engine designed for AI agents. It can be embedded as a library in applications or deployed as a multi-tenant cloud service. Each 'Box' is a hardware-isolated VM that runs any OCI image and persists state across interactions, allowing agents to retain installed packages and files. BoxLite provides SDKs for Python, Node.js, Go, Rust, and C, along with a CLI and REST API. It emphasizes daemonless operation, embedding directly without requiring root privileges. Security is enforced through hardware virtualization (KVM/Hypervisor.framework) and OS-level sandboxing (seccomp/sandbox-exec). BoxLite supports macOS (Apple Silicon) and Linux (x86_64, ARM64), with plans for more platforms. It is already integrated with agent frameworks like Databricks Omnigent, Alibaba AgentScope Runtime, and ByteDance deer-flow.

BoxLite performs the following:
- Creates and manages hardware-isolated micro-VMs (Boxes) via libraries or CLI.
- Pulls and runs any OCI image (e.g., python:slim, alpine:latest).
- Executes commands inside VMs with streaming stdout/stderr, exit codes, interactive PTY, timeouts, and workdir settings.
- Supports persistent storage; Box state survives stop/restart.
- Controls network access via allow_net, plus port forwarding and tunneling.
- Injects secrets such that real credentials never enter the VM.
- Enforces CPU, memory, and resource limits, plus environment sanitization.
- Can run as a standalone server via CLI, exposing a REST API.

  1. AI agent developers: Embed BoxLite in local apps to give agents isolated, persistent code execution environments.
  2. Platform engineers: Use the BoxLite CLI to quickly create isolated micro-VMs for running OCI images in testing or data processing.
  3. Research teams: Integrate BoxLite into custom agent harnesses (like deer-flow) as a sandbox backend for computational isolation.
  4. Cloud providers: Use BoxLite's control plane to deploy multi-tenant agent clouds with autoscaling.
  5. Security-sensitive applications: Leverage hardware isolation and network allow-listing (allow_net) to protect sensitive data and prevent agent overreach.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • pip install boxlite
  • curl -fsSL https://sh.boxlite.ai | sh
Install notes cover
Windows · macOS · Linux · WSL

How do you install or deploy this agent?

Install the Python SDK:

pip install boxlite

Install the CLI (optional):

curl -fsSL https://sh.boxlite.ai | sh

Requires macOS 12+ (Apple Silicon) or Linux with KVM enabled (/dev/kvm accessible). Windows users need WSL2 with KVM support.

How do you use this agent?

Using in Python:

import 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())

Run an image with CLI:

boxlite run python:slim python -c "print('Hello from BoxLite!')"

Start a REST server:

boxlite serve
curl -X POST http://localhost:8100/v1/boxes -H 'Content-Type: application/json' -d '{"image": "alpine:latest"}'

What are this agent's strengths and limitations?

Pros
  • Hardware isolation is stronger than containers yet lighter than full VMs.
  • Multi-language SDKs (Python, Node.js, Go, Rust, C) plus REST API enable easy integration.
  • Boxes persist, allowing agents to maintain state across interactions.
  • Daemonless design allows embedding without root privileges.
Limitations
  • Requires hardware virtualization (KVM/Hypervisor.framework); may not work on Linux without KVM.
  • macOS Intel support is not yet available.
  • Running multiple Boxes as a library can be resource-intensive (one VM per box).
  • Network restrictions (allow_net) require explicit configuration; default is open egress.

How does this agent compare with similar options?

Compared to Docker containers, BoxLite offers stronger isolation (hardware virtualization) at the cost of more overhead. Compared to other micro-VM solutions like Firecracker, BoxLite focuses on AI agent scenarios with a simpler API and persistence features.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
BoxLite: Micro-VM Engine for AI Agents This agent 52 · Major gaps Library / SDKFree ★ 2.6k 1d ago TypeScript —
microsandbox 71 · Some gaps CLIFree ★ 9k today Rust Claude Code
The Astrid Runtime 72 · Some gaps CLIFree + model costs ★ 10k 4d ago Rust —
OpenFang 51 · Major gaps CLIFree + model costs ★ 18k 6mo ago Rust OpenAI API · Claude API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
52/ 100 5-point scale 2.6 / 5
Trust 13/29
Reliability 6/14
Adaptability 10/18
Convention 11/18
Effectiveness 7/13
Verifiability 5/8
Why each dimension lost points
Trust13 / 29 · 2.2/5

The product documents micro-VM isolation, resource limits, network controls, environment sanitization, secret placeholders, and private configuration handling, supporting moderate scores for least privilege, data flow, and sensitive-data handling. Confirmation is mainly described for cloud deployment and configuration transfer rather than ordinary local execution. Dependency-security evidence is limited; external effects from execution, image pulls, and deployment are described, but rollback coverage is incomplete. Publisher identity is unverified, and repository author metadata offers only limited attribution evidence.

Reliability6 / 14 · 2.1/5

The README, SDK quick starts, and source samples support a coherent core runtime purpose, but package metadata conflicts: the root package.json says 1.0.0 and ISC, the Rust workspace says 0.12.0 and Apache-2.0, and the Node SDK has a separate package identity. The repository describes multi-language releases and CI, but this static review cannot execute verification, and dependency availability is not established by the supplied materials. The C SDK has structured error codes and the reference server uses error envelopes, so failure diagnosis is supported but not uniformly demonstrated.

Adaptability10 / 18 · 2.8/5

The materials cover SDK embedding, CLI use, REST service, local use, and cloud deployment, with platform and resource requirements. BoxLite runs OCI workloads and documents isolation, networking, and storage boundaries; the reference server is explicitly non-production, and cloud guidance warns about proxy port exposure. Skill triggers focus on BoxLite deployment requests, with fewer boundaries described for unrelated agent-framework tasks.

Convention11 / 18 · 3.1/5

Documentation is organized across concepts, guides, references, and language quick starts, with prerequisites, examples, error handling, and platform limitations. Apache-2.0 is supported by both LICENSE and README, justifying full marks. Version signals are scattered and conflict: the security policy lists 0.9.x as supported while the workspace is 0.12.0, and package metadata differs. Maintenance responsibility has private reporting channels, response targets, and contribution guidance, but publisher identity remains unverified.

Effectiveness7 / 13 · 2.7/5

Hardware-isolated VMs, persistent state, multi-language SDKs, and agent-oriented Box types provide direct utility for running untrusted code; examples show basic usage. The runtime also incurs hardware-virtualization, image-pull, and resource-configuration costs. The materials do not quantify these costs against benefits, and cloud deployment requires additional budget and configuration decisions, so cost-benefit evidence is partial.

Verifiability5 / 8 · 3.1/5

README claims have some corroboration in security concepts, SDK examples, the API reference server, and workflow documentation. The reference server is labeled non-production, and platform requirements are stated separately from feature claims. Package version, license, and supported-security-version signals conflict, and isolation claims are largely repository assertions that this static packet cannot independently validate, so full marks are not justified.

Risks and how to mitigate them
  • Check the version and license of the actual package you install; the root package.json, Rust workspace, and Node SDK metadata do not agree.
  • The security policy lists 0.9.x as supported while the workspace is 0.12.0; verify the target release and support status before deployment.
  • Before cloud deployment, verify authentication, public access, exposed ports, and ongoing runtime costs; the reference REST server is explicitly not production-ready.
Evidence confidence: Low Reviewed Nov 07, 2026 Reviewed revision fa440ced71f5 New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/boxlite.svg)](https://followagents.com/en/agents/boxlite)
<a href="https://followagents.com/en/agents/boxlite"><img src="https://followagents.com/badge/boxlite.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v0.12.0
    Release notes excerpt
    What's Changed * fix(infra): preserve runner sizing and configure data disks by @zombee0 in https://github.com/boxlite-ai/boxlite/pull/2236 * fix(e2e): accept 403 or 404 for disabled inbound by @zombee0 in https://github.com/boxlite-ai/boxlite/pull/2240 * fix(api): retire obsolete organization region listing by @zombee0 in https://github.com/boxlite-ai/boxlite/pull/2244 * feat(api): gate higher Box limits on subscription entitlements by @zombee0 in https://github.com/boxlite-ai/boxlite/pull/2156 …
    View on GitHub ↗
  2. v0.11.0
    Release notes excerpt
    What's Changed * feat(node): expose guest SSH control by @lfld287 in https://github.com/boxlite-ai/boxlite/pull/2054 * ci(e2e-local): move the VM to c3-highcpu-4 and retry rejected starts by @zombee0 in https://github.com/boxlite-ai/boxlite/pull/2105 * feat(c): expose asynchronous guest SSH control by @lfld287 in https://github.com/boxlite-ai/boxlite/pull/2056 * feat(python): expose async and sync SSH control by @lfld287 in https://github.com/boxlite-ai/boxlite/pull/2055 …
    View on GitHub ↗
  3. v0.10.8
    Release notes excerpt
    What's Changed * feat(api): report box network policy as inbound and outbound by @zombee0 in https://github.com/boxlite-ai/boxlite/pull/2001 * feat(images): trust the system CA store for registry pulls by @ltstriker in https://github.com/boxlite-ai/boxlite/pull/2003 * feat(images): add image_registry_proxy to runtime options by @ltstriker in https://github.com/boxlite-ai/boxlite/pull/2004 * chore(images): drop the Hermes agent image from curated examples by @DefeatMan in https://github.com/boxlite-ai/boxlite/pull/2008 …
    View on GitHub ↗

FAQ

How does BoxLite differ from Docker containers?
BoxLite provides hardware-isolated VMs per Box, while containers share the host kernel. Thus BoxLite offers stronger isolation but higher per-instance overhead.
Does BoxLite support Windows?
Yes, via WSL2, but KVM must be enabled and the user must be in the kvm group.
Can BoxLite be used without root privileges?
Yes, when embedded as a library, no daemon or root is required. However, running as a standalone server or CLI may require certain permissions like /dev/kvm.
How does BoxLite ensure security?
It uses hardware virtualization (KVM/Hypervisor.framework), OS sandboxing (seccomp/sandbox-exec), resource limits, and environment sanitization.
Is BoxLite: Micro-VM Engine for AI Agents free?
Yes. BoxLite: Micro-VM Engine for AI Agents is free to use and does not need a paid service.
Is BoxLite: Micro-VM Engine for AI Agents open source?
Yes. The source code is on GitHub (boxlite-ai/boxlite) under the Apache-2.0 licence.
Is BoxLite: Micro-VM Engine for AI Agents still maintained?
Yes. The latest commit on GitHub is from 2026-11-10, within the last 30 days. The latest release is v0.12.0 (2026-11-06).
Who makes BoxLite: Micro-VM Engine for AI Agents?
BoxLite: Micro-VM Engine for AI Agents is published on GitHub by the account boxlite-ai. FollowAgents has not verified which person or company is behind that account.
What is BoxLite: Micro-VM Engine for AI Agents's official website?
The project's GitHub repository lists https://boxlite.ai/ as its website. That link is set by the repository owner; the source code itself is on GitHub (boxlite-ai/boxlite).
Was this page helpful?
View on GitHub ↗ Install ↓