AFK. Still shipping.
The open-source, mobile-first agentic development environment.
Run Claude Code, Codex, Cursor, and OpenCode on hardware you control—then steer, review, and merge from anywhere.
Website · Get started · Setup guide · Downloads
Coding agents do their best work in long-running sessions. A laptop lid, a commute, or one unanswered question should not stop them.
supermux gives Claude Code, Codex, Cursor, and OpenCode a persistent home on your Mac, Linux machine, home server, or VPS. Native apps on your phone and computers become the control plane: start work, answer questions, inspect the diff, use the terminal, and decide what gets merged.
Your subscriptions. Your repositories. Your hardware. No supermux account required.
- Run agents around the clock. Sessions survive closed laptops, lost connections, broker restarts, and host reboots.
- Carry the whole workspace. Chat, voice, files, code editor, full PTY terminal, usage, and session activity are available from one interface.
- Review before anything lands. Every worker gets an isolated git worktree. Read the diff, leave inline feedback, run verification, then merge locally, open a PR, keep the branch, or discard it.
- Control more than one host. Pair a Mac, Linux workstation, home server, and VPS into one fleet. Offline hosts retain their last-known session snapshot.
- Leave without missing the handoff. Push notifications take you directly to the host and session that needs you.
- Use the agent that fits the task. Claude Code, Codex, Cursor, and OpenCode share the same workflow, and model or reasoning settings can change without starting over.
- Keep context between sessions. Shared project notes, domain memory, reusable skills, and an identity file let knowledge compound instead of resetting every chat.
| Platform | Download | What it does |
|---|---|---|
| iPhone, iPad, Apple Watch | App Store | Native mobile control, multi-pane iPad workspace, push, and Watch actions |
| Android phones, tablets, foldables | Latest APK | Native Compose client with phone and multi-pane large-screen layouts |
| macOS (Apple silicon) | Latest DMG | Native client that can also turn this Mac into a persistent host |
| Linux (x64) | Latest DEB | Desktop client with a bundled local broker and host onboarding |
| Windows (x64) | Latest MSI | Native desktop client; host agents through WSL2 or another paired machine |
| Any modern browser | Served by your host | Installable PWA with chat, editor, diff review, terminal, and administration |
| Telegram | Optional bot connection | Lightweight chat, notifications, attachments, voice, and session control |
- Install and sign in to at least one supported agent CLI:
claude,codex,cursor-agent, oropencode. Claude Code also needstmuxavailable on the host. - Install the macOS app or Linux desktop app.
- Follow the first-run host wizard. It starts the local broker, offers to keep it available after sign-in, and shows a pairing QR.
- Install Supermux on iPhone or iPad or Android, then scan the QR.
The desktop host connects directly on your local network and automatically uses the Supermux connectivity relay when you are away.
macOS / Linux
curl -fsSL https://supermux.dev/install.sh | shWindows (PowerShell; installs the host in WSL2)
irm https://supermux.dev/install.ps1 | iexThe native installer enables the built-in relay by default and prints a stable pairing QR, so no router or tunnel setup is required. For a manual source install, reverse proxy, custom domain, or advanced agent authentication, use the guided setup.
git clone https://github.com/UstaLabs/supermux.git
cd supermux
docker compose up -dOpen http://localhost:8787. State persists in named volumes; repositories mounted under ./workspace are available to agents. To skip the local image build, enable the ghcr.io/ustalabs/supermux:latest image in docker-compose.yml.
iPhone · Android · Mac · Windows · Linux · Web · Telegram
│
direct connection or relay
│
┌────────────▼────────────┐
│ a host you control │
│ │
│ supermux broker │
│ routing · push · files │
│ worktrees · review │
│ │
│ persistent agent runs │
│ Claude · Codex · Cursor │
│ OpenCode │
└─────────────────────────┘
The broker is the source of truth. It runs on the host, supervises agent sessions, keeps their histories, routes messages to the right client, and exposes the workspace APIs. Control operations happen in the broker, so switching or inspecting sessions does not spend agent tokens.
Each worker is isolated in its own git worktree. The main checkout moves only through the finish action you choose. Optional personal-assistant sessions can be created from Settings when you want an always-on orchestrator; fresh installs do not create one.
- Local first. Clients can connect over LAN, VPN, your own reverse proxy, or your own tunnel.
- Remote immediately. Native CLI and desktop hosts enable the built-in connectivity relay by default, giving each host a stable HTTPS address without opening a router port. Pass
supermux setup --no-relayto stay LAN-only; re-enable it withsupermux setup --relay-domain relay.supermux.dev. - Clear trust boundary. Repositories, credentials, session history, and broker state remain on your host. Relay connections are encrypted in transit, but relay traffic is not yet end-to-end encrypted at the application layer.
- Pairing, not accounts. New devices join with a short-lived, single-use claim bound to the host identity. A client can keep several independently owned hosts in one fleet.
- Open source. The broker and clients are MIT licensed; the hosted relay is optional.
Native installs read ~/.mux/state/.env; Docker reads .env in the project directory.
| Variable | Purpose |
|---|---|
MUX_WEB_PORT, MUX_WEB_PUBLIC_URL |
Enable the browser client and set its public origin |
MUX_TELEGRAM_BOT_TOKEN |
Enable the optional Telegram channel |
MUX_HOME, MUX_STATE_DIR |
Override the default ~/.mux state locations |
MUX_RELAY_DOMAIN, MUX_RELAY_BASE |
Configure the connectivity relay (relay.supermux.dev by default on native setups; empty disables it) |
MUX_PROXY_BASE_DOMAIN |
Enable per-session app previews through the broker proxy |
See .env.example for a Docker configuration example and the setup guide for advanced deployments.
supermux is developed from inside supermux. Its agents research, write plans, implement across TypeScript, Kotlin, Swift, and Compose, run reviews, and prepare releases while the maintainer steers from whichever screen is nearby.
MIT — free and open source.