node bin/maestro from the repository root, after npm run build. The examples below write maestro for short.
maestro run
Runs a workflow script.
maestro runs
Lists the runs stored in a directory, newest first. maestro ls is the same command.
done, failed or running), the workflow name, the duration, agent counts and token usage.
maestro show
maestro viz
maestro gc
wf/* branches that writing agents left behind. --delete removes clean worktrees and merged branches. --force also removes worktrees with uncommitted work and unmerged branches.
maestro mcp
--budget is one pool for the whole session: every run the server starts spends from it.
The server exits when its client disconnects or is gone. Runs in progress are stopped, and their journals stay for resume.
Environment
Exit status
maestro run exits with 0 when the script returns, and with a non-zero status when the script fails, the run is stopped or the arguments are wrong.