Skip to content
Source
Sign inSign up
TanStack/ai

testing/computer-sandbox-smoke

README.md

Computer sandbox smoke test

A live check of @tanstack/ai-computer-sandbox on one sandbox provider. It creates a sandbox, starts the desktop, opens xterm, clicks, types, saves two screenshots to out/, and destroys the sandbox.

This test uses real provider accounts and can cost money.

Run it

  1. Build the packages: pnpm build:all.
  2. Put the provider keys in the root .env.local.
  3. Run one provider:
pnpm --filter @tanstack/ai-computer-sandbox-smoke smoke <provider> [--install]

With OrbStack, run docker with DOCKER_HOST=unix://$HOME/.orbstack/run/docker.sock.

--install installs the desktop tools with apt-get, dnf, or apk before the test. Use it when the image has no desktop.

ProviderDesktopCommand
dockerBuild the image first: pnpm --filter @tanstack/ai-computer-sandbox-smoke build:imagesmoke docker
e2bThe E2B desktop templatesmoke e2b
daytonaThe default image has XFCE. Install the tools at startsmoke daytona --install
blaxelThe default image is Alpine. Install the tools at startsmoke blaxel --install
boxd, railway, sprites, upstash-boxInstall at startsmoke <provider> --install
vercelAmazon Linux. Install builds xdotool from source (about 40 s) and uses ImageMagick for screenshotssmoke vercel --install
cloudflareNot in this script: it runs only in a Worker

Results

ProviderResultDate
dockerPassed2026-10-21
daytonaPassed, with --install2026-10-21
e2bPassed2026-10-21
vercelPassed, with --install2026-10-21
blaxelPassed, with --install2026-10-21
boxdPassed, with --install2026-10-21
OthersNot run: no account keys