Repository navigation
Releases
sbx v0.1.9
gh in sandboxes can list, view and open pull requests again: the token a sandbox gets from the GitHub App now includes pull requests as well as contents. Only the server changes: no template rebuild is needed, and running sandboxes get the new token on their next gh or git call after the update.
What's Changed
Changes
- Let gh in sandboxes work on pull requests by @Batuhan1999 in #73
Full Changelog: v0.1.8...v0.1.9
sbx v0.1.8
A new server's onboarding no longer needs a setup token. Open https://IP/onboarding, create your account, set the domain (the page moves itself to app.<domain>), add the sandbox runtime and GitHub, and the control plane opens on a summary of the server. Connecting a repository is one search field over your GitHub App's repositories and public ones on GitHub. Failed template builds are tried again by themselves and say why in plain words; Boat's saved-snapshot allowance and Let's Encrypt's weekly certificate limit are explained instead of logged.
Shared services such as Temporal and Langfuse can now run as managed servers on the sbx host (sbx servers up NAME --package P, or Run it on this server on the Services page), each on its own fixed-size disk, with memory and CPU limits. Every container sbx starts now has bounded logs, so a failing container can no longer fill the host's disk.
Upgrading
Update as usual (Settings → Updates, or sbx-admin upgrade). Two things happen on the way:
- Managed Postgres and ClickHouse containers that were started without the log limit are recreated once, around their data. Sandboxes using them lose their connection for a moment; plan the update for a quiet time.
- The base template builds once more, because its steps changed (about 10 minutes, at your runtime).
What changed for scripts and agents:
- The setup token is gone:
sbx-admin setup-link, the CLI's--link-fileandSBX_SETUP_LINKare removed.sudo sbx-admin setup-resetprints the onboarding address. /setupis now/onboarding.POST /api/setup/completetakes no body and runs no checks;GET /api/setup/checksruns them.sbx setup finishno longer takes--admin.- Deleting a managed server's connection alone is refused (409); remove the server with
sbx servers rm NAME. - New:
sbx repo search NAME,GET /api/github/search?q=,sbx servers,GET/POST /api/servers,DELETE /api/servers/NAME.
What's Changed
Breaking changes
- Onboard without a token and connect repositories by search by @Batuhan1999 in #70
Changes
- Say why a server can't run sandboxes itself by @Batuhan1999 in #68
- Run shared services as managed servers and cap container logs by @Batuhan1999 in #69
Full Changelog: v0.1.7...v0.1.8
sbx v0.1.7
Fixes the domain step with an NS record: v0.1.6 read dig's answer wrongly and always said "no NS record yet". The README has a prompt to paste into a coding agent again, and agents now hand the owner the onboarding link directly.
Upgrading
A server that is still in its setup on v0.1.6: download v0.1.7 and run sudo sh install.sh again; the onboarding link stays the same. Nothing else to do.
What's Changed
Changes
- Read dig's NS answer however it spaces the fields by @Batuhan1999 in #65
- Give the README a prompt to paste into a coding agent by @Batuhan1999 in #66
- Have the agent give the owner the onboarding link itself by @Batuhan1999 in #67
Full Changelog: v0.1.6...v0.1.7
sbx v0.1.6
A new server is now set up in the web app: install.sh ends with one onboarding link, and the setup page takes the owner through the domain, the sandbox runtime, the admin account and (optionally) GitHub. Templates build in the background while you go on, and a coding agent onboards the first repository from the brief to one sandbox and its preview link.
Upgrading
Nothing to do. An installation that is already set up keeps its settings. An upgrade no longer stops nginx while the domain's certificate is still pending: it serves the IP's certificate until the domain's arrives.
What's Changed
Changes
- Rebuild server onboarding around the setup page by @Batuhan1999 in #63
Full Changelog: v0.1.5...v0.1.6
sbx v0.1.5
Upgrading
- Every base template rebuilds once after the upgrade: Amp is now in the base template of every installation, whether Amp is enabled or not. After that, connecting, enabling or disabling Amp rebuilds nothing.
- Everyone signs in again once: the sign-in cookie is now named per installation.
- Sign-in moved to
app.<domain>/login; oldlogin.<domain>links redirect there. - A ClickHouse database service sends its password over plain HTTP only to a private-network address, and never follows a redirect. A ClickHouse endpoint on a public address needs HTTPS.
What's Changed
Breaking changes
- Sign in at app./login by @Batuhan1999 in #41
- Name the sign-in cookie per installation, and run .sbx/cleanup before delete by @Batuhan1999 in #47
Changes
- Show release notes in Settings → Updates as the release wrote them by @Batuhan1999 in #40
- Run recipe Dockerfiles the same on every runtime by @Batuhan1999 in #44
- Rebuild templates a restart cut off; read Boat errors that are not its envelope by @Batuhan1999 in #45
- Fetch Amp's desktop tools on a runtime that imports images, and keep them on the host by @Batuhan1999 in #43
- Wait for a restarting SSH listener, and delete the VM of a failed Amp spawn by @Batuhan1999 in #48
- Reach every sandbox's SSH bridge, whatever its runtime's ids, while sbx works on the app by @Batuhan1999 in #46
- Set up a server in one guided pass: account first, one keys page, agents before the first build by @Batuhan1999 in #49
- Tell a lost template build from a process that reused its pid by @Batuhan1999 in #59
- Put Amp in the base template, so enabling it never rebuilds by @Batuhan1999 in #58
- Send a ClickHouse password over plain HTTP only on a private network by @Batuhan1999 in #60
Full Changelog: v0.1.4...v0.1.5
sbx v0.1.4
sbx is now an orchestration layer: sandboxes run on the runtime you choose, either this server or a hosted provider. This is the biggest release so far. Each person also gets their own sign-in account.
Highlights
Several sandbox runtimes per installation
- Three runtimes are built in: E2B Embed (Firecracker VMs on this server, as before), E2B Cloud (E2B's hosted sandboxes) and Boat (hosted Ubuntu 24.04 sandboxes). An installation enables any of them, and each sandbox runs on exactly one, chosen when it is created.
- With hosted runtimes, the server itself needs no KVM: about 2 GiB of memory and 10 GiB of disk run sbx-control, nginx and the secret store. A fresh install enables Embed where the host can run it, and E2B Cloud when
E2B_CLOUD_API_KEYis set.sh install.sh --checkreports which runtimes a host can run without installing anything. - You can add, change, test, set as default and remove runtimes in four places: the first-run wizard, Settings → Sandbox runtimes, the CLI (
sbx runtimes,sbx runtimes add|set|test|default) and the host CLI (sbx-admin runtime add|verify|default|remove). Keys go in on stdin and are never shown again. - sbx checks a runtime's limits (CPU, memory, disk, concurrent sandboxes) before asking it for a sandbox, and says which limit a request breaks.
- Other runtimes can be installed as packages through the
sbx.runtimesentry point. Core code reaches every backend only throughsbx_control.runtime.
Shared servers for hosted sandboxes (endpoints)
- Hosted sandboxes can't reach the server's private network. An endpoint gives them a managed server (Postgres, Redis, …) or an internal host through one TLS path on port 443, so there is no port to open.
- Each endpoint has its own CA, and sandboxes get 24-hour client certificates that renew automatically. Access is granted per repository, explicitly.
- Commands:
sbx endpoints,sbx endpoints add --server NAME,sbx endpoints add --name N --target IP:PORT --repo owner/app,sbx endpoints grant|revoke|rm. On the host:sbx-admin endpoint ls|add|rm|grant|revoke. Endpoints are off until an admin adds one.
Hosted sandboxes behave like local ones
- Pause, resume and cold boots work end to end on E2B Cloud and Boat: previews, SSH (host keys stay stable across a cold boot), app restarts and health checks.
- Templates build from the repository's Dockerfile on every runtime, with Boat's ENV and WORKDIR handled correctly.
- Network settings follow what each runtime actually enforces. Setup checks that sandboxes can reach the server's public address.
Accounts and passwords for each person
- The one shared password is replaced by an account for each person, with an argon2-hashed password. Changing a password or removing someone ends their sessions everywhere, and removal also revokes their API tokens.
- sbx sends no mail: an admin gets a one-time set-password link (valid 7 days) and passes it on.
- Settings → People shows members, roles and last sign-in. You can manage them over the API (
/api/users) and on the host withsbx-admin user ls|add|link|admin|rm. - OIDC admits the admins, the people added and the
allowed_emailspatterns;allowed_emailsis no longer required.
Catalog
- Supabase: each sandbox gets its own preview branch (
supabase-project+supabase-branch), set up with the project's migrations. It providesDATABASE_URL,SUPABASE_URLand the keys. sbx catalog showlists what a package outputs, andsbx repo briefprints a repository's setup brief.
Upgrading from v0.1.3
- No manual steps. Upgrade from the web app's update button, or by installing the release archive as before. The upgrade keeps the runtimes the installation enables, so an Embed install stays on Embed.
- Sign-in: if you used the shared password, each admin, and each email listed exactly in
allowed_emails, keeps it as their own password. The shared password is then deleted. Sign in as before, then change your password under CLI & access. Anyone matched only by a*pattern needs a set-password link (sbx-admin user link EMAIL). With OIDC sign-in, the shared password is just deleted. - The upgrade rebuilds the sandbox templates and shows which ones in its progress. Running sandboxes keep running.
- To try a hosted runtime, run
sbx-admin runtime add e2b-cloudorsbx-admin runtime add boat(the key on stdin), or use Settings → Sandbox runtimes. For a repository whose sandboxes need a managed server, add an endpoint for it. - Known caveat: on E2B Cloud, an app's pooled database connections can go stale after a resume. Recipes for such apps may need
lifecycle: {resume: restart}.
Full docs: docs/agent-install.md (setup) and docs/reference.md (Runtimes, Endpoints).
What's Changed
Breaking changes
- Give each person their own account and password by @Batuhan1999 in #32
Changes
- Reach every runtime backend through sbx_control.runtime by @Batuhan1999 in #24
- Say in the upgrade's progress which templates it rebuilds by @Batuhan1999 in #25
- Make network settings follow what the sandbox runtime enforces by @Batuhan1999 in #28
- Treat a sandbox that paused or went since its listing as not running by @Batuhan1999 in #27
- Check at setup that sandboxes reach this server's public address by @Batuhan1999 in #26
- Check a runtime's limits before asking it for a sandbox by @Batuhan1999 in #29
- Run several sandbox runtimes per installation by @Batuhan1999 in #30
- Give each sandbox its own Supabase preview branch by @Batuhan1999 in #34
- Keep the shared sign-in password for the people who used it by @Batuhan1999 in #35
- Run sandboxes on E2B Cloud, next to or instead of Embed by @Batuhan1999 in #31
- Runtime settings: add, change, test and remove sandbox runtimes from the web app, the wizard and the CLI by @Batuhan1999 in #33
- Shared servers for hosted sandboxes, and Boat as a second provider by @Batuhan1999 in #36
Full Changelog: v0.1.3...v0.1.4
sbx v0.1.3
Per-sandbox OpenRouter API keys with a credit limit, per-sandbox Upstash Redis branches with a monthly budget, and a catalog grouped by provider with logos.
Upgrading: the update button and sbx-admin upgrade need no steps. Installing from a git checkout instead of the release archive now needs the web app built first (Node 22): npm --prefix web ci && npm --prefix web run build.
What's Changed
Breaking changes
- Build the web app into release archives instead of committing its bundle by @Batuhan1999 in #21
Changes
- Give each sandbox its own OpenRouter API key with a credit limit by @Batuhan1999 in #8
- Show provider logos on catalog packages, declared in package.yaml by @Batuhan1999 in #9
- Show the AWS logo on the AWS packages by @Batuhan1999 in #20
- Keep the theme choice in localStorage only, with shadcn's ThemeProvider by @Batuhan1999 in #19
- Show the catalog by provider and guide adding a package in steps by @Batuhan1999 in #22
- Give each sandbox a branch of an Upstash Redis database by @Batuhan1999 in #23
Full Changelog: v0.1.2...v0.1.3
sbx v0.1.2
From v0.1.1, install it with Update on Settings → Updates, or with sbx-admin upgrade v0.1.2 on the host. Nothing to do before upgrading.
The settings effects embed-env and embed-network are now runtime-env and runtime-network. The upgrade carries a pending request over to its new name and removes the old path units, and a rollback takes the old names back. v0.1.2 leaves Embed's configuration as v0.1.1 set it, so running sandboxes keep running through this upgrade.
What's Changed
Changes
- Name the runtime's settings effects runtime-env and runtime-network by @Batuhan1999 in #7
Full Changelog: v0.1.1...v0.1.2
sbx v0.1.1
From v0.1.0, upgrade by hand one more time: check out v0.1.1 (or unpack its archive) and run install.sh as root, since v0.1.0 has no update button. From v0.1.1 on, admins see newer releases on Settings → Updates, with what changed, and install them there, or with sbx-admin upgrade TAG on the host.
An upgrade now keeps Embed's hugepages count unless --hugepages is given. It also refuses, before it changes anything, when the new release would recreate Embed's containers while sandboxes exist. v0.1.1 leaves Embed's configuration as v0.1.0 set it, so running sandboxes keep running through this upgrade.
What's Changed
Changes
- Reach the sandbox runtime through one interface, with Embed as its backend by @Batuhan1999 in #4
- Offer newer releases to admins and install them from the web app by @Batuhan1999 in #5
Full Changelog: v0.1.0...v0.1.1
sbx v0.1.0
The first release of sbx: run GitHub repositories in Firecracker development sandboxes on your own server. Install it with the README's Install steps; an installation that tracks main can pin this release (docs/reference.md, Operating the host).
What's Changed
Changes
- Count a service's server-set values when listing missing env by @Batuhan1999 in #2
- Publish releases from version tags; land changes through reviewed PRs by @Batuhan1999 in #3
New Contributors
- @Batuhan1999 made their first contribution in #2
Full Changelog: https://github.com/Batuhan1999/sbx/commits/v0.1.0