Explainer
What is a microVM? (and how is it different from a container?)
A microVM is a virtual machine stripped down to the minimum, so it keeps a VM's strong isolation (its own kernel) but starts almost as fast as a container.
What is a microVM?
A small virtual machine with its own kernel and only the few virtual devices it needs: usually a disk, a network card and a serial console.
Dropping everything else (no BIOS, no USB, no graphics) makes it boot in a fraction of a second and use only a few megabytes of memory for the VM itself.
What is Firecracker?
Firecracker is an open-source microVM monitor built by AWS for Lambda and Fargate, written in Rust and running on Linux KVM.
Jasmine runs every sandbox as a Firecracker microVM.
How is a microVM different from a container?
A container is a process that shares the host's kernel; a microVM has its own kernel behind hardware virtualization.
So a kernel bug inside a container can reach the host, while code in a microVM has to break out of a virtual machine first. Containers have been faster to start, but snapshot restore closes that gap: Jasmine starts a microVM in 87 ms to a first command, against Docker's 174 ms on the same machine.
How is a microVM different from a normal virtual machine?
Same isolation, far less of everything else: a normal VM emulates a whole PC and takes seconds to boot; a microVM emulates almost nothing and starts in milliseconds.
Why do AI sandboxes use microVMs?
Because AI agents run code nobody has read, and you want a strong wall around it without making the agent wait.
Related
- What is an AI sandbox?
- How to run AI-generated code safely
- Fix "no /dev/kvm" (Firecracker, Jasmine, and other microVMs)
- The best sandboxes for AI agents, measured
Updated 2026-11-25.
Try it in a minute
Self-host it with one command, free. Jasmine Cloud, the hosted version, is in early access.