# Self-hosted alternatives to E2b

> 2 self-hostable, open-source alternatives to E2b, ranked by score.

- [Dormice](https://selfhost.directory/project/dormice)
- [Containarium](https://selfhost.directory/project/containarium)

## Head-to-head

- [Containarium vs Dormice](https://selfhost.directory/compare/containarium-vs-dormice)

## Also in AI Agents

Not listed as E2b alternatives, but from the same category:

- [open-managed-agents](https://selfhost.directory/project/open-managed-agents): Self-hosted open-source agent platform managing sessions, execution, recovery. Supports any model, harness, sandbox via Docker, Node.js, Fly.io, Cloudflare.
- [SandBase Harness](https://selfhost.directory/project/sandbase-harness): Self-hosted, open-source runtime for AI agent sessions: sandboxes, MCP toolsets, credential vaults, memory, audit replay, and a built-in web Console.
- [swarmclaw](https://selfhost.directory/project/swarmclaw): Run autonomous AI agent swarms on your own hardware with durable memory, MCP tools, and 24+ LLM providers — a self-hosted alternative to cloud agent platforms.
- [Trinity](https://selfhost.directory/project/trinity): Trinity is a self-hosted, open-source platform for running AI agents in production with human approval gates, git-native state, and audit trails.
- [bullx](https://selfhost.directory/project/bullx): Self-hosted AI agent platform with a Company Brain that learns from conversations. Agents run in isolated containers. Integrates with Slack, Teams, and other chat tools.
- [OpenAgentCore](https://selfhost.directory/project/openagentcore): OpenAgentCore lets you run AI coding agents like Codex and Claude Code on your own hardware using the OpenAI SDK, with your choice of models and sandboxes.

All 328 AI Agents projects: https://selfhost.directory/ai-agents

---
Source: https://selfhost.directory/alternative-to/e2b