Skip to content

feat: add a sandbox image with desktops agents can start - #298

Merged
tjholm merged 1 commit into
mainfrom
sandbox-image
Oct 7, 2026
Merged

tjholm merged 1 commit into
mainfrom
sandbox-image

Conversation

@tjholm

@tjholm tjholm commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

Initial Sugabots sandbox image, contains tools for browser use, nix as a package manager for user level software installs and other tooling to get the image working well for both headless and UI based automation:

Example desktop:
image

Definitely needs additional work and ricing (the rest of the UI is very basic at the moment), but worked to keep the PR itself pretty light and the software itself lightweight (so it works well with software rendering).

Stack created with GitHub Stacks CLI • Give Feedback 💬

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
sugabots-website 7a048ec Oct 07 2026, 02:48 AM

@tjholm
tjholm added this pull request to stack #305 October 6, 2026 03:35
@tjholm tjholm changed the title sandbox image feat: add a sandbox image with desktops agents can start Oct 6, 2026
@tjholm
tjholm marked this pull request as ready for review October 6, 2026 03:37
@github-actions

github-actions Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Sandbox image preview, built from 7a048ec:

ghcr.io/nitrictech/sugabots-sandbox:pr-298

To try it, set a sandbox provider's image to that under Sandboxes in the workspace's settings, then Upgrade the pod's sandbox; on E2B, prepare the template again first. The tag moves with each push to this pull request, so a machine that pulled it before may need docker pull again; for this exact build, use ghcr.io/nitrictech/sugabots-sandbox@sha256:5ae0c7c6c99a949ed8f4e2400f4ba2c2c6273ec38c17fadcf8e233939bdaf0ae.

It's deleted when the pull request closes.

@tjholm
tjholm force-pushed the sandbox-image branch 2 times, most recently from 04b3d66 to 7e1303e Compare October 6, 2026 21:29
ghcr.io/nitrictech/sugabots-sandbox and docker.io/nitrictech/sugabots-sandbox, built with `bun run build:sandbox` and published with each release: Debian with the tools agents reach for when they work on code, and sugabots-desktop, which starts desktops on their own displays, served over VNC, plain or as a WebSocket. Each desktop has a Plank dock with Browser, Terminal and Files, marking the apps with windows open. Its browser is Chromium, started on the desktop and driven by Playwright MCP over CDP, so it lives across the MCP sessions that drive it; `desktop` starts a desktop alone, `session` with its browser. Nix is installed for the agents' user, without root, with nixpkgs following a NixOS release's branch and nixpkgs-unstable the unstable one, so agents can add software the image lacks: `nix profile install nixpkgs#ffmpeg`, or `nix shell` for one command. A pull request that changes the image gets a preview of it, tagged pr-<number> and deleted when the pull request closes.
@tjholm
tjholm removed this pull request from stack #305 October 7, 2026 02:58
@tjholm
tjholm added this pull request to stack #327 October 7, 2026 02:58
@tjholm
tjholm requested a review from jyecusch October 7, 2026 03:20
Comment thread .github/workflows/publish.yml
@tjholm
tjholm merged commit 88d72aa into main Oct 7, 2026
9 checks passed
@tjholm
tjholm deleted the sandbox-image branch October 7, 2026 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants