Self-hosted dev environment for AI agents
EnvHaven's workspace image is open source under the MIT license. One docker run gives you VS Code in the browser with built-in support for 17 coding agents, on your own hardware, for free.
Updated November 23, 2026
The workspace EnvHaven hosts is the same image anyone can run: ghcr.io/envhaven/envhaven, MIT-licensed, with the source at github.com/envhaven/envhaven. It is built on LinuxServer.io’s code-server image and adds 17 coding agents, the runtimes they need and settings that let most of them work without approval prompts.
Run it
docker run -d \
--name envhaven \
-p 8443:8443 \
-p 2222:22 \
-e PASSWORD=password \
-e SUDO_PASSWORD=password \
ghcr.io/envhaven/envhaven:latest
Open http://localhost:8443, enter the password, and open a terminal. You land in a persistent session; run claude, codex, opencode or any of the others and sign in with your own account.
For SSH, import your GitHub keys with PUBLIC_KEY_URL=https://github.com/<you>.keys and connect on port 2222. The Haven CLI works against a self-hosted container too: haven connect . abc@your-server:2222.
What is included
- Claude Code, Codex, OpenCode, Antigravity CLI, Grok Build, Kimi Code CLI, Muse Code, OpenClaw, Hermes Agent, Pi, Goose, Qwen Code, Mistral Vibe, Factory Droid, Kiro, Amp and fx.
- Node.js 22, Bun, Python 3.12, Go and Rust; git, the GitHub CLI, ripgrep, fd, jq, sqlite and Playwright.
- No EnvHaven telemetry: nothing in the image reports back to EnvHaven. (The agents still talk to their own providers, which is how they work.)
Self-hosted or managed
Self-hosting is free and complete. What it leaves to you is the machine: keeping it on, HTTPS, a public address for apps, DNS for custom domains and updates. Managed EnvHaven is the same image with those handled, in 11 regions, starting at $15 a month, billed annually.