froogdocs
Dashboard

DocsSandboxes

Sandboxes

Each sandbox is a full VM with its own kernel. froog ssh logs you in as user (home /home/user) with your SSH keys; passwordless sudo gives root. Password login is off. The CLI pins each sandbox's host key.

Sizes

SizevCPUMemoryDisk
lite1 (shared only)2 GB51 GB
small24 GB51 GB
default48 GB51 GB
large816 GB111 GB
xlarge16 (shared only)32 GB251 GB

Prices: Pricing. The disk includes the OS and tools; memory is always reserved. froog new NAME --size large picks a size; froog start NAME --size … changes a stopped one. xlarge (16 vCPU, 32 GB) is on sale with shared vCPUs only. froog limits lists the sizes you can start.

vCPUs are shared by default: time on the host's cores, so a busy neighbour can slow you down. froog new NAME --dedicated (API: "cpu": "dedicated") gives small, default or large one physical core per vCPU. It stays dedicated through stop, start and fork, and boots a few seconds slower. No host with enough free cores: 409 no_capacity.

Adaptive CPU. froog new NAME --adaptive [--max-vcpus N] (API: "adaptive": true, "max_vcpus": N) runs a shared sandbox on its size's vCPUs and grows its CPU live while it's busy, up to max_vcpus (default and at most 16), then shrinks back when it's idle. It takes a normal setup slot of its size; only vCPU time above that size's vCPUs is extra: $0.003 per vCPU-hour, per second from the wallet, listed in froog usage as burst. At your spending cap, or once an empty wallet's 24-hour grace is over, it keeps running at its size's vCPUs. Memory stays the size's. The sandbox sees max_vcpus CPUs from boot (nproc says 16), but only gets the CPU time it has grown to; vcpus_now in froog info and GET /v1/sandboxes/{name} shows it. Kept through stop, start and fork; froog start NAME --size large moves the floor, --no-adaptive turns it off. Shared vCPUs, small and up.

What's installed

OS: Ubuntu 24.04 (default), Ubuntu 26.04, Debian 13, Android (Android) or Omarchy. froog new NAME --os debian (API: "os": "debian-13"; GET /v1/images lists them). Forks and restores keep their source's OS. Install more with sudo apt-get install, npm i -g, pip, uv or cargo; it stays on the disk.

Omarchy. --os omarchy starts Omarchy (Arch Linux with Hyprland) at 1920x1080, logged in and never locked. froog desktop shows it; the agents' computer tools drive it. --theme dark|light picks the theme, ~/.config/froog/wallpaper.png the background. Browser: Chromium. Firewall on, SSH allowed. No GPU, so video is slow.

LanguagesNode.js 24 (npm, pnpm), Bun, Deno, Python 3.12 (pip, venv, pipx, uv), Go, Rust stable, Java 21 (Maven), Ruby, PHP (Composer)
Build toolsGCC 13, Clang 18, CMake, Ninja, make, pkg-config, autotools, gdb, common -dev libraries
ContainersDocker with BuildKit, Buildx and Compose; no sudo needed
Virtualization/dev/kvm for QEMU/KVM, Firecracker or the Android emulator
Coding agentsClaude Code (claude), Codex, OpenCode, Gemini CLI, Amp, Cursor CLI (agent), pi
Browser and desktopGoogle Chrome, Xvfb, XFCE for froog desktop, xdotool, wmctrl, ffmpeg, froog-record-desktop
Everyday toolsgit, git-lfs, gh, ripgrep, fd, jq, tmux, htop, vim, nano, tree, sqlite3, rsync, curl, wget, dig, netcat, strace, lsof

cat /etc/froog-image lists exact versions.

Auto-stop

The timer counts from each start, not from your last activity, and stops the sandbox even mid-session. Paid sizes default to no auto-stop; lite defaults to 1 hour. Max 30 days. Each stop snapshots the disk first. A running froog prompt pushes the deadline back one timer length.

$ froog new box --ttl 4h               # stop 4 hours after each start
$ froog new box --no-auto-stop
$ froog extend box --hours 12          # 12 hours from now, and after each start
$ froog info box                       # auto-stop: at 18:02 (in 3h 59m)

API: ttl_secs on create, start and fork (0 = never), PATCH /sandboxes/{name} {ttl_secs}; auto_stop_at says when.

Hard lifetime, auto-delete and a deadline

$ froog new ci-1 --max-lifetime 2h --delete-after 1d
$ froog extend ci-1 --max-lifetime 4h          # 0 removes it
$ froog new eval-7 --expires 3h               # deleted 3 hours after creation
$ froog extend eval-7 --expires 1h            # from now; 0 removes it

--max-lifetime (max_lifetime_secs, up to 30 days) stops the sandbox that long after each start, even while busy; prompts and extend --hours don't move it. --delete-after (delete_after_secs, up to 365 days) deletes it once it has stayed stopped that long; a start cancels the countdown. Forks inherit both. stop_at and delete_at say when; checks run every minute.

--expires (expires_in_secs, 60 s to 365 days) deletes the sandbox at that time after creation, whatever it's doing. PATCH {expires_in_secs} resets it from now. Forks don't inherit it. expires_at says when; the audit log records sandbox.expire. Deleting removes automatic snapshots; saved snapshots stay.

Auto-start

A stopped sandbox with auto-start starts when a public URL gets a request, or on an API exec, file, job, prompt or wait call. Pair it with auto-stop for previews that idle for free.

$ froog new preview --ttl 15m --auto-start --host 3000:public
$ froog extend preview --no-auto-start
  • Off by default (API: auto_start on create and PATCH). Forks keep it.
  • A URL request waits up to 20 s, then gets a self-reloading "starting…" page (browsers) or 503 with Retry-After. An API call waits up to 60 s, then 503 sandbox_starting.
  • The usual start checks apply: an API call gets the same error (402 capacity_full, 429 limit_reached), a URL visitor a plain 503.
  • Only a dashboard session, a full key, or a key with sandbox.resume or sandbox.update starts it; narrower keys get 409. Private URLs check the token first.
  • Audit log: sandbox.auto_start.

Stopping safely

A stop runs ~/.froog/pre-stop, snapshots the disk, then drops the VM.

  • Pre-stop hook. Your script, run as user for up to 60 s on every stop except --force. Output goes to the command history. Failure doesn't block the stop.
  • Refused stop. If the snapshot fails (usually a full disk), the sandbox keeps running, unbilled, with stop_refused_at and stop_error set, an email and a sandbox.stop_refused webhook. froog retries (5, 15, 30 min, then hourly) and forces the stop after 3 days. froog start NAME or a new deadline cancels it.
  • froog stop NAME --force (API {"force": true}) stops without a new snapshot, keeping the last good one; later writes are lost. Works on hung sandboxes.

A retried stop (GET /stops/{id}) shows failing, then completed or superseded. A sandbox in error isn't billed. last_reboot says when its OS last booted.

Disk space

disk_used_percent in froog info. At 85% you get an email; at 95% froog clears re-downloadable caches (apt, journal, untagged Docker images) and emails again. Each also sends sandbox.disk_low. Your files are never deleted. A full disk makes stops fail; for more, froog start NAME --size large.

Not answering

After 5 minutes without answering, a sandbox is marked unresponsive (unresponsive_since), with an email and sandbox.degraded; sandbox.recovered when it's back. It's still billed. froog stop NAME --force && froog start NAME restores the last snapshot. froog does that itself after 3 days.

Errored sandboxes

A sandbox goes into error (unbilled) when its VM is lost or a start fails. Without a VM but with a snapshot, froog rebuilds it on another machine (3 tries, 10 minutes apart) and emails you; writes after that snapshot are lost. Otherwise froog start NAME retries. Turn rebuilds off: froog alerts off auto-rebuild.

Alert emails

Kinds: disk, stop_refused, unresponsive, rebuilt, billing (stopped for an unpaid setup or the spending cap, 80% of the cap, a declined top-up). All on by default; webhooks are sent either way.

$ froog alerts
$ froog alerts off disk

API: GET / PATCH /v1/account/alerts {"emails": {"disk": false}, "auto_rebuild": true} (account.read / account.admin).

Metrics

$ froog metrics ci-1
cpu      12.5% of 4 vCPU
memory   1.9 GB of 8.2 GB (23%)
disk     6.0 GB of 52.7 GB (11%)
network  0.3 GB in, 0.0 GB out since boot
io wait  0% of the last minute waiting on disk
$ froog metrics ci-1 --history --since 6h   # CPU, memory, disk every 30 s, kept 7 days

API: GET /v1/sandboxes/{name}/metrics (live; 409 when stopped) and …/metrics/history?since=&until=&step=. With monitoring off: 409 monitoring_off. Also in the dashboard, and via OpenTelemetry export.

Labels

$ froog new ci-1 --label team=web --label job=1234
$ froog label ci-1 tier=gold job-     # set tier, remove job
$ froog list --label team=web --state running
$ froog list --prefix ci-

Up to 32 per sandbox. Keys: 1-63 of letters, digits, . _ - /. Values: up to 255 characters. Forks keep them.