Skip to content

Fly Sprites

The sprites Provider runs Sandboxes inside hardware-isolated Firecracker microVMs on Fly Sprites (https://api.sprites.dev, Ubuntu 26.04 LTS linux/amd64) over HTTPS REST and direct binary WebSockets—with zero self-hosted control plane and $0 idle compute billing once a Sprite pauses to warm or cold.

  • Compute & storage: 8 vCPU, 8 GiB default RAM (resizable up to 16 GiB via [resources].memory_mib or offrig sandbox resize --memory), and 100 GiB sparse persistent disk.
  • Nested Docker (docker = "dind"): Supported natively inside the microVM (default bridge + host networking, persisting /var/lib/docker across sleep and Saved Snapshots). docker = "host" is refused.
  • Per-Sandbox Snapshots: Fly Sprites checkpoints are scoped per-Sprite and restored in place. [env] (packages, mise, setup) and [deps] are applied directly inside each Sandbox on creation/first Run; offrig snap save, ls, rm, and rollback operate natively in place on the owning Sandbox’s Saved Snapshots. Custom env.image and env.dockerfile are rejected upfront.

Create a Sprites API token (<org>/<id>/<secret>) at sprites.dev/account (note: Fly.io FlyV1 macaroons cannot be passed directly to api.sprites.dev):

Terminal window
export SPRITES_TOKEN="my-org/..."
offrig rig add sprites --provider sprites \
--token-env SPRITES_TOKEN \
--default

Equivalent ~/.config/offrig/config.toml:

[rigs.sprites]
provider = "sprites"
api_url = "https://api.sprites.dev"
[rigs.sprites.token]
env = "SPRITES_TOKEN"
Terminal window
offrig rig doctor sprites