Skip to content
ZacxDevPublic

About

Every coding agent on every machine, in one list on your phone. Self-hosted.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

8 stars

Watchers

0 watching

Forks

Latest commit

 

History

1,034 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

muster

muster

Every coding agent on every machine, in one list on your phone.

CI Latest release License: MIT Go version

On a phone: the sidebar lists every session on two machines, called by their work. Searching 'opencode' finds the opencode session and 'codex' finds the two Codex windows; one Codex window opens as a live terminal. The Claude Code session 'Rate-limit the public API' then asks whether to limit per API key or per client IP, and its question shows on the Asks page with a count; one tap opens its chat, Per API key and Submit answer it, the session runs its tests and says it is done, and the list ends with nothing waiting

What it is

muster is a self-hosted server that puts every coding agent session on every one of your machines into one list on your phone: Claude Code, Codex, opencode (any model, OpenRouter included) and anything else you run in tmux. When a Claude Code session needs you, you get a push, answer from your phone, and it carries on.

It is for people who run several coding agents at once, on one machine or many, and want to see and steer them away from the keyboard. Everything stays on your machines and your own Tailscale network: muster starts on this machine at a http://localhost address, and your phone and other machines join over your tailnet.

How it works

flowchart LR
  phone["Your phone<br/>(installable web app)"]
  subgraph server_machine["One of your machines"]
    server["muster server<br/>(Go + Postgres, Docker Compose)"]
  end
  subgraph machines["Each of your machines"]
    tmux["tmux windows<br/>Claude Code, Codex, opencode, shells"]
    mirror["muster-mirror"]
    tmux <--> mirror
  end
  phone -- "your tailnet (tailscale serve)" --> server
  mirror -- "dials out" --> server
Loading
  1. A server (one Go binary and Postgres, in Docker Compose) runs on one of your machines, reached over your tailnet through tailscale serve.
  2. On each machine, muster-mirror dials out to it and mirrors every tmux window as a mirrored session; a message from your phone is typed into that same session, so it is all there when you are back at the keyboard.
  3. Your phone opens the server as an installable web app (a PWA).

muster sees only sessions inside tmux, and the one-prompt install sets up mirrored sessions only. How to bring a session you already have into tmux, and how mirrored sessions differ from the opt-in dispatched agents that muster starts in Kubernetes pods: docs/mirroring.md. The components and what each trusts: docs/architecture.md.

Quick start

1. Install muster on this machine. Paste this one prompt into the coding agent (Claude Code, Codex, opencode, Gemini CLI, …) on the machine that should run muster:

Set up muster for me. Download its install guide with `curl -fsSL -o muster-install.md https://github.com/ZacxDev/muster/releases/latest/download/INSTALL.md`, read that whole file and follow it step by step. If that download fails, stop and tell me what it printed; never work from another copy of the guide, such as the one on the main branch, or from memory. Ask me everything you need in one go up front, then do the rest yourself. Where the guide and the machine disagree, trust `muster doctor`, each command's `--help` and the code at https://github.com/ZacxDev/muster over memory.

The agent downloads INSTALL.md, a guide written for agents to execute, from the newest release, asks its questions once, up front, installs muster and finishes with muster doctor (docs/onboarding.md). Or do it by hand, with Docker (Compose v2) and tmux: this one line starts muster with every secret generated.

curl -fsSL https://github.com/ZacxDev/muster/releases/latest/download/install.sh | sh

2. Start an agent in tmux: tmux new -A -s work claude. It shows up in muster at its http://localhost address. On each further machine, paste the same prompt and tell the agent muster already runs.

3. Add your phone over Tailscale (on iOS, then add the app to the Home Screen for push): docs/quickstart-local.md.

Features

The sidebar on a phone: every session on two machines and the dispatched agents, like channels in a chat app. Claude Code sessions are called by their work ('Speed up the task-list endpoint', with its current focus under it); a Codex window, an opencode window and shells by their machines' labels ('web-lint:1', 'csv-import:1', 'api-logs:1'); the open session is marked
Every session, one list
Every tmux window on every machine, Claude Code, Codex, opencode and shells alike, with the ones waiting on you first.
A Claude Code session, 'Write the 2.4 release notes', on a phone: its question, whether to tag and publish v2.4.0 now, drawn as a form with Publish now, Hold for review and Other, and a Submit answers button
Agents ask instead of stopping
A Claude Code question becomes a form on your phone, pushed with its text; answer it and the session carries on. One-time setup per machine.
A Claude Code session, 'Speed up the task-list endpoint', rendered as a chat on a phone
A chat, not a terminal
A Claude Code session reads as a chat, with the message box under your thumb.
A Claude Code session's message box on a phone, the microphone recording
Talk instead of typing
Optional dictation: tap the mic and speak, and read the transcript in the box before you press Send.
A busy Claude Code session, 'Migrate billing to Stripe webhooks', on a phone, with two messages queued above its box: the queue sends one at a time, each when Claude Code has been idle a while
Queue the next message
Queue messages while the agent works: the server sends each one once Claude Code has been idle for 30 s, even with your phone closed.
The Asks page on a phone: an officer asks whether to write up a proposal, with three options to tap
Officers and a chief
Optional: standing agents with a job, which can ask you on the Asks page, and a chief you can ask what every session is on.

Every feature, what it needs and the .env lines that turn it on: docs/features.md. The long version of this page (what you get, notifications, the core and the optional features, the comparison with Remote Control, the limits): docs/overview.md.

Ecosystem

muster grows with what you plug into it.

  • Plugins bring your other inboxes to muster: email, a chat, a forum, a support desk. Your agents read what arrives and draft the answers, and nothing is sent until you approve the exact words, unless you choose to let muster answer someone you trust automatically.
  • Officers are agents with one standing job, such as answering support, writing release notes or testing each change. Each works on its own and asks you before anything leaves.
  • Together, a plugin and an officer make an assistant for one channel: it handles the routine messages, brings you the ones that need you, and sends only the replies you approve.

Anyone can build one and share it. See what exists and how to list yours in Building on muster, build your first plugin with Build a plugin in 15 minutes, and give it an officer with Recipe: a specialised officer with its own plugin.

Install options

Every release publishes these assets on its release page, with a checksums.txt of their sha256.

option what you download for guide
Docker Compose (recommended) install.sh, or docker-compose.yml with env.example saved as .env the server on one machine; the images come from GHCR docs/quickstart-local.md
Helm chart muster-<X.Y.Z>.tgz the server on Kubernetes, and dispatched agents docs/kubernetes.md
Mirror daemon muster-mirror_<os>_<arch>.tar.gz each machine whose tmux sessions muster shows docs/mirroring.md
CLI muster_<os>_<arch>.tar.gz muster doctor, tasks and the rest from a terminal docs/cli.md
Linux packages (opt-in) muster_linux_<arch>.deb, muster-mirror_linux_<arch>.deb, muster_linux_<arch>.rpm, muster-mirror_linux_<arch>.rpm the CLI and the mirror in /usr/bin, for every user: apt/dnf install, or install.sh with MUSTER_PACKAGE=deb or rpm docs/releases.md
Homebrew muster.rb, muster-mirror.rb macOS and Linux: brew install zacxdev/muster/… once the tap is published (it needs the release's tap token); until then these formula files in a local tap docs/releases.md
Windows (CLI only) muster_windows_<arch>.zip, or Scoop with muster.json the CLI on Windows; there is no Windows mirror (it needs tmux): use WSL for that docs/releases.md
From source a clone of this repository working on muster docs/development.md

<arch> is amd64 or arm64 everywhere; the archives' <os> is linux or darwin; Windows gets the CLI only. Every download is in checksums.txt and carries a build-provenance attestation (verify). There is no server binary: the server ships as the container image the Compose file and the chart run.

Install from inside Claude Code, or as a skill

The one prompt above is the main path. In Claude Code you can instead add this repository as a plugin marketplace and install the muster plugin:

/plugin marketplace add ZacxDev/muster
/plugin install muster@muster

Then ask Claude Code to "set up muster". The plugin holds one skill, muster-setup, which downloads the same INSTALL.md from the newest release and follows it, so it never carries a copy of the steps.

Other coding agents can install the same skill with the skills CLI:

npx skills add ZacxDev/muster --skill muster-setup

This is muster by ZacxDev. Other repositories publish unrelated skills named muster, so install it by this repository's name, not by searching for the word.

Requirements

  • Docker with Compose v2 on the machine that runs the server, or a Kubernetes cluster for the Helm chart.
  • tmux on every machine whose sessions you want to see: muster sees only sessions inside tmux. What each machine needs is checked by INSTALL.md, "Preflight (every machine)".
  • Linux. macOS machines are experimental; there is no Windows support.
  • Tailscale for your phone and your other machines. On iOS, install the app to the Home Screen before it can receive push.

What it does not do, or has not proven: docs/limits.md.

Learn more

License

MIT. See LICENSE.

About

Every coding agent on every machine, in one list on your phone. Self-hosted.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages