Skip to content

Latest commit

 

History

History
93 lines (69 loc) · 3.85 KB

File metadata and controls

93 lines (69 loc) · 3.85 KB

dmux logo

Parallel agents with tmux and worktrees

Manage multiple AI coding agents in isolated git worktrees.
Branch, develop, and merge — all in parallel.

Documentation  ·  Getting Started  ·  Issues

Language: English | 日本語


dmux demo

Install

npm install -g dmux

Quick Start

cd /path/to/your/project
dmux

Press n to create a new pane, type a prompt, pick one or more agents (or none for a plain terminal), and dmux handles the rest — worktree, branch, and agent launch.

What it does

dmux creates a tmux pane for each task. Every pane gets its own git worktree and branch so agents work in complete isolation. When a task is done, open the pane menu with m and choose Merge to bring it back into your main branch, or Create GitHub PR to push the branch and file a pull request.

  • Worktree isolation — each pane is a full working copy, no conflicts between agents
  • Agent support — Claude Code, Codex, OpenCode, Cline CLI, Gemini CLI, Qwen CLI, Amp CLI, pi CLI, Cursor CLI, Copilot CLI, and Crush CLI
  • Multi-select launches — choose any combination of enabled agents per prompt
  • AI naming — branches and commit messages generated automatically
  • Smart merging — auto-commit, merge, and clean up in one step
  • macOS notifications — background panes can send native attention alerts when they settle and need you
  • Built-in file browser — inspect a pane's worktree, search files, and preview code or diffs without leaving dmux
  • Pane visibility controls — hide individual panes, isolate one project, or restore everything later without stopping work
  • Multi-project — add multiple repos to the same session
  • Lifecycle hooks — run scripts on worktree create, pre-merge, post-merge, and more

Keyboard Shortcuts

Key Action
n New pane (worktree + agent)
t New terminal pane
j / Enter Jump to pane
m Open pane menu
f Browse files in selected pane's worktree
x Close pane
h Hide/show selected pane
H Hide/show all other panes
p New pane in another project
P Show only the selected project's panes, then show all
s Settings
q Quit

Requirements

Documentation

Full documentation is available at dmux.ai, including setup guides, configuration, and hooks.

Contributing

See CONTRIBUTING.md for the recommended local "dmux-on-dmux" development loop, hook setup, and PR workflow.

License

MIT