Your AI coding agents keep working while you sleep.

nightmux drives Claude Code, Codex, Gemini, agy, opencode, Cursor, Amp, Goose and Qwen Code in tmux โ€” from Telegram or a dashboard on your phone. When one hits its usage limit, your queue waits and resumes the moment the window resets, or hands the work to another agent.

โ˜… GitHub โ–ถ watch the night shift install in one line
The pixel-art office: claude hits its limit at 02:14, codex takes over, agy asks and gets a yes from the phone, claude comes back at 04:11

โธ โ†’ โ–ถ past usage limits

Holds your queue through a 5-hour limit and resumes on reset โ€” or one tap hands the work to another agent. Warns you an hour before it happens.

๐Ÿ“ฑ your phone is the terminal

Each project is a Telegram topic (or a chat in the dashboard). Menus become buttons. Photos, files and voice notes go straight to the agent.

โœ… keeps going until it passes

!goal npm test runs your tests after every turn and sends failures back. Stops and asks when it goes in circles.

๐Ÿ race agents

Same task, two agents, two worktrees. Pick the winner with one tap.

๐Ÿ’ฐ spends fewer tokens

Auto-compact, a fresh session per task, a prompt coach that catches vague prompts, models picked by task.

๐ŸŒ™ a morning briefing

What got done overnight, which PRs are ready, which errors came in โ€” and a GIF of the night.

Install

curl -fsSL https://raw.githubusercontent.com/mmr710/nightmux/main/install.sh | sh

One Python file, no dependencies, Linux or macOS with tmux. No bot? It runs dashboard-only. Want to look first? python3 nightmux.py --demo โ€” no bot, no keys.

Or with Docker: docker run -it -v ~/code:/code -p 9090:9090 ghcr.io/mmr710/nightmux โ€” see the README.