Compare Architectures

Side-by-side: use case, requirements, latency, cost, strengths, weaknesses, failure modes, example — and when to choose each.

RouterSupervisor
Use caseClassify a request once and dispatch to one handlerCoordinate several workers across multiple turns toward one goal
RequirementsClassifier (small model or rules) plus handlersCoordinator loop, workers, shared state, termination
LatencyOne cheap classification callMultiple coordination rounds
CostMinimal; can use a small modelCoordinator tokens on every round
StrengthsSimple, fast, easy to evaluate as a classifierCan decompose, retry, and combine partial results
WeaknessesOne shot: cannot recover if it routes wrongComplexity and bottleneck; harder to trace
Failure modesMisclassified intent lands in the wrong handlerEndless delegation; workers overwrite shared state
ExampleBilling vs technical vs sales inquiryProduce a due-diligence report from many sources
Choose this whenChoose a router when a single classification decides everything; it is cheaper and more testable.Choose a supervisor when the task needs iterative decomposition and synthesis across workers.