Autonomous agent tasks
Give every task a disposable microVM, a tool surface, and a state snapshot. Agents drive Pullrun through MCP or the SDKs.
See the agent flow ↘v0.11.5 · AI agent sandbox runtime
Pullrun boots any OCI image as a Firecracker or Apple Silicon microVM for untrusted agent workloads, or as a container for trusted workloads. Same image, same API, no daemon — and ~150 ms on a normal memory restore.
Measured on our Linux KVM and Apple Silicon hosts. Methodology.
00 The gap
Docker gives you containers. Pullrun adds VM isolation for untrusted tasks, memory snapshots, and opt-in egress policies — all using the same OCI image.
Containers share the host kernel. Firecracker microVMs do not. Pullrun runs both from the same OCI image — no separate VM image build step.
commit captures the filesystem. Memory snapshots capture the running guest — encrypted, deduplicated, and restorable in ~150 ms.
Every layer is content-addressed once. Reflinks share blocks, P2P moves deltas, and 64 KiB pages make the N-th snapshot cheap.
The same command works with --backend container. The image is the contract; the executor is a choice.
01 Architecture
Pullrun is a single runtime with four moving parts: image store, executor router, isolation layer, and policy/egress. Follow the path that matters to you.
Resolve any OCI image into a verified manifest and layer set.
Why: the image is the contract. There is no separate VM image build step or per-backend image format.
pullrun pull alpine:3.18Store layers once by content hash; clone rootfs with reflink; GC unreachable blobs.
Why: the Nth sandbox costs roughly one image, not N copies. No overlayfs in the image store.
Route the same image to runc, Firecracker, or Apple Virtualization.
Why: isolation level is a per-workload choice. VMs for untrusted code; containers for trusted code.
pullrun run alpine:3.18 --backend vmApply opt-in egress policy, host-side credentials, secrets, and image policy.
Why: egress deny is explicit; without --egress-deny networking stays allow-all. Explicit secret mounts still enter the workload.
pullrun run … --egress-denyExpose one workload model to CLI, gRPC, MCP, CRI, and SDKs.
Why: agents, scripts, and orchestrators drive the same runtime and the same image.
Pullrun resolves the OCI manifest, stores layers once by content hash, clones a rootfs with reflink, then boots the selected executor. No daemon sits between the CLI and the kernel.
Memory, device state, and rootfs are captured as AES-256-GCM artifacts. Guest memory is cut into 64 KiB content-addressed pages, so unchanged pages are stored once. The first snapshot stored 441 unique pages (27.6 MiB); a second identical VM wrote 194 new pages, so 97.6% were reused.
Egress deny is opt-in with --egress-deny. When enabled, nftables allows DNS and explicit rules, drops the rest, and logs denied flows for bridge VMs and rootful containers. The credential proxy adds headers host-side; explicit --secret mounts and snapshots can still carry secrets into the workload.
Still open, and stated plainly: guest HTTPS through the proxy, slirp egress (rejected), rootless egress (blocked by nsenter permissions), and Apple VM egress. The backend × feature matrix has the full list.
Layers live in a content-addressed DAG. Reflinks share blocks locally; P2P sync uses gRPC and Bloom filters to move only missing blocks between nodes. One registry pull can seed a fleet.
02 Use cases
Four ways teams use Pullrun today. Each one is one command away from the same image and the same control plane.
Give every task a disposable microVM, a tool surface, and a state snapshot. Agents drive Pullrun through MCP or the SDKs.
See the agent flow ↘Run OCI images with runc, Compose, or the CLI. Keep the developer workflow; remove the daemon and the overlayfs image store.
Container quickstart ↗Run Pods against Firecracker VMs through RuntimeClass, with exec, attach, port-forward, and 50/50 in-project CRI v1 checks.
CRI documentation ↗Embed the runtime in your product or run it on your hardware: offline registries, P2P sync, policy gates, and snapshot state.
Commercial lanes ↘03 Terminal
No autoplay and no fake typing. Pick a scenario, read the expected output, copy what you need.
Boot a Python image as a microVM, keep the agent loop in the guest, and expose tools over MCP.
$ pullrun run python:3.12 --backend vm --name analyst \ --cmd python --cmd /app/agent.py ✓ pulled python:3.12 · 9 layers ✓ booted vm-7f2a in 418 ms ✓ MCP server attached · 15 tools → agent is executing in an isolated Firecracker microVM
Capture a running guest, then restore it into an isolated network namespace. Page dedup keeps the store small.
$ pullrun snapshot create analyst ✓ snap-18eacd · 8192 logical · 441 unique (27.6 MiB) ✓ second snapshot · 194 new pages (97.6% reused) ✓ AES-256-GCM · 195 ms $ pullrun snapshot restore snap-18eacd ✓ normal restore: 153 ms $ pullrun snapshot restore --fork snap-18eacd ✓ fork ready: 153 ms · isolated tap → new tap/bridge; guest identity re-seed is still open
Keep the Compose file. Pullrun parses it, maps services to images, and runs the stack without Docker Desktop.
$ pullrun compose up ✓ myapp_web_1 running · container ✓ myapp_db_1 running · container → 2 services healthy · 2.1 s $ pullrun compose ps NAME IMAGE STATUS myapp_web_1 myapp:latest running
Register the CRI shim, select the RuntimeClass, and run a Pod with a VM isolation boundary.
$ kubectl get runtimeclass NAME HANDLER pullrun-vm pullrun-vm $ kubectl run demo --image=alpine:3.18 \ --overrides='{"spec":{"runtimeClassName":"pullrun-vm"}}' ✓ pod/demo created ✓ CRI v1 checks: 50/50 (beta; in-project subset)
04 Benchmarks
Different operations, different costs. We separate cold boot, memory restore, and container run instead of collapsing them into one hero number.
| Operation | Pullrun | Docker Desktop | Context |
|---|---|---|---|
| First pull, alpine:3.18 | 968 ms | ~2 s | cold cache |
| Container run | ~400 ms | ~800 ms | same OCI image |
| Apple Silicon VM boot | ~160 ms | N/A | M3, Virtualization.framework |
| Firecracker cold boot | 200–500 ms | N/A | per-task VM, KVM |
| Firecracker warm pool | ~200 ms | N/A | pool size 4 |
| Normal memory restore | ~150 ms | N/A | single restore |
| Fork restore | 142–483 ms | N/A | 9 concurrent forks |
| Page sharing, snapshot 2 | 97.6% | N/A | 8192 logical → 194 new |
| Stripped CLI + runtime | ~20 MB | — | Docker Desktop is an app bundle; not comparable |
Hardware: first pull, container run and Apple VM boot on Apple M3, macOS 14, cold cache, alpine:3.18, Docker Desktop 4.27. Firecracker and snapshot figures on a Linux KVM x86_64 host, Firecracker 1.18.0, 512 MiB guest, release runtime. Repetition: pull/run figures use hyperfine with at least 10 iterations and report the mean; snapshot figures are single-host runs, so the ranges are real spread, not percentiles. Normal restore is one snapshot resume (153 ms measured). Fork restore is 9 concurrent forks (142–483 ms each) — that range is contention, not single-fork latency.
Snapshot arithmetic: a 512 MiB guest has 8192 logical 64 KiB pages. The first snapshot stored 441 unique pages (27.6 MiB). A second, identical VM wrote 194 new pages; 97.6% = (8192 − 194) / 8192. The 441 and 194 numbers are different measurements — total unique pages vs newly written pages.
Install size: ~20 MB is the stripped release tarball (CLI + runtime). Docker Desktop is a GUI application bundle, so the table does not treat its ~75 MB as an equivalent binary.
Reproduce: hack/bench.sh · hack/snapshot-bench.sh. No multi-host distribution or formal benchmark suite is claimed.
No customer logos, no invented scale numbers. If a result is not measured, it is not in this table.
05 Trust & adoption
Apache-2.0 runtime, public tests, and two commercial lanes. No hosted API detour.
Beta. In-project conformance subset, not a Kubernetes certification. Exact test coverage.
What is enforced, what is not: security status, feature matrix, audit scope.
Install script, Homebrew tap, macOS/Linux/Windows builds, and a public changelog.
Security status: documented. Third-party audit scope is proposed — not yet independently audited.
We are not building a generic hosted sandbox API. We work with OEMs embedding the runtime and with teams running it on-prem or air-gapped. If that is you, tell us what you are building.
Enterprise conversations: open an issue with the deployment shape.
— Engineering notes
Longer technical writing on storage, distribution, isolation, and the state an agent leaves behind. Including the trade-offs.
06 Install
One binary. No daemon. The runtime is Linux; the CLI runs on macOS, Linux, and Windows (WSL2 for VMs).
Containers need runc; Firecracker VMs need /dev/kvm.
Apple Silicon uses Virtualization.framework; no Docker Desktop required.
Windows CLI with WSL2 auto-provisioning. VMs need WSL2 with KVM; Windows guide ↗.
hello.pullrun mcp and point your MCP client at it.