Skip to main content

Overview

This example demonstrates how to build a research team swarm that collaborates to produce comprehensive research reports. The team consists of specialized agents working in a hierarchical structure to gather information, analyze data, and synthesize findings into actionable insights.

Business Value

  • Accelerated Research: Complete comprehensive research in hours instead of days
  • Diverse Perspectives: Multiple specialized agents provide different analytical viewpoints
  • Quality Assurance: Built-in review and synthesis steps ensure accuracy
  • Scalability: Handle multiple research projects simultaneously
  • Cost Efficiency: Reduce manual research hours by 70-80%

Architecture Choice

We use HierarchicalSwarm because:
  • Research flows naturally from data gathering → analysis → synthesis
  • A director agent can coordinate specialist researchers
  • Each layer builds upon the previous layer’s output
  • Clear separation of concerns (research vs analysis vs writing)

Complete Implementation

How It Works

  1. Primary Researcher gathers initial information and sources
  2. Data Analyst processes the research into structured insights
  3. Critical Analyst reviews findings for quality and completeness
  4. Report Writer synthesizes everything into a final report
Each agent receives the output of previous agents, building upon their work to create a comprehensive final product.

Customization Tips

Add Domain Experts

Add Multi-Loop Research

For iterative research that digs deeper:

Configure Output Format

Add Memory for Long Projects

Real-World Applications

  • Market Research: Competitive intelligence and market analysis
  • Due Diligence: Investment and M&A research
  • Academic Research: Literature reviews and meta-analysis
  • Policy Analysis: Regulatory impact assessments
  • Technology Evaluation: Vendor selection and technology assessments

Performance Optimization

Parallel Research Tasks

For independent research streams:

Cache Common Research

Next Steps