Skip to content
AC

ACRYL microVMs

BetaOpen SourceApache-2.012 stars

Apache-2.0 microVM runtime embedded in your process: one kernel per box, OCI images, snapshots and clones, host-side secret injection, plus a CLI and REST server.

Visit website
CategoriesMicroVMSelf-hostedAI Agent SandboxCode ExecutionTypeRuntime engineContainmentHardware VMRating3.5 / 5
Built onlibkrun
DocsGitHub
Metered unit
your own hardware
Free Tier
Idle billing
Zero cost while idle
347 listings stay free while idle
State kept on pause
Disk only
Resume: Not published; snapshots are restored into a new box state

Overview

ACRYL microVMs is a young Apache-2.0 runtime built to be linked into an application rather than run as a service: a box is a small VM with its own kernel, started from an ordinary OCI image, with no daemon and no root, and the same engine is exposed as the acrylmicrovm CLI and as a REST server. Around that core it covers the properties agent workloads break first. Boxes keep their disk across stops and restarts, can be snapshotted, cloned and exported, take an on/off network switch with an allow list of reachable hosts, and can hold secrets that exist only as placeholders inside the guest while a host-side proxy injects the real value. The host helper is itself jailed with namespaces, seccomp and cgroups on Linux or Seatbelt on macOS. The repository is honest about its state: early releases, APIs that can still change, a Python SDK not yet published on PyPI under the new name, a hosted API documented as not built yet, and no Intel Mac support. The engine also still runs on the vendored libkrun the project says it is replacing with its own VMM. It is derived from BoxLite's source tree, which the NOTICE discloses; BoxLite is listed separately and this project is a distinct, independently licensed product rather than a rename. Read it as an embeddable microVM engine for a local or self-hosted agent runner, not as a hosted sandbox service.

Key capabilities

  • One kernel per box through libkrun, started from any OCI image
  • Library, CLI and REST server on the same engine
  • No daemon and no root requirement
  • Persistent disk plus snapshots, clone_box and export/import
  • Per-box network switch with a host allow list
  • Host-side secret injection so the guest holds only a placeholder
  • Jailer-style shim sandboxing on Linux and macOS
  • Python, Node.js, Go, Rust and C SDKs
  • macOS Apple Silicon, Linux KVM and Windows under WSL2

acrylmicrovm.sh

# Run a command in a throwaway box, then serve the same engine over REST
npx acrylmicrovm run --rm alpine:latest echo hello

acrylmicrovm serve --help   # REST server for remote boxes
acrylmicrovm run python:slim python -c 'print("hello from a box")'

Similar alternatives

Technical specifications

Runtime architecture
libkrun microVM with its own kernel on KVM, Hypervisor.framework, or WHP under WSL2
Runtime notes
  • Any OCI image, with a per-box QCOW2 disk
  • gvproxy (gVisor network stack) or libslirp user-mode networking
  • Jailer-style host shim: namespaces, chroot, seccomp and cgroups v2 on Linux, Seatbelt on macOS
Cold-start boot time
Not published
Max vCPU
Host-bounded; cpus accepts 0.125 to 16 with the bundled kernel
Max memory
Host-bounded; memory_mib accepts up to 32,768 MiB
Storage model
Per-box QCOW2 disk with copy-on-write snapshots, clones and export/import; cloud presets reference up to 100 GiB
Network isolation
Network access is off or on per box; when on, an allow_net list holds the hosts the guest may reach, and traffic can go through gvproxy or libslirp. Secrets are bound to hosts and request headers and written by a host-side proxy, so the guest only holds a placeholder; the README warns that a server echoing the header back would return the real value.

Lifecycle & capabilities

Filesystem persistence
Supported
Memory / disk snapshot
Supported
Instant forking
Supported
GPU acceleration
Not supported
GUI desktop / VNC
Not supported
Mobile / cloud phone
Not supported
Browser automation
Not supported
Network egress control
Supported
Pause / auto-sleep
Not supported
MCP protocol server
Not supported
REST API & SDKs
Supported
Idle billing
Zero cost while idle
State kept on pause
Disk only
Resume latency
Not published; snapshots are restored into a new box state
Session limit
Bounded by host resources; a box keeps its disk across stops and restarts until it is deleted
SDKs
Python, TypeScript, Go, Rust

Pricing model

Pending Audit
Pricing tiers
Free Tier
Summary

Apache-2.0 with no licence fee: the runtime, CLI and SDKs are free to embed and run on your own hardware. The docs describe a hosted service, cloud presets and subscription-based limits, but the hosted API is documented as not built yet, no rate card is published, and the Python SDK is not on PyPI, so hosted pricing is Pending audit.

Billing unityour own hardware
View official pricing page

Related architecture guides