Dormice
A self-hosted, E2B-compatible sandbox platform for AI agents where sandboxes persist indefinitely and cost nothing while idle, instead of being disposable cloud sandboxes billed by the second.
Dormice is a self-hosted sandbox platform for AI agents, described as the SQLite of agent sandboxes: rather than the disposable, per-second-billed sandboxes typical of cloud sandbox platforms, Dormice runs on a machine the user already pays for and keeps sandboxes permanent, getting cheaper to keep the longer they sit idle. Its core operation, acquiring a sandbox by a user key, is idempotent: the same key always returns to the same sandbox regardless of its current state, waking, starting, or restoring it as needed.
An idle sandbox cools down on its own through active, frozen, stopped, and archived states, one step at a time, and any later acquire brings it back; on measured hardware, freezing an idle sandbox holding 1 GiB of memory reduces it to about 5 MiB resident, and waking it again takes about 50 milliseconds. It deploys as a single daemon backed by one SQLite ledger, needing no Kubernetes or external database, and the official e2b SDK works against it by changing two URLs.
The project is in early development: the daemon, SDK, CLI, web console, and Docker-plus-gVisor executor work end to end but are not yet production-ready.