Cookbook¶
Complete, runnable multi-agent orchestration examples — each one a self-contained recipe you can
copy, paste, and run. Every example shows the exact pip install, the full code, and the expected
output.
Filter the recipes below by domain, design pattern, or package — pick any combination (multiple picks in one group match any; across groups they match all).
Customer Onboarding Workflow Intermediate
Verification, setup, FAQ, and success roles onboard a new customer end to end
Support Router Advanced
Classify tickets → route to specialists → escalate to a human
Analytics Task Decomposer Intermediate
Orchestrator breaks an analytics request into query, transform, and chart workers
SQL Analyst Intermediate
Reason-act loop that writes and runs SQL to answer questions
Incident Triage Intermediate
Stage pipeline that triages incidents with human sign-off
Product Launch Planner Intermediate
Orchestrator splits a launch into pricing/copy/SEO/inventory subtasks for workers
Essay Grading by Consensus Intermediate
Independent graders score against a rubric; a majority vote sets the grade
AML Transaction Monitoring Advanced
Screen → score → enrich pipeline gates high-risk transactions to a human reviewer
ESG Report Analyzer Advanced
Orchestrator dispatches ratings, disclosure, and SFDR-scoring workers into an ESG summary
Earnings Call Analyzer Intermediate
A self-reflecting agent iterates on an earnings transcript until the analysis clears a quality bar
Loan Origination Workflow Advanced
Document → income → credit → approval agents pass an application along a chain
Loan Underwriting Committee Advanced
Approve and decline advocates debate an application; a senior underwriter decides
Portfolio Review Intermediate
Analyst panel with an evaluator-optimizer quality gate
Robo-Advisor Onboarding Intermediate
Intake, risk, suitability, and planning roles rotate to build a client investment plan
Trading Signal Desk Advanced
Momentum, mean-reversion, and sentiment agents fan out then aggregate into a trade idea
Wealth Rebalancing Crew Intermediate
Risk → market scan → allocation → compliance pipeline proposes a rebalance
Emergent NPC World Advanced
NPC agents read/write a shared world-state blackboard for emergent behavior
Policy Briefing Pipeline Advanced
A director delegates to department leads and analysts, then synthesizes a brief
CV Screener Intermediate
Parallel reviewers score a CV; aggregate into one verdict
Clinical Summary Intermediate
Summarize clinical notes, then self-critique for accuracy
Contract Review Intermediate
Draft + independent reviewer loop over contract clauses
Regulatory Compliance Checker Advanced
A director delegates obligation and control teams, then synthesizes a gap analysis
Campaign Planner Beginner
Parallel channel ideas aggregated into one campaign plan
Writers' Room Intermediate
Showrunner, writer, editor, and continuity roles collaborate on an episode outline
Property Valuation Stack Intermediate
Data → comparables → narrative layers produce a valuation report
Literature Review Team Advanced
A lead delegates discovery and synthesis sub-teams to produce a cited review
Research Assistant Advanced
Gather sources, debate, synthesize, and cite
Lead Qualifier Intermediate
Score and route inbound leads to the right play
Peer-Review Mesh Advanced
Reviewers critique a manuscript in a mesh, reconciling notes across rounds
Alert Triage Intermediate
Triage security alerts; escalate true positives to a human
Fraud Investigation Assistant Advanced
A reason-act agent calls transaction, anomaly, and sanctions tools to build a case
Code Review Advanced
Iterative review + security scan with a human gate
Software Startup Simulation Advanced
PM, Architect, Engineer, and QA role-play an idea into PRD, design, code, and tests
Trip-Planning Swarm Advanced
Self-organizing agents negotiate flights, lodging, and activities into an itinerary