A little orchestration. A lot of possibility.

Your agents.
In concert.

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

More sessions.
Less juggling.

Think tmux for coding agents. Every tab is a task, every task has its own worktree, and everything has its place.

maestro / your-next-big-ideaINTERACTIVE PREVIEW
CODEX / fix-auth● Working

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

maestro/fix-auth+24 −8 · 2 files
alt 1–9 switch tabsprefix a switch agentprefix ? help
Try the tabs. Everyone has their own part to play.Illustrative sessions, real capabilities.

02 / The arrangement

Stay in flow.
Keep the context.

For developers running parallel tasks, trying different agents, or returning to work that deserves more than a fresh chat.

01

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.

02

Change agents. Keep the thread.

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.

03

Pick up where you left off.

Quit, come back, and restore your task tabs. Session identities and history stay saved, with native conversation import for Codex, agy, and OpenCode.

04

From first prompt to pull request.

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

You set the tempo.

A familiar terminal workflow,
with room for the whole ensemble.

  1. 1

    Give an idea its own space.

    Name your task, choose an agent, and give it a prompt. Maestro prepares an isolated worktree.

    maestro new "Fix login" -a codex
  2. 2

    Conduct the work.

    Move between tasks, check progress, or hand off to a different agent when you want a fresh approach.

    prefix + aswitch agent
  3. 3

    Bring it home.

    Review the changes, open a pull request, and merge. Archive the task with its history preserved.

    prefix + Pcreate / open PR

Your prefix is ctrl+m in terminals with keyboard disambiguation, or ctrl+b otherwise. prefix ? shows all shortcuts.

04 / Your opening act

Ready when
you are.

Bring your terminal, a Git repository, and your favorite coding agent. Maestro takes care of the arrangement.

Read the full documentation
01

Install Maestro

From 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@latest
02

Set the stage

Install and authenticate at least one supported agent CLI separately. In a Git checkout with at least one commit, check your setup:

maestro doctor
03

Start your first session

Create 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"
maestro

Using 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.

Make it yours.

Find Maestro on GitHub