Persistent cloud coding agents in Vercel Sandboxes
open sourceMITfree
fxs is a command line tool that starts a coding agent (fx, Claude Code, Codex, OpenCode or a custom shim) in its own Vercel Sandbox from your terminal, so each session gets a ready cloud workspace that keeps running when your laptop sleeps. Sandboxes boot from a snapshot with your toolchains, skills and pre-built repositories, and the agent runs under dtach so native scrolling and copy and paste still work. Sessions are capped at six hours by default, extended while the agent is working, and stopped after 30 idle minutes to pause billing with the disk kept. It syncs session history and chosen files back to your machine, copies pasted screenshots into the sandbox, joins sandboxes to your Tailscale network for SSH from a phone, sets up SSH commit signing, and opens several sandboxes side by side in the Rex terminal.
Problems it solves
- open a ready cloud workspace for each coding agent session that keeps running when my laptop sleeps
- run Claude Code or Codex in a cloud sandbox from my terminal
- attach to my running cloud agent from my phone over SSH
- stop cloud sandboxes automatically when my agent goes idle so I don't pay for them
Features
- one Vercel Sandbox per agent session
- fx, Claude Code, Codex and OpenCode shims, plus custom ones
- snapshot-backed startup with pre-warmed tools, skills and repositories
- dtach persistence across laptop sleep
- idle auto-stop and session caps
- session and file sync back to your machine
- pasted image sync
- Tailscale SSH access from a phone
- SSH commit signing setup
- side-by-side sandboxes in Rex
Limitations
- Runs only on Vercel Sandbox: it needs a Vercel team and project1
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |