smolvm is a lightweight virtualization platform designed to execute AI agents and application workloads within hardware-isolated virtual machines. Each machine operates with its own kernel and dynamically allocated memory. Developers can launch environments from standard OCI container images, including locally built images. Integrated checkpointing captures processor state, memory, and disk contents for subsequent restoration. Copy-on-write branching enables multiple independent workloads to continue from the same execution state. Portable machine packages can be distributed through OCI registries or executed as self-contained binaries. Configurable network restrictions and credential substitution provide additional security controls. Embeddable SDKs support Python, TypeScript, Rust, and Go.
Features
- Hardware-isolated virtual machines with independent kernels and dynamically allocated host memory
- Native OCI container image compatibility with persistent environments and rapid virtual machine startup
- Comprehensive execution checkpointing capturing processor state, memory contents, and virtual disks
- Copy-on-write machine branching with independent execution, checkpoint restoration, and historical state recovery
- Portable virtual machine packaging with self-contained executables and OCI registry distribution
- Embeddable Python, TypeScript, Rust, and Go SDKs with configurable networking and credential protection