Run Untrusted Code Safely.
Multi-Cloud, Self-Hosted Sandbox Infrastructure for AI Agents and Short-Lived Workloads.
Documentation ·
Quick Start ·
Report Bug ·
Request Feature ·
Sponsor
AerolVM is open-source sandbox infrastructure that you run yourself, on any cloud or on your own servers. Each sandbox is an isolated machine with its own files, its own network, and its own CPU and memory limits. You choose how strong the wall is for each sandbox: OCI containers on containerd (the default), gVisor, Firecracker microVMs, WASM, or V8 isolates. The fastest path creates a sandbox in about 4ms on the server.
AerolVM is one Go binary (sandboxd). It uses Caddy for HTTPS and routing and SQLite for state. It needs no outside database and installs with one command.
What the project plans to do, and not do, through October 2027 is in ROADMAP.md.
Multi-cloud and self-hosted
AerolVM runs where you run it. There is no hosted control plane you have to use, and no Aerol account is needed.
- Any cloud. Run it on AWS, Google Cloud, Azure, DigitalOcean, Hetzner, or any other cloud. Any Linux server works. Ubuntu 22.04 or newer is the tested path.
- Your own hardware. Run it in your data center or on bare metal. Firecracker needs KVM, so use bare metal or a VM with nested virtualization.
- Your laptop.
--local runs it on macOS or Linux with Docker. You need no domain and no cloud account.
- No lock-in. AerolVM does not depend on any one cloud's services. You can move between clouds without changing your code. Key stores (AWS KMS, Vault, OpenBao, or an HSM) and audit sinks (S3, webhook, or file) are optional add-ons you pick.
- Mix machines in one cluster. A hetero cluster puts each job on the hardware that suits it: small VMs for containers, bare metal for Firecracker, GPU machines for GPU work. See Architecture.
- Your data stays with you. Sandboxes, code, secrets, and audit logs live on your machines.
- Open source. MIT licensed, with SDKs in five languages.
Install with the script on any Linux server. For fleets, use the Ansible playbooks or the Terraform module (the Terraform module targets AWS today). Our live test suite runs on AWS.
Features
AerolVM gives you everything you need to build sandbox-backed products and agent workflows.