One CLI for short-lived GPU boxes and repeatable connects.
Boot a Colab or Kaggle accelerator, then ssh or rex into the same name until you tear it down. State lives locally, secrets stay permissioned, and teardown cleans up.
Make any remote GPU feel like localhost.
Boxes run where accelerators are cheapest. gbox brings them into one local workflow with a transport per provider and automatic fallbacks.
Transport per provider
Colab uses native proxy mode. Kaggle uses a zero-secret cloudflared tunnel. Add a Tailscale auth key and both get a tailnet path with SSH fallback.
Local state that cleans up
Box records, SSH blocks, known hosts, and Rex hosts update on up and are removed on stop. No orphaned entries.
Built to be driven by agents and scripts
gbox gives your agents and scripts a simple way to start a GPU box, check its status, connect over SSH, and clean up when they're done.
gbox doctorgbox up colab --gpu T4gbox ls --checkgbox ssh my-box -- nvidia-smigbox stop my-boxMade for every box you spin up.
One naming scheme across providers, DNS-safe and valid for SSH, Rex, and Tailscale hostnames.
- Native SSHStandard ssh config blocks per box.
- Rex first
rex -Sendpoints registered on boot. - ReachabilityLive checks before you connect.
- Secret hygieneTailscale keys stay out of logs and disk perms stay tight.
- GPU choiceT4, P100, and TPU shapes per provider.
- Idle controlKaggle idle minutes and max hours.
- Make it yoursDefaults via gbox config show, set, and unset.
- ScriptableStable names and exit codes for agents.
Get an ephemeral GPU in minutes
Check prerequisites, boot one box, stop it when done.
gbox doctorgbox up kaggle --gpu T4gbox stop kaggle-t4-abc123