Skip to content

Interactive Topology Explorer

Pick a task shape. Commander’s deliberation engine maps similar signals onto one of five canonical topologies. This page is a decision aid — not a substitute for plan.

Decision tree

Is the task a single clear question with one owner?
  YES → SINGLE
  NO  ↓
Does work form a strict pipeline (A then B then C)?
  YES → CHAIN
  NO  ↓
Can specialists work in parallel then merge?
  YES → DISPATCH
  NO  ↓
Does a lead need to delegate and re-plan?
  YES → ORCHESTRATOR
  NO  ↓
Is quality / risk high enough to require critique?
  YES → REVIEW
  else → start with DISPATCH or ask `commander plan`

Topology cards

SINGLE

Agents1
Best forFAQ, simple explain, one-shot transform
CostLowest
RiskNo peer review
bash
npx tsx packages/core/src/cliEntry.ts plan "what does this function do?"
# often → SINGLE

CHAIN

AgentsSequential stages
Best forAnalyze → implement → verify pipelines
CostMedium
RiskStage failures block the line
bash
npx tsx packages/core/src/cliEntry.ts plan "migrate the auth module then update callers"
# often → CHAIN

DISPATCH

AgentsParallel specialists + synthesizer
Best forResearch, audits, multi-angle analysis
CostHigher (parallel)
RiskMerge conflicts in synthesis
bash
npx tsx packages/core/src/cliEntry.ts plan "audit this repo for security vulnerabilities"
# often → DISPATCH

ORCHESTRATOR

AgentsLead + workers
Best forLarge, ambiguous, multi-module work
CostHigh
RiskLead bottleneck / over-delegation
bash
npx tsx packages/core/src/cliEntry.ts plan "redesign the billing system end to end"
# often → ORCHESTRATOR

REVIEW

AgentsProducer + critic / merge
Best forHigh-risk code, security-sensitive output
CostMedium–high
RiskExtra latency
bash
npx tsx packages/core/src/cliEntry.ts run "task" --topology review

Quick chooser

Answer mentally, then confirm with plan:

If your task is…Try
One question, one answerSINGLE
Ordered steps that depend on previous outputCHAIN
Multiple independent investigationsDISPATCH
Unknown scope; need a manager agentORCHESTRATOR
Correctness > speedREVIEW

Force a topology

bash
npx tsx packages/core/src/cliEntry.ts run "your task" --topology dispatch --stream
npx tsx packages/core/src/cliEntry.ts plan "your task" --topology review

Canonical names: single · chain · dispatch · orchestrator · review (CLI casing may vary — see commander --help).

MIT Licensed — Built for multi-agent orchestration.