需先装好 Docker、Compose 插件和 git,否则安装脚本无法启动整套服务;默认控制台地址是 http://console.localhost,API 在 127.0.0.1:9090,首次访问要自行创建密码;需在 Settings 里先连接模型或 agent 账号(如 Claude Code API key)才能建应用。
sandboxd
tastyeffectcoMIT活跃维护自托管的 AI 应用构建器,智能体在你自己服务器的隔离沙箱里生成真实应用,每个应用都有独立预览链接,一条命令即可部署。
Open-source, self-hosted AI app builder — an agent builds real apps in isolated sandboxes on your own server, each live at a preview URL. Self-host in one command. MIT.
curl -fsSL https://raw.githubusercontent.com/tastyeffectco/sandboxd/main/install.sh | bashREADME 未说明显存或 GPU 要求;需一台装 Docker 与 Compose 插件的 Linux 服务器,2 vCPU / 4 GB 起步即可,原生支持 amd64 与 arm64(含 Apple Silicon、AWS Graviton),macOS 经 Docker Desktop 为尽力支持。
自托管 AI 应用构建器,让编码 agent 在你自己的服务器上隔离沙箱里生成可预览的真实应用
自托管的 AI 应用构建器,智能体在你自己服务器的隔离沙箱里生成真实应用,每个应用都有独立预览链接,一条命令即可部署。
核心能力
- 每个应用跑在独立加固容器里,带独立文件系统和资源限制
- 空闲沙箱自动休眠、按需唤醒,单机可承载多个应用
- 内置 OpenCode 与 Claude Code agent,凭据由代理注入不进沙箱
- 所有操作都是 /v1 API 调用,可无头脚本化集成到自有产品
- 提供可选 Web 控制台,支持对话改代码、预览、终端与 Git 提交推送
容易踩的坑
- desktop-preview-v0.3.27.1Desktop preview 0.3.27 — engine updates fixed, agentspre-release2026-10-31 · 2026-10-31 16:13 UTC
查看更新说明
Desktop 0.3.27 preview with the v0.3.26 engine. These builds are unsigned, so Windows SmartScreen and macOS will warn on first launch.
New since 0.3.26
- Engine updates now go through. Installing a new desktop app over an older one updates the engine on the next launch. 0.3.26 always rolled back, because the engine's settings still named the previous release's images. It also retries when the connection to the image registry drops. Your database and settings are backed up first, and it goes back to the previous engine if the update fails. Tested on Windows: v0.3.25 → v0.3.26 with the project data kept.
Already in 0.3.26
- Agents: Hermes and OpenClaw. Add one on the Agents page with an OpenAI-compatible model connection (for example an OpenRouter key). Chat with it in sandboxd, and ask it to build apps; the free coding agent builds them. Tested on Windows: both agents chat and use sandboxd's tools, and Hermes created an app the free agent built in about 75 s.
Install
- Windows:
sandboxd-desktop-0.3.27-win-x64.exe(or-win-arm64). You can install it over an older version. - macOS: the
.dmgfor your Mac.
Check downloads against
SHA256SUMS. - desktop-preview-v0.3.26.1Desktop preview 0.3.26 — OpenClaw, engine updatespre-release2026-10-31 · 2026-10-31 15:32 UTC
查看更新说明
Desktop 0.3.26 preview with the v0.3.26 engine. These builds are unsigned, so Windows SmartScreen and macOS will warn on first launch.
New since 0.3.25
- OpenClaw joins Hermes on the Agents page. Add either one with an OpenAI-compatible model connection (Settings → Model connections, for example an OpenRouter key). Chat with it in sandboxd and ask it to build apps. Each agent shows its download size and memory use before you add it (Hermes: about 3 GB download, up to 2 GB memory; OpenClaw: about 2 GB download, up to 3 GB memory).
- Updating the app now updates its engine. Installing this over 0.3.25 moves your engine to v0.3.26 on the next launch. Your database and settings are backed up first, and it goes back to the previous version if the update fails. Offline, it waits for the next launch.
- Agents get all of sandboxd's app tools, including with stricter agents like OpenClaw.
Install
- Windows:
sandboxd-desktop-0.3.26-win-x64.exe(or-win-arm64). You can install it over 0.3.25. - macOS: the
.dmgfor your Mac.
Check downloads against
SHA256SUMS. - v0.3.26最新正式版2026-10-31 · 2026-10-31 15:04 UTC
Added
- OpenClaw joins Hermes on the Agents page. Add it with your model connection, chat with it in sandboxd, and ask it to build or change apps through the same tools (no deleting, at most 10 new apps a day). It runs from its official image under the same protections as Hermes and uses up to 3 GB of memory; the Agents page shows each agent's download and memory before you add it.
Fixed
- Updating the desktop app now updates its engine. The app installs its engine once; until now an app update kept the old engine, so new features (like Agents) did not work. On the next launch after an update, the app backs up the engine's database and settings, installs the new signed engine release and goes back to the previous one if the update does not finish or start. Offline, the current engine starts and the update waits for the next launch.
- Agents get all of sandboxd's app tools with strict tool clients: a tool with no required inputs no longer sends an invalid schema (OpenClaw rejected it).
- desktop-preview-v0.3.25.1Desktop preview 0.3.25 — Agents (Hermes)pre-release2026-10-31 · 2026-10-31 01:17 UTC
查看更新说明
Desktop 0.3.25 preview with the v0.3.25 engine. These builds are unsigned, so Windows SmartScreen and macOS will warn on first launch.
New since 0.3.24
- Agents, starting with Hermes. Open Agents in the sidebar and click Add Hermes. You can chat with it there or on Telegram, and ask it to build apps; it creates and changes apps on this sandboxd. It needs an OpenAI-compatible model connection first (Settings → Model connections, for example an OpenRouter key). The first setup downloads about 3 GB. See agents.
Already in 0.3.24
- Building starts from your idea; the stack follows it (Next.js, Express, FastAPI…), with a plain warning when it can't.
- The preview follows the agent when it switches framework; Restore brings the app back, dependencies included.
- Windows setup stays within memory on busy 16 GB PCs and recovers from interrupted downloads.
- A used-up free model ends the task with a plain message instead of hanging.
Install
- Windows:
sandboxd-desktop-0.3.25-win-x64.exe(or-win-arm64). Start it from the Start menu, then Install & open workspace. - macOS: the
.dmgfor your Mac (arm64for Apple silicon,x64for Intel).
Check downloads against
SHA256SUMS. - v0.3.252026-10-31 · 2026-10-31 00:40 UTC
查看更新说明
Added
- Agents, starting with Hermes. Add Nous Research's Hermes assistant from the new Agents page, chat with it there or on Telegram, and ask it to build apps: it creates and changes apps on your sandboxd (at most 10 new apps a day, no deleting, every action in the app's activity log). Hermes runs in its own container from its official image, pinned, as a non-root user with no Linux capabilities and a read-only root; it reaches its model through your model connection and sandboxd's tools through its own secret, never seeing a real key. It needs an OpenAI-compatible model connection. See agents.
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
What is sandboxd?
The apps where you type "build me a todo app" and a working site appears at its own link — Lovable, Bolt, v0, Replit. sandboxd is the open-source engine that makes that work, on your own server. One HTTP request and it:
- spins up a private, isolated container (its own filesystem + limits),
- runs an AI coding agent inside it against your prompt, and
- hands the app a live preview URL.
Idle sandboxes sleep and wake on demand, so one ordinary box holds many apps instead of a VM each. Under the hood it's deliberately small: one Go program driving Docker, Traefik for URLs, SQLite for state — no Kubernetes, no separate database, no queue.
Bring your own models. Run OpenCode or Pi against local or remote OpenAI-compatible and Anthropic-compatible endpoints. Add connections, model aliases and token limits in the console; provider keys stay encrypted on the control plane. Use your local model server or a LiteLLM gateway, including gateways routing to AWS Bedrock. Set up model connections →
Two ways to use it
- API-first — everything is a
/v1call, so you can build sandboxd into your own product. - Optional web console — the fastest, no-code way to use it hands-on:
create an app, chat to a coding agent, watch the live preview, edit files, and
review a git diff & push — all in a browser. It's a pure
/v1client; the engine runs perfectly headless without it.
New here? Start with the console. Building a product? Drive the API.
The console starts with your idea: describe an app, choose a stack and agent, then work in a persistent conversation beside preview, code, terminal and Git. Settings groups model connections, coding-agent accounts, Git credentials and security controls. Workspace menus expose secrets, versions, memory and runtime tools. See the console guide for the complete workflow.
What can you build?
Anything you can describe — no code needed. Open the console (or the desktop app) and:
- ✨ Describe it — "a habit tracker", "a landing page for my bakery", "a team dashboard". A coding agent builds it in its own sandbox.
- 👀 Watch it come alive — the app runs at a live preview URL while the agent works, and refreshes when each change lands.
- 💬 Keep shaping it — chat to change anything; every step is a checkpoint you can restore.
- 🚀 Make it yours — review the code, commit and push it to your own Git repository.
OpenCode's free models are built in, so you can start without an account; bring your own subscription or models whenever you like.
Dev → prod, never shorter: prompt an app into a sandbox, iterate on a live preview, then self-host it on your own server in one command.
Quick start
Needs Docker + the Compose plugin and git on Linux (macOS via Docker Desktop is best-effort). Runs natively on amd64 and arm64 — including Apple Silicon Macs and arm64 Linux hosts (e.g. AWS Graviton) — every image builds from multi-arch bases with no cross-compilation. Install in one line:
curl -fsSL https://raw.githubusercontent.com/tastyeffectco/sandboxd/main/install.sh | bash
On a clean stable release checkout with cosign installed, it pulls and verifies
the matching prebuilt images. Otherwise it builds from source. It starts the
stack with the web console, and prints your
console URL. Create your password on first visit, then connect an agent
under Settings, create an app, and build. No code needed.
- Build from source instead: run
./install.sh --build— a first-class, fully-supported path. Compiles every image locally so you audit exactly what runs. Prebuilt images are multi-arch, cosign-signed with build provenance by the release workflow. The installer verifies each pulled digest against that workflow's identity at the exact release tag before starting services../install.sh --pullrequires those checks to succeed;--buildand custom image names use local builds. No signing tools are downloaded by the installer. A failure falls back to source in automatic mode, or stops without starting the stack in--pullmode. - Console:
http://console.localhost— create your password on first visit. Run./console-login.shto show the URL or reset the password. - API:
http://127.0.0.1:9090(curl http://127.0.0.1:9090/healthz→ok) - Desktop (Electron): the same builder in a native macOS/Windows app, with
local or remote engine connections. Desktop installation is on by default on
macOS; on Windows, the app offers Install & open workspace to provision
its own local WSL engine.
install.ps1remains available for existing Docker Desktop/WSL setups. Opt out of CLI desktop installation with--no-desktop/-NoDesktoporSANDBOXD_DESKTOP=0. The initial signed desktop release must be published before automatic downloads are available; see desktop setup, source builds and release status. - Headless:
--no-console --no-desktop(Windows:-NoConsole -NoDesktop). - Upgrade later: run
./upgrade.sh— it backs up your database first, health-checks the new version, and rolls back automatically if it fails (Upgrading)../upgrade.sh --checkshows your version.
Prefer the API? Connect an agent once, create a sandbox, hand it a prompt:
API=http://127.0.0.1:9090
curl -s -XPOST $API/v1/agents/claude-code/api-key -d '{"api_key":"sk-ant-..."}'
ID=$(curl -s -XPOST $API/sandbox -d '{"ports":[3000]}' | sed -E 's/.*"id":"([^"]+)".*/\1/')
curl -s -XPOST $API/v1/sandboxes/$ID/tasks -d '{"prompt":"build a todo app on port 3000","agent":"opencode"}'
# open the result at http://s-$ID-3000.preview.localhost
Full walkthrough → sandboxd.io/quickstart.
🚀 Deploy to a VPS in one click
sandboxd needs one Linux server with Docker — nothing else. Grab a server below (2 vCPU / 4 GB is plenty to start), paste our cloud-init file at creation, and it installs itself.
Disclosure: we earn a referral commission when you sign up through the provider links below, at no additional cost to you. It helps fund sandboxd's development.
Then on the new server (or paste deploy/cloud-init.yaml as user-data and skip this):
curl -fsSL https://raw.githubusercontent.com/tastyeffectco/sandboxd/main/deploy/bootstrap.sh | sudo bash
Full per-provider walkthrough: deploy/DEPLOY.md.
What you get
- Isolated sandboxes — a hardened container per app with a workspace + live preview URL; sleep/wake so idle apps cost nothing.
- Built-in agents — OpenCode & Claude Code. No credential ever enters a sandbox (a proxy injects it on the wire), and every task is checkpointed & revertible.
- Runtime presets — React/Vite, Next.js, Node/Express, FastAPI, Worker; boot to a preview and reload after agent edits.
- Files, Git & secrets — in-browser editor + diffs, commit & push, per-app config/secrets (encrypted, write-only).
- Snapshots / fork / restore, an activity timeline, per-process logs, and live lifecycle tuning.
Who's it for?
✅ Use it if you run many sandboxes for other people — an AI app-builder, an agent platform, a coding playground, per-user or per-branch preview environments, or team multi-app hosting.
❌ Skip it if you just need one or two containers for yourself — a shell
script or docker run is simpler.
(Why not just a script?)
Get a public URL — sandboxd Cloud
Out of the box, previews live on <ip>.sslip.io or localhost: fine on your
network, useless for sharing. sandboxd Cloud
gives the server you already run https://you.sandboxd.io (console, API and
*.preview.you.sandboxd.io) in one command — no domain, DNS, open ports or
certificates, and it works behind NAT, on a laptop, or on a $5 VPS. Your
compute and data stay on your machine. $9.99/server/month, 50% off at launch.
Prefer your own domain? Production / TLS.
Managed — we run it for you
Don't want to run the server yourself? We'll install, configure, and manage sandboxd on your own box — BYOC (your compute, your data, no lock-in). One-time setup + optional monthly management. See Managed →
Documentation
Full docs live at sandboxd.io:
Building on it from your own agent? AGENTS.md is a
copy-pasteable runbook.
Roadmap & community
- 🗺️ Roadmap — what's shipped & next · public project board
- 💬 Discussions — ask & get self-hosting help
- 🤝 Contribute — good first PRs: add a framework recipe (one YAML file in
control-plane/internal/recipes/data) or a runtime preset (CONTRIBUTING.md) - 🔒 Security — report privately per
SECURITY.md
Beta · 0.x. Container isolation (not VMs), single-server, and API auth off by default — all fine for your own users; tighten before untrusted multi-tenancy. See Hardening. Expect the occasional breaking change before 1.0 — pin a version and update as you go.
⭐ If sandboxd is useful, star it
Stars are how other builders find sandboxd — it's the fastest way to support the project (and it keeps us going). Thank you 🙏
License
MIT. Use it, ship it, sell what you build on it.
Sponsors
sandboxd is free and MIT-licensed. Sponsors keep it maintained and fund the deploy roadmap — thank you to everyone who chips in.