Why it exists
Most failures in agent teams are process failures, not model failures. A patch gets graded by the model that wrote it. Tests come from the implementer. A green CI run gets reported as done. A verdict stays quoted after a rebase invalidated it.
Maestro puts those rules into files, named gates, and a board that outlives any context window. It does not make agents smarter. It makes sloppy work hard to call done.
Versions
| Version | Location | What it is |
|---|
| ver3 | main, current | The orchestration kit described here, with the ver2 skills kept as installable content. |
| ver2 | ver2 branch | The earlier skill kit tree, preserved unchanged. |
The pipeline
Eight stages, fixed order, judgment inside the stages only:
flowchart LR
IN["Intake<br/>board backlog"] --> TR["Triage<br/>tier A or B"]
TR --> CO["Contract<br/>frozen and hashed"]
CO --> TF["Tests first<br/>independent author"]
TF --> IM["Implement<br/>one agent, own worktree"]
IM --> GR["Grade<br/>different-family grader"]
GR -->|BOUNCE| IM
GR -->|SHIP| LA["Land<br/>small pushed commits"]
LA --> LE["Learn<br/>mistake becomes a check"]
One implementer per task. Research and grading lanes may fan out, but they never write the same files or drive the same GUI. A stopped task is not a failed worker: budget spent, iteration cap hit, or a blocker proven with evidence all stop the task with a report.
Two ways to adopt
flowchart LR
R["Maestro repo"] --> A["setup.sh<br/>orchestration kit into your project"]
R --> B["install.sh<br/>skills into every detected host"]
A --> C["CI and pre-commit<br/>run the same gates"]
B --> D["verify.sh<br/>proves the loop, not just files"]
The two paths are independent. Take the kit, the skills, or both.
Quickstart
Adopt the orchestration kit
git clone https://github.com/phamTuan207/maestro.git
cd maestro
./setup.sh /path/to/your-project
setup.sh is idempotent: existing files are skipped unless --force is passed. Then, in the target project:
- Edit
roles/*.md. Rename example cards, set real family strings, budgets, and access.
- List CLI families in
WORKFLOW.md section 2. One canonical string per family, because Gate 6 compares them verbatim.
- Add project-specific personal markers to
gates/pii-denylist.txt.
- Install hooks:
pip install pre-commit && pre-commit install.
- Put a task on
BOARD.md Backlog, freeze its contract, write tests first with an independent author, implement, grade under the named gates, land, then learn.
Install the bundled skills
./install.sh --dry-run # see the plan, write nothing
./install.sh
./verify.sh # run in a NEW host session, after reload
Supported hosts are Claude Code, Codex, OpenCode, Gemini, Hermes, Copilot, Muse, and CommandCode. Use --hosts=LIST to select hosts, plus --skip-hooks, --skip-mcp, --skip-eyes, or --no-warm to limit best-effort steps.
Requirements: Linux or macOS, Python 3, and git. Node 22+ is needed for the hook, MCP, and Playwright steps. A step that cannot complete is reported as PENDING with the exact manual command, never hidden as a success. Vendored pins are never auto-upgraded at install time; scripts/check-versions.sh only warns about drift.
What is inside
Operating system