Dormice review
Dormice is a self-hosted, E2B-compatible sandbox platform for AI agents, with permanent sandboxes that cool down when idle.
TL;DR
Dormice is a self-hosted sandbox platform for AI agents that runs on machines you already pay for. Sandboxes are permanent and step down through frozen, stopped and archived states when idle. Dormice ships as one daemon with a SQLite ledger. The official e2b SDK works against it by changing two URLs. The project is in early development and is not ready for production.
- 1.9kGitHub stars
- +76new stars, week of Nov 8
- #4in Sandboxes and runtimes this week
Dormice at a glance
- Category
- Sandboxes and runtimes
- Maintained by
- BitMiracle-AI (organization, @BitMiracle-AI on GitHub)
- License
- Apache 2.0
- Language
- TypeScript, MDX, Shell
- Repository
- github.com/BitMiracle-AI/Dormice
- First published
- Jul 8, 2026
What Dormice does
- Dormice's acquireSandbox(userKey) is idempotent: the same key always returns the same sandbox, creating, waking, starting or restoring it as needed.
- Dormice moves idle sandboxes from active to frozen, stopped and archived, one step at a time. Any acquire brings them back.
- Dormice speaks the E2B protocol, so the unmodified official e2b package runs against it with two URLs and an API-key prefix.
- Dormice runs commands, reads and writes files, and opens interactive PTY sessions inside Docker + gVisor sandboxes.
- Dormice can archive stopped sandbox disks to any S3-compatible bucket with tar and zstd, then restore them on the next acquire.
- Dormice includes a web console that lists sandboxes and their lifecycle state, creates and releases sandboxes, and shows connection snippets.
- Dormice can join several machines into one fleet behind a gateway. Upgrades run from the gateway one node at a time.
How it works
Dormice runs as a daemon with a SQLite ledger and a gateway, both listening on 127.0.0.1. Clients use plain HTTP RPC through the TypeScript SDK, curl, the dor CLI, or the E2B SDKs via /e2b/api and /e2b/envd. Sandboxes are Docker containers using gVisor. Remote access goes through an SSH tunnel or a reverse proxy. Optional S3 storage holds cold archives.
How to install and start using Dormice
Install on Ubuntu/Debian (as root)
curl -fsSL https://raw.githubusercontent.com/BitMiracle-AI/Dormice/main/deploy/install.sh | bashAdd the agent skill
npx skills add BitMiracle-AI/DormiceRequirements
- Real sandboxes need a Linux host with Docker, gVisor (runsc) and root access. The installer targets Ubuntu/Debian x86_64.
- Freezing requires swap and vm.swappiness=100.
- The daemon itself runs on Node 22+. Development can use an in-memory fake executor.
- Cold archive needs an existing S3-compatible bucket and zstd on the host.
First steps
- Run the install script as root on a bare Ubuntu/Debian x86_64 host. The script finishes by running dor doctor to verify the install.
- Open the web console at http://127.0.0.1:3677/console, using an SSH tunnel if needed, and sign in with the API token.
- Call acquireSandbox with a key from the SDK, then run commands with execCommand and write files with writeFiles.
- For existing E2B code, point apiUrl and sandboxUrl at the Dormice /e2b/api and /e2b/envd endpoints.
Who Dormice is for
- Teams that want to self-host agent sandboxes on their own machines instead of paying per sandbox-second.
- Applications using the e2b SDK that want to move to self-hosted infrastructure through configuration changes only.
- Long-lived, resident AI agents that keep files and processes across idle periods.
Limitations to know
- Dormice is in early development, and its README states nothing is ready for production yet.
- Dormice sandboxes do not move between machines. A node that is down takes its sandboxes offline until it returns.
- Dormice uses gVisor, not hardware virtualization, and only runs Linux container workloads.
- Dormice does not implement E2B template builds. Instead, you build images with docker and register them with dor template add.
Is Dormice growing? Usage data
In the week of Nov 8–14, 2026, Dormice ranked #140 on the Devtoolwatch Board and #4 in Sandboxes and runtimes, with a momentum score of 58 out of 100.
Show the weekly numbers
| Week of | New stars |
|---|---|
| Aug 23, 2026 | 110 |
| Aug 30, 2026 | 80 |
| Sep 6, 2026 | 88 |
| Sep 13, 2026 | 98 |
| Sep 20, 2026 | 93 |
| Sep 27, 2026 | 108 |
| Oct 4, 2026 | 91 |
| Oct 11, 2026 | 89 |
| Oct 18, 2026 | 100 |
| Oct 25, 2026 | 72 |
| Nov 1, 2026 | 88 |
| Nov 8, 2026 | 76 |
The Board ranks tools by four signals each week: new stars, new stars for the repo's size, added downloads and download growth beyond the market. How the ranking works.
Dormice alternatives
Other AI sandboxes and runtimes on the Board in the week of Nov 8–14, 2026, by momentum:
| Rank | Tool | Stars | Downloads/wk |
|---|---|---|---|
| #1 | OpenSandboxOpenSandbox is a sandbox runtime that gives AI agents isolated environments to run code, commands, files, browsers, and desktops on your… | 17.3k | 393k |
| #2 | CelestoCelesto gives AI agents secure, persistent computers: lightweight virtual machines for running code, browsing the web, and using desktop… | 1.4k | 448 |
| #3 | E2BE2B is open-source infrastructure for running AI-generated code in secure, isolated cloud sandboxes, controlled through JavaScript and… | 14.9k | 5.9M |
| #5 | InngestInngest is a workflow orchestration platform for running durable step functions, background jobs, and AI workflows on serverless,… | 6k | 1.3M |
| #6 | LayerFSEphemeral Workspaces, durable shared history. LayerFS gives every agent a complete, writable filesystem Workspace over shared committed… | 2.8k | – |
| #7 | microsandboxmicrosandbox is a local-first microVM runtime and library for running untrusted workloads like AI agents, user code, and CI jobs in… | 9.1k | 19k |
Dormice FAQ
Is Dormice free and open source?
Yes. Dormice's source code is on GitHub (BitMiracle-AI/Dormice) under the Apache 2.0 license, so you can use it for free.
How do I install Dormice?
Run curl -fsSL https://raw.githubusercontent.com/BitMiracle-AI/Dormice/main/deploy/install.sh | bash. The install section above has the other options from the project's README.
Is Dormice still maintained?
Yes. The BitMiracle-AI/Dormice repository was last updated on Nov 12, 2026.
How popular is Dormice?
Dormice has 1.9k GitHub stars as of Nov 15, 2026. It gained 76 new stars in the week of Nov 8–14, 2026, against a 12-week average of 91 a week. That made it #4 among AI sandboxes and runtimes on the Devtoolwatch Board.
What are the best alternatives to Dormice?
Other AI sandboxes and runtimes on the Devtoolwatch Board in the week of Nov 8–14, 2026, by momentum: OpenSandbox (#1), Celesto (#2), E2B (#3), Inngest (#5), LayerFS (#6). The alternatives table above has their numbers.
What is Dormice?
Dormice is a self-hosted sandbox platform for AI agents that describes itself as "the SQLite of agent sandboxes." It runs as one daemon with a SQLite ledger. Sandboxes are permanent and get cheaper to keep as they sit idle.
Does Dormice work with the E2B SDK?
Yes. Dormice speaks the E2B protocol, and the official e2b package runs against it unmodified. You set apiUrl and sandboxUrl to the Dormice endpoints and prefix the API token with e2b_. Template builds and a few minor features are not implemented.
What happens to an idle Dormice sandbox?
An idle Dormice sandbox steps down from active to frozen to stopped and, if S3 is configured, to archived. Frozen sandboxes keep their processes suspended. Any acquire wakes, starts or restores the sandbox. Only destroy loses data.
How does Dormice isolate untrusted code?
Dormice runs sandboxes as Docker containers with gVisor, a userspace kernel. The README also requires network hardening: block the cloud metadata service and disable inter-container traffic. Dormice does not offer hardware VM isolation.
Is Dormice a managed service?
No. Dormice is self-hosted only, with no hosted offering and no SLA. You run it on your own Linux machines.
Sources
Dormice README badge
Maintainers can show the tool's weekly Board rank in their README:
[](https://index.devtoolwatch.com/tools/bitmiracle-ai-dormice/)How this page is made: Devtoolwatch writes each review from the project's README, releases, package metadata and website, with an AI model, then checks every claim against the source it cites and drops what the sources don't support. The numbers come from Devtoolwatch's daily GitHub snapshots, GitHub's stargazer history, and the npm and PyPI download APIs. Spotted an error? Email [email protected].