Experimental — Hotcell is under active development and should not be used in production.

Run untrusted code in hardened VMs.

Hotcell runs code inside tiny virtual machines. Each execution gets its own kernel, its own memory, its own process tree. The code cannot see or touch the host because it is running on separate virtual hardware.

terminal — hotcell cli
$ hotcell run alpine -- echo "hello from a VM"
Pulling docker.io/library/alpine:latest...
hello from a VM

$ hotcell run --network inet python:3.12-slim \
    -- python3 -c "import urllib.request; \
       print(urllib.request.urlopen( \
         'http://example.com').status)"
Pulling docker.io/library/python:3.12-slim...
200
ok
EXIT: 0
security

VM Isolation

Each execution gets its own kernel, memory space, and process tree. Three pluggable VMM backends — libkrun (macOS + Linux), Firecracker (Linux), and Cloud Hypervisor (Linux) — provide hardware-level virtualization. The code cannot see or touch the host because it is running on separate virtual hardware.

Libkrun
Firecracker
Cloud Hypervisor
Hypervisor.framework
KVM
inventory_2

OCI Image Support

Pull and run standard Docker/OCI images. No special image format needed — just hardened security for your existing containers.

stream

Real-Time Streaming

Stream console output in real-time via SSE or WebSocket. No waiting for the VM to exit — see output as it happens.

swap_horiz

Pluggable Backends

Choose your VMM per-request. libkrun for macOS + Linux with virtiofs and TSI networking. Firecracker for stronger Linux isolation with ext4 block devices. Cloud Hypervisor for Linux with virtio-fs and a REST API over Unix socket.

devices

Dual-Platform

macOS (Apple Silicon via Hypervisor.framework) and Linux (x86_64/aarch64 via KVM). Native hypervisors for zero-overhead performance.

Boot Time Seconds
Image Format OCI
Isolation Level Ring 0
Tests 127+

Ready to try Hotcell?

Hotcell is a CLI, Rust library, and HTTP server for running code in hardware-isolated VMs. Three pluggable VMM backends, real-time streaming, and a defense-in-depth security model with 127+ tests.