Architecture
A swarm multi-agent architecture where multiple agents work on the same or related tasks simultaneously, with no central coordinator. Their outputs are then aggregated, voted on, or merged by a dedicated aggregator node. Agents may compete — the best output wins.
Full FlowZap Code
dispatcher_agent {# Dispatcher Agent
n1: rectangle label="Split Goals & Dispatch"
n1.handle(bottom) -> research_agent_a.n2.handle(top) [label="Explore Angle 1"]
n1.handle(bottom) -> research_agent_b.n3.handle(top) [label="Explore Angle 2"]
n1.handle(bottom) -> research_agent_c.n4.handle(top) [label="Explore Angle 3"]
}
research_agent_a {# Research Agent A
n2: rectangle label="Parallel Search A"
n2.handle(bottom) -> aggregator_agent.n5.handle(top) [label="Findings A"]
}
research_agent_b {# Research Agent B
n3: rectangle label="Parallel Search B"
n3.handle(bottom) -> aggregator_agent.n5.handle(top) [label="Findings B"]
}
research_agent_c {# Research Agent C
n4: rectangle label="Parallel Search C"
n4.handle(bottom) -> aggregator_agent.n5.handle(top) [label="Findings C"]
}
aggregator_agent {# Aggregator Agent
n5: rectangle label="Merge & Deduplicate"
}
Related templates
Architecture
A supervisor-worker multi-agent architecture where an orchestrator agent receives a high-level goal, breaks it into subtasks, delegates each to specialist worker agents (researcher, writer, QA), monitors execution, handles failures, and synthesizes results. The orchestrator manages but does not execute tasks itself.
Architecture
A sequential pipeline multi-agent architecture where agents are arranged in a strict sequence. Each agent transforms or enriches the output of the previous one, then passes it forward. No central orchestrator — the flow is deterministic like an assembly line.
Architecture
A hierarchical multi-agent architecture with multi-level organizational structure. A top-level executive agent manages mid-level team lead agents, who each manage their own pool of specialist workers. Teams within teams — the hierarchy maps to domain separation.
Architecture
The most architecturally sophisticated multi-agent pattern. Agents are assigned not just roles but opposing incentives. A Planner is optimistic about goal completion. A Critic is constitutionally skeptical and holds veto authority. Errors get caught through adversarial pressure rather than trusting a single model's self-assessment.
Architecture
An orchestrator-worker architecture where an orchestrator agent breaks a goal into subtasks, dispatches to specialized workers, then synthesizes a final response. This is the most common 'agent orchestration' architecture—powerful but the orchestrator can become a bottleneck as the number of workers grows. Frameworks like LangGraph focus on explicit routing/state to manage this.
Architecture
A hierarchical multi-agent architecture that scales orchestration by stacking supervisors and team leads (a tree structure), which mirrors enterprise org structures and helps partition context. This is the 'enterprise-grade agentic AI architecture' when a single orchestrator cannot manage all workers directly. Ideal for large enterprises and multi-domain workflows.