cocoon sandbox

MicroVM sandboxes for AI agents, built on cocoon. Warm claims are sub-millisecond; a pool miss clones from a golden snapshot in tens of milliseconds; cold boot is ~0.2–0.4 s on bare metal.

SDK (Go/Python)         sandboxd (per node)              guest microVM
client.New/new ─ HTTP ─► claim: warm pool / golden clone   Cloud Hypervisor
exec/files/… ─ HTTP upgrade (kept) ─► byte relay ─ vsock ─► silkd :2048
                        memberlist mesh: warm-count gossip,
                        MOVED-style redirect to the owning node

Cloud Hypervisor serves both network lanes. net=none has no NIC and uses vsock-only I/O (hardened default); net=egress attaches a bridge/CNI NIC.

Guides

Repository

Source and issue tracker: github.com/cocoonstack/sandbox.