A terminal-based tool for monitoring multiple GitHub repositories and Jira boards. Watches for new issues, PRs, and Jira items with actionable integrations - spawn AI agent sessions to fix issues or review PRs directly from the dashboard.
- Go 1.26+
ghCLI — GitHub authenticationtmux— agent sessionsgit— worktree isolation- Optional:
acli— Atlassian CLI for Jira integration - Optional:
notify-send(Linux) orosascript(macOS) for desktop notifications
go install github.com/creydr/ai-mux/cmd/ai-mux@latest- Create a config file at
~/.config/ai-mux/config.yaml:
repos:
- name: owner/repo-a
path: ~/development/repo-a
- name: owner/repo-b
path: ~/development/repo-b
pollInterval: 30s
github:
tokenFrom: gh
agents:
- name: claude
command: claude
- name: claude YOLO
command: claude
args:
- "--dangerously-skip-permissions"
- name: gemini
command: gemini
# Optional: Jira integration
jira:
jql: "assignee = currentUser() AND resolution = Unresolved"
orderBy: "priority DESC, updated DESC"
maxResults: 50- Start the daemon:
ai-mux daemon start- Open the dashboard:
ai-mux dashboard# Start the daemon
ai-mux daemon start
# Start the daemon in the background
ai-mux daemon start --background
# Check daemon status
ai-mux daemon status
# Stop the daemon
ai-mux daemon stop
# Install as a system service (systemd on Linux, launchd on macOS)
ai-mux daemon install
# Remove the system service
ai-mux daemon uninstallSessions are persisted to ~/.ai-mux/sessions.json and survive daemon restarts. On startup, the daemon reconciles persisted sessions with live tmux state.
ai-mux dashboardKeyboard shortcuts:
Item list (Issues/PRs/Jira tabs):
Tab— switch between tabs (Jira tab appears when configured)- Arrow keys — navigate items
Enter— open item detail viewa— spawn agent session for selected itemt— attach to an existing session for this itemb/o— open item in browserr— refresh?— show keyboard shortcut helpCtrl-c— quit
Item detail view:
- Arrow keys — scroll content
a— spawn agent session for this itemt— attach to an existing session for this itemo— open in browserr— refreshEsc— back to list
Sessions tab:
- Arrow keys — navigate sessions
Enter— attach to session (opens tmux)n— rename selected sessions— stop selected sessionCtrl-c— quit
Attached session view:
p— paste context prompt into the agent (types without submitting, so you can edit first)n— rename session (pre-filled with current name)PgUp/PgDn— scroll outputEsc— back
tmux session:
ctrl-b d— detachctrl-b n— rename session
# List all sessions
ai-mux session list
# Attach to a running session (opens tmux)
ai-mux session attach <session-id>
# View output of a completed session
ai-mux session attach <session-id>
# Rename a session
ai-mux session rename <session-id> "descriptive name"For running/pending sessions, attach opens the tmux session directly. For completed/failed/stopped sessions, it streams the captured output to stdout.
| Field | Type | Default | Description |
|---|---|---|---|
repos |
list | required | Repositories to watch |
repos[].name |
string | required | Repository in owner/repo format |
repos[].path |
string | required | Local clone path (supports ~) |
pollInterval |
duration | 30s |
How often to poll GitHub |
github.tokenFrom |
string | gh |
Token source: gh (GitHub CLI) |
github.token |
string | — | Direct token (not recommended) |
github.tokenEnv |
string | — | Environment variable with token |
agents |
list | — | AI agent configurations |
agents[].name |
string | required | Agent identifier |
agents[].command |
string | required | Command to run the agent |
agents[].args |
list | — | Extra arguments passed to the command |
notifications.desktop.enabled |
bool | false |
Enable desktop notifications |
notifications.desktop.events |
list | all | Event types to notify on |
jira.jql |
string | — | JQL filter for Jira items (required when jira block present) |
jira.orderBy |
string | — | JQL ORDER BY clause |
jira.maxResults |
int | 50 |
Max items to fetch per poll |
dashboard.itemsPerRepo |
int | 3 |
Items shown per repo before expanding |
daemon.socket |
string | /tmp/ai-mux.sock |
Unix socket path |
When the jira block is present in the config, a Jira tab appears in the dashboard between PRs and Sessions. Items are fetched via the acli CLI tool using the configured JQL query. Pressing a on a Jira item opens a repo picker (or skips it if only one repo is configured), then follows the same agent/worktree flow as Issues and PRs.
Every agent session runs in an isolated git worktree at <repo-path>/.worktrees/<action>-<number>. For Jira items, the pattern is jira-<agent>-<KEY>. This allows multiple agent sessions to run in parallel without interfering with each other or the current checkout. When multiple sessions target the same item, each gets its own worktree with a unique branch (ai-mux/<name>) so they don't conflict. Worktrees with no changes are cleaned up automatically.
See DEVELOPMENT.md for build instructions, architecture, and project structure.
