tastyeffectco/sandboxd
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.
What it solves
sandboxd provides a self-hosted engine for building and hosting AI-generated applications. It eliminates the need for proprietary cloud platforms by allowing users to run coding agents that build real apps in isolated sandboxes on their own server, ensuring full ownership of infrastructure, code, and data.
How it works
One HTTP request triggers a workflow where the system spins up a private, isolated Docker container with its own filesystem and limits. An AI coding agent (such as OpenCode or Claude Code) is then run inside that container to build the app based on a user prompt. The system then assigns a live preview URL via Traefik. To optimize resources, idle sandboxes enter a sleep state and wake on demand.
Who it’s for
It is designed for developers and platform builders who need to manage multiple sandboxes for others, such as those creating AI app-builders, agent platforms, coding playgrounds, or per-user/per-branch preview environments.
Highlights
- Isolated Sandboxes: Each app gets a hardened container with a workspace and a live preview URL.
- Built-in Agents: Supports OpenCode and Claude Code with a proxy that prevents credentials from entering the sandbox.
- Runtime Presets: Includes scaffolds for React/Vite, Next.js, Node/Express, and FastAPI.
- API-First Design: Every action is available via a
/v1API, allowing it to be integrated into other products. - App Store: Ability to run 80+ curated open-source apps (like Ghost, n8n, and Grafana) in one click.
- Developer Tools: Features an in-browser editor, git diffs, commit/push capabilities, and snapshot/fork/restore functionality.