About Dmux
dmux is a terminal tool for running several AI coding agents in parallel, each in its own tmux pane and its own git worktree. A developer describes a task, picks an agent such as Claude Code, opencode or Codex, and dmux creates an isolated worktree and branch for it, so multiple agents can work on the same repository at once without stepping on each other. When a task is done, the work is merged back to the main branch from the dmux sidebar.
It is built for developers who already use terminal coding agents and want to run more than one at a time. dmux automates the full worktree lifecycle, supports several projects in one tmux session, restores ordinary shell panes in their last working directories, and includes a read only file browser for each worktree. Panes can be hidden without stopping them, and on macOS background panes send native notifications when an agent is waiting for input. An optional inference provider, configured with an API key from OpenRouter, OpenAI, Anthropic, Google, Cerebras, Groq and others, or with an existing ChatGPT or Grok Build subscription login, generates branch names, pane names, commit messages and summaries. The merge flow can auto commit outstanding changes with a generated message, merge the branch, clean up the worktree, or push the branch and open a GitHub pull request. Lifecycle hooks allow custom scripts at each stage.
dmux is free and open source under the MIT License and installs globally from npm. It requires tmux, Node.js and at least one supported coding agent. Any cost comes from the agents and model providers the user connects.