Running one agent in one terminal is the baseline. ECC’s orchestration layer lets you run many agents in parallel — each scoped to its own git worktree, coordinated through tmux panes, and supervised by PM2 process management. The goal is not to add arbitrary parallelism, but to make the right amount of parallelism trivial to set up and safe to run.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/affaan-m/ECC/llms.txt
Use this file to discover all available pages before exploring further.
What the Orchestration Module Provides
Theorchestration module (installed via --profile developer or --modules orchestration) adds four categories of capability:
- The
orch-*command family — gated, multi-phase pipelines for common engineering workflows - The
multi-*command family — multi-agent task decomposition and parallel execution - The
epic-*command family — GitHub-coordinated epic lifecycle management - CLI tools —
npx ecc orchestrate:statusandnpx ecc orchestrate:tmuxfor worktree state inspection
The
multi-* commands (/multi-plan, /multi-execute, /multi-backend, /multi-frontend, /multi-workflow) also require the ccg-workflow runtime. Initialize it with npx ccg-workflow before using these commands. Without it, the commands will not run correctly.The orch-* Command Family
The orch-* commands are orchestrated, gated pipelines. Each one runs a fixed sequence of phases — Research → Plan → TDD → Review → Commit — and stops at explicit gates before proceeding. Gates require your approval before the pipeline writes implementation code (Gate 1) or commits (Gate 2).
| Command | Purpose |
|---|---|
/orch-add-feature <description> | Adds a new feature end-to-end: research, plan, TDD, review, gated commit |
/orch-build-mvp <description> | Scaffolds and builds an MVP from a description |
/orch-change-feature <description> | Modifies an existing feature with the same gated pipeline |
/orch-fix-defect <description> | Orchestrated bug fix: write a failing test first, then fix, review |
/orch-refine-code <description> | Code refinement pass: refactor, simplify, remove dead code |
/orch-review <description> | Orchestrated review without code changes |
orch-* commands run through the shared orch-pipeline engine. They classify the request size, state the tier, and enforce both gates before writing a single line of implementation.
The multi-* Command Family
The multi-* commands coordinate multiple agents working in parallel on decomposed tasks. Each command focuses on a specific dimension of a project:
| Command | Purpose |
|---|---|
/multi-plan <objective> | Decompose a task into parallel sub-tasks for multiple agents |
/multi-execute <plan> | Execute a multi-agent plan with coordinated agents |
/multi-backend <objective> | Backend-focused multi-service orchestration |
/multi-frontend <objective> | Frontend-focused multi-service orchestration |
/multi-workflow <objective> | General multi-service workflow across the full stack |
/pm2 <service> | Auto-generate PM2 service lifecycle commands |
The Epic Workflow
For larger units of work tracked in GitHub issues, ECC provides aepic-* lifecycle:
| Command | Purpose |
|---|---|
/epic-decompose <issue> | Break an epic into task children without creating task branches |
/epic-claim <issue> | Claim an epic issue, stamp coordination state, and sync local ownership |
/epic-validate <issue> | Validate epic completion criteria |
/epic-publish <issue> | Publish the epic result |
/epic-review <issue> | Review an epic in progress |
/epic-sync <issue> | Sync local coordination state with GitHub |
/epic-unblock <issue> | Resolve blockers on a claimed epic |
ecc work-items sync-github --repo owner/repo to pull GitHub issue and PR state into the state store for ecc status to surface.
Worktree Lifecycle
Git worktrees let multiple Claude Code instances work on different branches of the same repository simultaneously without conflicts. ECC’stmux-worktree-orchestrator.js manages the lifecycle: creating worktrees, launching Claude instances in the right panes, and tearing down cleanly when work completes.
Inspect Orchestration State
Manual Worktree Setup
For manual parallel work before using the orchestrator:PM2 for Parallel Agents
PM2 manages long-running Node.js processes and is the recommended way to run persistent multi-agent workflows. The/pm2 command auto-generates PM2 service lifecycle commands from a natural language description of your services.
DevFleet MCP for Multi-Agent Coordination
For advanced multi-agent worktree coordination, thedevfleet MCP server dispatches parallel Claude Code agents in isolated worktrees from a single orchestrator session:
Complete Orchestrated Feature Workflow
Consult ECC to find the right components
Before starting, verify ECC has the right skills installed for your task:
Decompose the work (optional, for large features)
For features that span multiple subsystems, decompose into tasks first:This produces a task breakdown you can assign to parallel agents or use as the input to an
orch-* command.Launch the orchestrated pipeline
Start the The pipeline classifies the request size and begins the research phase.
orch-add-feature pipeline with your feature description:Approve Gate 1 (the plan)
Review the task list and implementation plan the pipeline produces. This is your last chance to correct scope before any code is written.Approve or request changes. The pipeline waits for explicit confirmation.
TDD phase runs automatically
Once you approve Gate 1, the pipeline writes failing tests for each task, implements the minimum code to make them pass, then runs the
code-reviewer agent (and security-reviewer if security surfaces are touched).Approve Gate 2 (the commit)
Review the implementation and review comments. Approve Gate 2 to produce conventional
feat: commits. You can request changes before committing.Control Pane
ECC 2.0 ships an operator control pane — a local dashboard for monitoring session state, work items, skill-run health, and install health across all active sessions:npx ecc status but as a live web UI. It is part of the ECC2 substrate (the Rust control-plane, session adapters, and MCP inventory) introduced in v2.0.0.
Parallelization Guidelines
When running three or more instances, use the cascade pattern: open new tasks in new tabs to the right, sweep left to right (oldest to newest), and focus on at most three to four tasks at a time. Use/rename <name> to keep your sessions identifiable.