# Dormice review

> Dormice is a self-hosted, E2B-compatible sandbox platform for AI agents, with permanent sandboxes that cool down when idle.

Devtoolwatch Board, the week of Nov 8–14, 2026. Canonical page: https://index.devtoolwatch.com/tools/bitmiracle-ai-dormice/

## 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.

## Dormice at a glance

- **Category:** [Sandboxes and runtimes](https://index.devtoolwatch.com/categories/sandboxes-and-runtimes/)
- **Maintained by:** BitMiracle-AI (organization, [@BitMiracle-AI](https://github.com/BitMiracle-AI) on GitHub)
- **License:** Apache 2.0
- **Language:** TypeScript, MDX, Shell
- **Repository:** [github.com/BitMiracle-AI/Dormice](https://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 Dormice

**Install on Ubuntu/Debian (as root)**

```
curl -fsSL https://raw.githubusercontent.com/BitMiracle-AI/Dormice/main/deploy/install.sh | bash
```

**Add the agent skill**

```
npx skills add BitMiracle-AI/Dormice
```

### Requirements

- 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

1. 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.
2. 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.
3. Call acquireSandbox with a key from the SDK, then run commands with execCommand and write files with writeFiles.
4. 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

- 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.

## Usage data (the week of Nov 8–14, 2026)

- Board rank: #140 overall, #4 in Sandboxes and runtimes, momentum score 58
- New GitHub stars per week (last 12 weeks): Aug 23: 110; Aug 30: 80; Sep 6: 88; Sep 13: 98; Sep 20: 93; Sep 27: 108; Oct 4: 91; Oct 11: 89; Oct 18: 100; Oct 25: 72; Nov 1: 88; Nov 8: 76

## Dormice alternatives

| Rank | Tool | Stars | Downloads/wk |
|---|---|---|---|
| #1 | [OpenSandbox](https://index.devtoolwatch.com/tools/opensandbox-group-opensandbox/) | 17.3k | 393k |
| #2 | [Celesto](https://index.devtoolwatch.com/tools/celestoai-celesto/) | 1.4k | 448 |
| #3 | [E2B](https://index.devtoolwatch.com/tools/e2b/) | 14.9k | 5.9M |
| #5 | [Inngest](https://index.devtoolwatch.com/tools/inngest/) | 6k | 1.3M |
| #6 | [LayerFS](https://index.devtoolwatch.com/tools/ephemeral-ai-lab-layerfs/) | 2.8k | – |
| #7 | [microsandbox](https://index.devtoolwatch.com/tools/microsandbox/) | 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

1. [BitMiracle-AI/Dormice on GitHub](https://github.com/BitMiracle-AI/Dormice)
2. [Dormice README](https://github.com/BitMiracle-AI/Dormice/blob/main/README.md)
3. [Devtoolwatch Board, the week of Nov 8–14, 2026](https://index.devtoolwatch.com/)
