multi-agent-orchestration
Installation
SKILL.md
Multi-Agent Orchestration
Coordinate multiple specialized agents for complex tasks.
Fan-Out/Fan-In Pattern
async def multi_agent_analysis(content: str) -> dict:
"""Fan-out to specialists, fan-in to synthesize."""
agents = [
("security", security_agent),
("performance", performance_agent),
("code_quality", quality_agent),
("architecture", architecture_agent),
]
# Fan-out: Run all agents in parallel
tasks = [agent(content) for _, agent in agents]
results = await asyncio.gather(*tasks, return_exceptions=True)