# Dormice

> Dormice is a self-hosted, E2B-compatible sandbox platform for AI agents. Permanent sandboxes freeze when idle (~5 MiB RAM) and wake in ~50ms. Single binary deploy.

- **Category:** AI Agents
- **Licence:** Apache-2.0
- **Open source:** oss
- **Languages:** Typescript
- **Platforms:** Debian
- **Tags:** Ai Agents, Agents, Sandbox, Code Execution, Typescript, Docker, Self Hosted, Agent Sandbox, Gvisor, E2b, E2b Compatible, Permanent Sandbox

## Description

Dormice flips the cloud sandbox model: you host it on your own machine and sandboxes persist indefinitely. They automatically cool down through active, frozen, stopped, and archived states — an idle sandbox drops from 1 GiB to ~5 MiB RAM and wakes in ~50 ms. The stack includes a daemon, gateway, web console, CLI (dor), native TypeScript SDK, and an E2B-compatible API so the official e2b package works with just two URL changes. Isolation uses Docker with gVisor. Optional S3-compatible cold archival ships stopped sandbox disks to object storage. A single install script sets up everything on Ubuntu/Debian x86_64. The project is in early development and not yet production-ready.

## Links

- [Homepage](https://github.com/bitmiracle-ai/dormice)
- [GitHub Repository](https://github.com/BitMiracle-AI/Dormice)
- [Documentation](https://github.com/BitMiracle-AI/Dormice/tree/main/website/content/docs)

---
Source: https://selfhost.directory/project/dormice