Boxport
Concepts

Templates

An image and setup commands, built once on each provider.

A template is a name, an image, setup commands and environment variables. You build it once, then create sandboxes from it by name.

curl -X POST https://boxport.dev/v1/templates -H "Authorization: Bearer $BOXPORT_KEY" \
  -d '{"name":"py","image":"python:3.12-slim","setup":["pip install numpy pandas"],"env":{"MPLBACKEND":"Agg"}}'
# → {"e2b":"building","modal":"building","sprites":"image must be \"default\" …"}

image is "default" for each provider's own Linux image, or an image reference. setup runs in order at build time; a command that exits non-zero fails the build on that provider, with its exit code and the end of its output. env is set for setup and for every sandbox.

Building#

Boxport starts the build on every provider you hold a key for. Each answers "ok" when the template is ready, "building" when the build continues in the background, or the reason it can't. A build with setup takes from about half a minute to a few minutes. GET /v1/templates shows each provider's state: ready, building or failed with the error. MCP clients call template_status.

Creates go only to providers where the template is ready. The others show up in /v1/place as template_not_built. Sending the same definition again starts nothing; a changed one is built again everywhere. A new vendor key builds your templates on that provider only. A build still running after 30 minutes fails.

What each provider can run#

ProviderImageSetup is kept asNotes
E2BAny public image with /etc/os-releaseAn E2B templateSandboxes run at 2 vCPU and 512 MiB.
DaytonaAny image with a fixed tag or digest: not latest, lts or stableA snapshotThe key needs the write:snapshots permission. Sandboxes run at 1 vCPU, 1 GiB and 3 GiB of disk.
ModalAny public linux/amd64 imageA Modal image
Verceldefault, or an image in Vercel's registry such as vercel/sandbox/python:3.14A snapshot taken after setup
BlaxelAny public imageA Blaxel image/tmp and /var/tmp start empty in sandboxes, so setup should write elsewhere.
Spritesdefault onlyNothing: setup runs again on every createA create takes as long as the setup. The build runs it once to check it works.
InstaBoxdefault onlyA snapshot taken after setupThe free plan holds 5 snapshots.
Boatdefault onlyA saved snapshotThe free trial can't save snapshots.
Fly MachinesAny public image with bashNothing: setup runs again on every createA create takes as long as the setup. The build runs it once to check it works.
Prime IntellectAny public image with bash; default is python:3.11-slimA checkpoint taken after setupPrime bills checkpoint storage at $0.10 per GiB-month until the checkpoint is deleted.
Cloudflaredefault, or an image named in your sandbox Worker's wrangler.jsoncA container snapshot taken after setupCloudflare deletes a snapshot 30 days after it was made or last used; build the template again after that.

Environment variables#

Env is stored with the template. E2B, Daytona, Modal and Blaxel also write it into the built image. Keep secrets out of it.

Old builds#

A template built again leaves its earlier build on your vendor account: E2B templates, Daytona and InstaBox snapshots, Modal and Blaxel images, Vercel snapshots, Boat saved snapshots and Prime checkpoints. Delete the ones you no longer need in the vendor's dashboard. Cloudflare container snapshots can't be listed or deleted; Cloudflare removes each one after 30 days unused.