Skip to content
SP

spore

BetaOpen SourceMIT33 stars

MIT sandbox that boots real Linux 7.x aarch64 inside a Cloudflare Durable Object through unkernel: a durable /workspace in Durable Object SQLite, exec and QuickJS APIs, history, rewind and fork, and a streamable HTTP MCP endpoint keyed by box name.

Visit website
CategoriesCode ExecutionAI Agent SandboxSelf-hostedTypeOpen-source toolContainmentUserspace runtimeRating3.6 / 5
Built onunkernelCloudflare Durable Objects
Boot rank
#25 / 119
80% of published starts are slower
Idle billing
Zero cost while idle
347 listings stay free while idle
State kept on pause
Disk only
Resume: About 3 to 4 s for a fresh Durable Object cold boot, and about 135 to 160 ms for a warm exec including the HTTPS round trip, measured on the vendor's live deployment; the MCP server reports version 0.3.0.

Overview

spore is the smallest credible way to put a real Linux kernel behind an HTTP endpoint: it deploys unkernel, a Linux kernel compiled to WebAssembly, into a Cloudflare Durable Object, so each ?box= name is a separate 64 MiB aarch64 Linux VM with no container and no container-seconds. The wrapper is the product. /workspace is backed by Durable Object SQLite and mounted into the guest over 9p/vsock, so files survive reboots and evictions while the rest of the filesystem resets. Every command and file write records a step in SQLite, which makes history, rewind and shadow runs possible, and /api/fork clones a workspace into one to ten sibling Durable Objects in parallel. Static aarch64 jq, QuickJS-NG and sqlite3 ship at /opt/bin, so JSON transforms, sandboxed JavaScript and small databases work on first boot. Interfaces are a REST API, a browser terminal and a streamable HTTP MCP server with eight tools that Pi, Claude Code, Codex and other clients can attach to directly. The limits are real: 64 MiB of RAM, commands capped at 30 s, a guest with no outbound network, no built-in auth, only /workspace durable, and a required Workers Paid plan. It is a clever, verified-running edge sandbox for small transforms, not a general-purpose build machine; the README says so and points heavier work at Cloudflare Sandboxes.

Key capabilities

  • Real Linux 7.x aarch64 booted inside a Durable Object through unkernel
  • One isolated box per ?box= URL parameter, with no container-seconds
  • Durable /workspace in Durable Object SQLite, surviving reboots and eviction
  • Transactional steps with history, rewind and shadow runs
  • Fork a workspace into up to ten sibling Durable Objects in parallel
  • Bundled jq, QuickJS-NG and sqlite3 at /opt/bin
  • REST API, browser terminal and streamable HTTP MCP endpoint
  • Airgapped guest with no outbound network
  • One-command deploy to your own Cloudflare account
  • Known limits: 64 MiB RAM, 30 s commands, no built-in auth, Workers Paid required

spore-quickstart.sh

# Deploy spore to your own Cloudflare account
git clone https://github.com/acoyfellow/spore.git && cd spore
npm install
npm run deploy

# Write into /workspace, run a command and prove the file survives a reboot
curl -s -X PUT "$URL/api/files/data.json?box=demo" -d '{"nums":[10,20,12]}'
curl -s -X POST "$URL/api/exec?box=demo" \
  -H 'content-type: application/json' \
  -d '{"cmd":"uname -m && jq \".nums | add\" /workspace/data.json"}'

# Any MCP client can attach to the streamable HTTP endpoint
# POST https://spore.customer0.dev/mcp?box=<name>

Similar alternatives

Technical specifications

Runtime architecture
Linux 7.x compiled to WebAssembly with unkernel and run inside a Cloudflare Durable Object (workerd), 64 MiB of guest RAM and JIT disabled
Runtime notes
  • One isolated box per ?box= name, with a Durable Object as the unit of isolation
  • Durable /workspace stored in Durable Object SQLite and mounted over 9p/vsock; other paths reset on reboot or eviction
  • Airgapped guest by default: no outbound guest network inside the Wasm Linux guest
  • Static aarch64 jq 1.8.2, QuickJS-NG 0.18.0 and sqlite3 3.54.1 mounted read-only at /opt/bin
Cold-start boot time
About 3 to 4 s for a fresh Durable Object cold boot and about 135 to 160 ms warm exec wall clock, per the vendor's live benchmark; the project describes the kernel boot itself as roughly 21 ms
Max vCPU
One emulated aarch64 CPU inside the WebAssembly Linux kernel
Max memory
64 MiB of guest RAM (MEMORY_MIB = 64 in the Worker source)
Storage model
Durable /workspace in Durable Object SQLite; /tmp and rootfs changes reset on reboot or eviction, and the vendor recommends only /workspace for durable data
Network isolation
The Linux guest is airgapped: no outbound guest network exists inside the WebAssembly VM. Reaching the internet is a decision made on the Worker side, and spore ships no built-in authentication, so Cloudflare Access, a bearer token or Worker middleware has to sit in front. A 16.6 KB in-process Sundog Warden filters commands and can return 403 EPERM for blocked ones, but it is a policy filter inside the Worker rather than a second isolation boundary.

Lifecycle & capabilities

Filesystem persistence
Supported
Memory / disk snapshot
Supported
Instant forking
Supported
GPU acceleration
Not supported
GUI desktop / VNC
Not supported
Mobile / cloud phone
Not supported
Browser automation
Not supported
Network egress control
Supported
Pause / auto-sleep
Supported
MCP protocol server
Supported
REST API & SDKs
Not supported
Idle billing
Zero cost while idle
State kept on pause
Disk only
Resume latency
About 3 to 4 s for a fresh Durable Object cold boot, and about 135 to 160 ms for a warm exec including the HTTPS round trip, measured on the vendor's live deployment; the MCP server reports version 0.3.0.
Session limit
Commands are capped at 30 s (15 s by default, configurable per request), guest RAM is 64 MiB, and only /workspace persists across reboots and Durable Object eviction.

Pricing model

Official Verified

Rate read 29 Nov 2026.

Pricing tiers
Pay as you go
Summary

MIT wrapper with no licence fee, but the README requires Cloudflare's Workers Paid plan because the bundle is about 6.6 MB gzipped and needs SQLite-backed Durable Objects. Cloudflare prices Workers Paid at a $5/month minimum, and each box adds Durable Object requests ($0.15 per million after 1 million), duration ($12.50 per million GB-s after 400,000 GB-s) and SQLite rows and storage. There is no separate spore meter, so the actual bill depends on how long boxes stay active.

Billing unitCloudflare Workers Paid plan plus Durable Object usage
View official pricing page

Related architecture guides