boxlite-ai/boxlite

The micro-VM for AI agents — light enough to embed on your laptop, elastic enough to power an agentic cloud.

What it solves

BoxLite provides a secure, isolated compute environment for AI agents to execute code. It solves the problem of safely running untrusted or complex code generated by LLMs by wrapping it in hardware-virtualized micro-VMs that persist state between agent turns, preventing the need to restart environments from scratch.

How it works

It uses OCI-compatible images (like those used by Docker) to spin up lightweight, hardware-isolated micro-VMs. Because it is daemonless, it can be embedded directly into applications as a library or run as a standalone server. It manages the lifecycle of these "boxes," allowing agents to install packages, write files, and execute commands while enforcing strict resource limits, network egress controls, and secret injection to ensure the host system remains secure.

Who it’s for

Developers building AI agent frameworks or applications who need a robust, portable, and secure sandbox for their agents to perform tasks like code execution, data processing, or file manipulation without risking the host environment.

Highlights

  • Hardware Isolation: Uses KVM or Hypervisor.framework to provide VM-level security for each agent task.
  • OCI-Native: Runs standard Docker images without modification.
  • Multi-Language Support: Provides native SDKs for Python, Node.js, Go, Rust, and C.
  • Persistent State: Boxes maintain their filesystem state across execution turns, allowing for long-running agent workflows.
  • Flexible Deployment: Works as an embedded library for local development or as a scalable, multi-tenant cloud infrastructure.

Related

  • Project
  • Project
  • Project
  • Dispatch
  • Project