0

Multi-Agent Web Research System (YAML-based)

awesome-llm-appsmulti_agent_web_research_team

A sophisticated multi-agent system built with Google ADK that uses Firecrawl MCP tools for web scraping and coordinates between specialized research and summary agents.

Sign in to save downloads to your library and vote.

Preview

Multi-Agent Web Research System (YAML-based)

A sophisticated multi-agent system built with Google ADK that uses Firecrawl MCP tools for web scraping and coordinates between specialized research and summary agents.

Architecture

This system consists of:

  1. Main Coordinator Agent (root_agent.yaml) - Orchestrates the entire workflow
  2. Research Agent (research_agent.yaml) - Uses Firecrawl MCP tools for web scraping and content analysis
  3. Summary Agent (summary_agent.yaml) - Creates comprehensive reports and summaries
  4. Firecrawl MCP Integration - Advanced web scraping with proper sub-agent configuration

Features

  • ๐Ÿ” Advanced Web Scraping: Uses Firecrawl MCP tools for reliable content extraction
  • ๐Ÿ”ฌ Intelligent Content Analysis: Research agent extracts insights, patterns, and key data
  • ๐Ÿ“ Comprehensive Report Generation: Summary agent creates structured reports and recommendations
  • ๐Ÿค– Multi-Agent Coordination: Main agent orchestrates the entire workflow seamlessly
  • ๐Ÿ” Secure API Management: Firecrawl API key managed via environment variables
  • โšก Sub-Agent MCP Support: Properly configured MCP tools in sub-agents

Setup

Prerequisites

  1. Install Google ADK:

    pip install google-adk
    
  2. Get Firecrawl API key from firecrawl.dev

  3. Set environment variables in .env file:

    Option A: Google AI Studio (Recommended for development)

    GOOGLE_GENAI_USE_VERTEXAI=0
    GOOGLE_API_KEY=<your-google-gemini-api-key>
    FIRECRAWL_API_KEY=<your-firecrawl-api-key>
    

    Option B: Vertex AI (Recommended for production)

    GOOGLE_GENAI_USE_VERTEXAI=1
    GOOGLE_CLOUD_PROJECT=<your-gcp-project-id>
    GOOGLE_CLOUD_LOCATION=us-central1
    FIRECRAWL_API_KEY=<your-firecrawl-api-key>
    

    Getting API Keys:

Installation

  1. Navigate to the agent directory:

    cd ai_agent_framework_crash_course/google_adk_crash_course/adk_yaml_examples/multi_agent_web_research_team/multi_agent_web_researcher
    
  2. Verify ADK installation:

    adk --version
    

Usage

Running the Agent

Choose one of these methods to run your agent:

  1. Web Interface (Recommended for testing):

    adk web
    
  2. Command Line:

    adk run
    
  3. API Server (For integration):

    adk api_server
    

Agent Configuration

Main Agent (root_agent.yaml)

The coordinator agent that:

  • Delegates tasks to specialized sub-agents
  • Coordinates between research and summary agents
  • Synthesizes final comprehensive reports
  • Provides clear instructions to sub-agents

Research Agent (research_agent.yaml)

Specialized for web scraping and content analysis:

  • Firecrawl MCP Tools: Uses firecrawl_scrape and firecrawl_search
  • Content Analysis: Extracts key findings and insights
  • Pattern Recognition: Identifies trends and relationships
  • Data Extraction: Highlights important quotes and data points
  • Research Suggestions: Suggests areas for further investigation

Available Firecrawl Tools:

  • firecrawl_scrape: Scrape content from single URLs
  • firecrawl_search: Search the web for relevant content
  • firecrawl_batch_scrape: Scrape multiple URLs efficiently
  • firecrawl_map: Discover URLs on websites
  • firecrawl_crawl: Comprehensive website crawling

Summary Agent (summary_agent.yaml)

Specialized for report generation:

  • Creates executive summaries
  • Organizes information by topic
  • Generates key takeaways
  • Provides actionable recommendations

Workflow

  1. Input: User provides URL or research topic
  2. Delegation: Main agent passes clear instructions to research_agent
  3. Web Scraping: Research agent uses Firecrawl MCP tools to extract content
  4. Analysis: Research agent analyzes scraped content for insights
  5. Summarization: Summary agent creates comprehensive report
  6. Synthesis: Main agent combines findings into final report

Environment Variables

Google AI Studio Configuration

VariableDescriptionRequired
GOOGLE_GENAI_USE_VERTEXAISet to 0 for Google AI StudioYes
GOOGLE_API_KEYGoogle Gemini API key from AI StudioYes
FIRECRAWL_API_KEYFirecrawl API key for web scrapingYes

Vertex AI Configuration

VariableDescriptionRequired
GOOGLE_GENAI_USE_VERTEXAISet to 1 for Vertex AIYes
GOOGLE_CLOUD_PROJECTYour Google Cloud Project IDYes
GOOGLE_CLOUD_LOCATIONGCP region (e.g., us-central1)Yes
FIRECRAWL_API_KEYFirecrawl API key for web scrapingYes

Authentication Methods

Google AI Studio:

  • Simple API key authentication
  • Best for development and testing
  • No Google Cloud setup required

Vertex AI:

  • Enterprise-grade authentication
  • Best for production deployments
  • Requires Google Cloud Project setup
  • Supports advanced features like grounding and safety settings

Example Usage

Web Interface

  1. Run adk web
  2. Open browser to the provided URL
  3. Enter a URL or research topic (e.g., "Scrape and analyze https://example.com" or "Research AI trends")
  4. Watch the multi-agent system process your request

Command Line

adk run
# Enter your research query when prompted

Troubleshooting

Common Issues

  1. API Key Errors: Ensure all required API keys are set in .env
  2. ADK Not Found: Make sure ADK is installed and Python environment is activated
  3. Firecrawl Errors: Verify your Firecrawl API key is valid and has sufficient credits
  4. MCP Connection Issues: Check that Node.js and npm are properly installed
  5. Authentication Issues:
    • Google AI Studio: Verify your API key is valid and has proper permissions
    • Vertex AI: Ensure Google Cloud authentication is set up correctly (gcloud auth application-default login)
    • Project ID: Verify your Google Cloud Project ID is correct for Vertex AI

References

Ingestion metadata

Source catalog
awesome-llm-apps
Repository
Shubhamsaboo/awesome-llm-apps ยท main
File path
ai_agent_framework_crash_course/google_adk_crash_course/adk_yaml_examples/multi_agent_web_research_team/README.md
Last refreshed
7/23/2026, 10:39:09 PM (4h ago)
Refresh schedule
Daily ยท 03:00 UTC
Dedupe status
Unique ยท deduped by (source, url)