RemoteMux lets you run AI coding agents on a remote VM that keeps working when your laptop sleeps, your Wi-Fi drops, or your battery dies.Documentation Index
Fetch the complete documentation index at: https://docs.remotemux.com/llms.txt
Use this file to discover all available pages before exploring further.
This guide assumes you have already run
rmux env new and rmux workspace new main. If not, start with Quick Start.Claude Code
Attach to your workspace and start Claude:Ctrl+B, D. The VM keeps running. Come back later:
Claude Code Auth
RemoteMux performs a best-effort Claude Code auth sync beforermux env new, rmux workspace attach, rmux workspace new, and rmux workspace run. If Claude is authenticated locally, the remote workspace can usually use it immediately.
Codex
Codex Auth
RemoteMux also performs a best-effort Codex auth sync beforermux env new, rmux workspace attach, rmux workspace new, and rmux workspace run.
When Codex is configured locally, RemoteMux syncs the first available source in this order:
CODEX_API_KEYOPENAI_API_KEY~/.codex/auth.json(including ChatGPT OAuth sessions)
Parallel Agents
Run multiple agents on the same project simultaneously, each in its own isolated workspace:Monitor progress
Move changes back
After agents finish, use git to review, push, and merge their branches from themain workspace or from your local checkout.
Secrets
Agents often need API keys. Set them once per environment:Tips
- Use named workspaces for agents — keep
mainclean for manual work. - Detach, do not kill —
Ctrl+B, Ddetaches without stopping anything.exitorCtrl+Dends the session. - Expose ports — if an agent starts a dev server, use
rmux env expose 3000to get a public URL. - Stop compute when done —
rmux env downstops billing while preserving workspace state.
