What it leaves out
Each step in the history of servers took something out of the package. A virtual machine carried a whole operating system. A container shared the host's kernel but still carried a Linux userland. A boxlet carries only your compiled code and a list of what it needs from outside.
Virtual machine since 2006
- Starts in
- 112 ms for Kiri's small VM, seconds in the cloud
- Wall
- hardware virtualization
Container since 2013
- Starts in
- 2.55 ms on Kiri, 213 ms on Docker Desktop, with removal
- Wall
- namespaces, cgroups and seccomp on a shared kernel
Boxlet next
- Loads in
- 0.3 ms, then 0.02 ms a call
- Wall
- its own memory, and only the imports it is given
Container and VM start times are from Kiri's published benchmarks. The boxlet figures are from the measurement below.
How many fit on one machine
We wrote one small program, a check that blocks container images with no version tag, and ran it as a Python container, a Go container and a Rust boxlet. Move the slider to see how the idle memory adds up as you run more of them.
Idle memory per program: 12.6 MB as a Python container, 5.8 MB as a Go container, 1.0 MB as a boxlet, plus about 2 MB once for the WebAssembly engine. The containers ran all the time, waiting for work. A boxlet can also be loaded for each call and use nothing between calls. Measured in Kiri's Linux VM on an Apple silicon Mac on 20 November 2026. Your own services will use more, so measure them.
It reaches only what you hand it
A container can ask the Linux kernel for anything, unless a filter says no. A boxlet can't make system calls at all. It gets a short list of imports, and you decide each one.
A container
About 390 system calls on x86-64 Linux. Docker's default filter blocks about 44 of them.
reachableblocked by Docker's default filter
A boxlet
wasi:http/outgoing-handlerwasi:clocks/wall-clockworld check { import wasi:http/outgoing-handler@0.2.0; import wasi:clocks/wall-clock@0.2.0; export check: func(image: string) -> result<_, string>; }
The whole list of what this check can reach. No files, no sockets, no environment, unless you add them.
System calls counted from Linux's x86-64 table. Docker's figure is from its seccomp documentation.
Beside your containers, not instead of them
One registry holds both kinds of image. An orchestrator reads what each one is and runs it the right way: a WebAssembly image as a boxlet, a Linux image as a container. Both get the same network, logs and limits, so you can move one service at a time.
services: check: image: team/check:1.4 # WebAssembly: a boxlet api: image: team/api:3.2 # Linux: a container db: image: postgres:17 # Linux: a containerHow we want it to work. This isn't released yet.
The orchestrator is written in Rust. It embeds the Wasmtime engine as a library, so the scheduler and the engine are one program, memory-safe, with no garbage collector pausing the process that holds every boxlet.
Good as boxlets
- Functions and webhooks
- Policy checks and admission rules
- Plugins
- Tools an AI agent calls
Keep as containers
- Databases such as Postgres and Redis
- Programs that fork, or read
/proc - GPU jobs
- Anything that needs a full Linux
Why now
The idea is old. The standard it needed shipped in the last three years.
- 2013Docker makes the container the thing everyone ships.
- 2019Docker's founder writes: "Webassembly on the server is the future of computing."
- 2024WASI 0.2 gives WebAssembly a standard way to reach files, sockets and HTTP.
- 2025WebAssembly 3.0 adds garbage collection and 64-bit memory, so more languages fit.
- 2026WASI 0.3 makes async native.
- NextBoxlets, running beside your containers.