A worktree for every idea.
Run a fix, a feature, and a refactor side by side. Each task gets its own Git worktree and branch, so agents can work without stepping on each other’s changes.
A little orchestration. A lot of possibility.
Big ideas take more than one session. Give your coding agents a shared stage—with separate worktrees, preserved context, and you at the conductor’s stand.
Open source. Terminal native. Yours to conduct.
Your favorite agents.
All on the same stage.
Your Git hosts.
Push, review, and merge.
01 / The stage
Think tmux for coding agents. Every tab is a task, every task has its own worktree, and everything has its place.
Fix the login redirect and add a regression test.
I found the issue in the session callback. The redirect runs
before the refreshed session is available.
Read src/auth/callback.ts
Updated the session refresh flow
Running the authentication tests
Build the project activity dashboard.
The dashboard is ready for your review. It includes an activity
feed, project filters, and an empty state for new projects.
Added the dashboard view and filters
Component tests passed
Ready for your next instruction
Simplify the API error handling.
I can consolidate the repeated error handlers into one helper.
One endpoint still uses the legacy response format.
Reviewed the route handlers
Prepared the shared error helper
Keep the legacy format for compatibility?
02 / The arrangement
For developers running parallel tasks, trying different agents, or returning to work that deserves more than a fresh chat.
Run a fix, a feature, and a refactor side by side. Each task gets its own Git worktree and branch, so agents can work without stepping on each other’s changes.
Hand a task to another agent with its goal, notes, recent conversation, and Git state. Return to a previous agent and resume its own saved session.
Quit, come back, and restore your task tabs. Session identities and history stay saved, with native conversation import for Codex, agy, and OpenCode.
Push your branch, create a pull request on GitHub, GitLab, or Codeberg, follow CI and reviews, then merge and clean up—all from the same workspace.
03 / Find your rhythm
A familiar terminal workflow,
with room for the whole ensemble.
Name your task, choose an agent, and give it a prompt. Maestro prepares an isolated worktree.
maestro new "Fix login" -a codexMove between tasks, check progress, or hand off to a different agent when you want a fresh approach.
prefix + aswitch agentReview the changes, open a pull request, and merge. Archive the task with its history preserved.
prefix + Pcreate / open PRYour prefix is ctrl+m in terminals with keyboard disambiguation, or ctrl+b otherwise. prefix ? shows all shortcuts.
04 / Your opening act
Bring your terminal, a Git repository, and your favorite coding agent. Maestro takes care of the arrangement.
Read the full documentationFrom source with Go 1.26+. Make sure your Go binary directory (usually ~/go/bin) is on your PATH.
go install github.com/mmoehabb/maestro/cmd/maestro@latestInstall and authenticate at least one supported agent CLI separately. In a Git checkout with at least one commit, check your setup:
maestro doctorCreate a task, then open Maestro to launch the agent. Use an agent you have installed; this example uses Codex.
maestro new "Fix login" -a codex -p "Repair the login flow"
maestroUsing GitHub, GitLab, or Codeberg PR features? Authenticate with gh auth login, glab auth login, or tea login add (or token environment variables). Using Kimi Code, Charm Crush, Kilo, or Aider? Enter your prompt inside the agent pane instead of using -p. Use prefix H to copy a handoff instruction for these agents.
Great work has a rhythm.