v0.11.5 · AI agent sandbox runtime

One runtime.
Every agent task.
VMs for untrusted code.

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.

  • ~150 ms normal restore
  • 200–500 ms VM cold boot
  • 97.6% page sharing
  • 50/50 CRI v1 checks

Measured on our Linux KVM and Apple Silicon hosts. Methodology.

200–500 ms
VM cold boot
Firecracker on KVM
~150 ms
Normal memory restore
single restore; fork 142–483 ms
97.6%
Page sharing
second 512 MiB snapshot
50/50
CRI v1 checks · beta
in-project subset, not a certification

00 The gap

Agents need to run code. Safely, fast, cheaply.

Docker gives you containers. Pullrun adds VM isolation for untrusted tasks, memory snapshots, and opt-in egress policies — all using the same OCI image.

01

Isolation without a second stack

Containers share the host kernel. Firecracker microVMs do not. Pullrun runs both from the same OCI image — no separate VM image build step.

02

State, not just files

commit captures the filesystem. Memory snapshots capture the running guest — encrypted, deduplicated, and restorable in ~150 ms.

03

Storage that does not multiply

Every layer is content-addressed once. Reflinks share blocks, P2P moves deltas, and 64 KiB pages make the N-th snapshot cheap.

$ pullrun run python:3.12 --backend vm \ --cmd python --cmd /app/agent.py ✓ booted vm-7f2a in 418 ms ✓ MCP server attached · 15 tools

The same command works with --backend container. The image is the contract; the executor is a choice.

01 Architecture

One image. A deliberate path to execution.

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.

01

OCI image

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.

Componentspullrun-oci · registry clients · manifest conversion
Try itpullrun pull alpine:3.18

From registry to running task

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.

$ pullrun run alpine:3.18 --backend vm --cmd echo hi ✓ pulled 7 layers · 7.05 MB ✓ vm-7f2a ready in 418 ms hi

02 Use cases

Start from the workload, not the runtime.

Four ways teams use Pullrun today. Each one is one command away from the same image and the same control plane.

01 / AGENTSMCP

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 ↘
02 / CONTAINERSOCI

Container workloads

Run OCI images with runc, Compose, or the CLI. Keep the developer workflow; remove the daemon and the overlayfs image store.

Container quickstart ↗
03 / KUBERNETESCRI

Kubernetes CRI (beta)

Run Pods against Firecracker VMs through RuntimeClass, with exec, attach, port-forward, and 50/50 in-project CRI v1 checks.

CRI documentation ↗
04 / OEMON-PREM

OEM & air-gapped fleets

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

See the actual commands.

No autoplay and no fake typing. Pick a scenario, read the expected output, copy what you need.

Agent sandbox

Boot a Python image as a microVM, keep the agent loop in the guest, and expose tools over MCP.

agent / zsh
$ 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
Representative output · Linux KVM, 512 MiB guest

04 Benchmarks

Read the numbers. Then read the method.

Different operations, different costs. We separate cold boot, memory restore, and container run instead of collapsing them into one hero number.

Same 512 MiB guestbars scaled to 500 ms
VM cold boot
200–500 ms
Normal restore
~150 ms
Fork restore
142–483 ms
Ranges are measured spread, not percentiles. Normal restore and fork use the same snapshot; fork adds an isolated tap/bridge.
Measured Pullrun performance against Docker Desktop where applicable
OperationPullrunDocker DesktopContext
First pull, alpine:3.18968 ms~2 scold cache
Container run~400 ms~800 mssame OCI image
Apple Silicon VM boot~160 msN/AM3, Virtualization.framework
Firecracker cold boot200–500 msN/Aper-task VM, KVM
Firecracker warm pool~200 msN/Apool size 4
Normal memory restore~150 msN/Asingle restore
Fork restore142–483 msN/A9 concurrent forks
Page sharing, snapshot 297.6%N/A8192 logical → 194 new
Stripped CLI + runtime~20 MB—Docker Desktop is an app bundle; not comparable
Method and hardware

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

Open source. Production-minded.

Apache-2.0 runtime, public tests, and two commercial lanes. No hosted API detour.

01 / LICENSE

Apache-2.0

Read, fork, and ship. The runtime and CLI are in one repository.

02 / KUBERNETES

CRI v1 checks 50/50

Beta. In-project conformance subset, not a Kubernetes certification. Exact test coverage.

03 / SECURITY

Documented boundaries

What is enforced, what is not: security status, feature matrix, audit scope.

04 / RELEASES

Versioned, installable

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.

Two commercial lanes

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.

OEM & embedPer-seat licensing, custom MCP surfaces, co-branded runtime, onboarding for agent platforms.
On-prem / air-gappedOffline registries, P2P image sync, policy gates, CRI, and snapshot state on your hardware.

Enterprise conversations: open an issue with the deployment shape.

06 Install

First command in under a minute.

One binary. No daemon. The runtime is Linux; the CLI runs on macOS, Linux, and Windows (WSL2 for VMs).

$ curl -fsSL \ https://github.com/pullrun/pullrun/raw/main/install.sh | bash $ pullrun run alpine:3.18 --cmd hello hello

Containers need runc; Firecracker VMs need /dev/kvm.

  1. Install for your platform into ~/.local/bin (or /usr/local/bin with sudo).
  2. Run the smoke test; expected output is hello.
  3. Pick a backend: container for trusted code, Firecracker or Apple VM for untrusted code.
  4. Connect an agent: run pullrun mcp and point your MCP client at it.