Stateful sandboxes for agents

vmux gives agents a persistent GPU/CPU sandbox — built on Durable Objects for strongly consistent state, streamable logs, and a shell you can reconnect from anywhere.

your laptop
uv run train.py vmux exec abc123 'echo $GPU'
modal A100
claude code
bun run dev 3000-abc.purr.ge
cf cpu
codex
jupyter notebook 8888-xyz.purr.ge
modal T4
↳ logs stream live, previews work instantly, sessions persist across reconnects
uv tool install vmux-cli
vmux claude install
# adds vmux skill to Claude Code / Codex

# then just ask:
"train nanogpt on an H100"
# agent spins up GPU, clones repo, trains

vmux run -dp 8000 python server.py
# preview URL + session id, keeps running

vmux attach abc123
# tmux from anywhere — laptop, phone, CI

how it works

Providers: Cloudflare (CPU), Modal (CPU + GPU).

under the hood

durable object = session core
attach
logs
preview
DO
state · log ring buffer · preview routing
inside the sandbox
/workspace
your code
/tmp/vmux.log
stdout/stderr
tmux session
attach from anywhere
↳ files + packages persist · logs stream to DO · tmux survives disconnects
vmux run timeline
0s bundle + upload
~2s provision sandbox
~3s extract + install deps
~5s running · preview URL ready
↳ GPU jobs: ~30-90s (Modal capacity) · cached deps: ~3s · H100: up to 2min cold start

performance

limits

alpha