✦ Want a lab built just for you? ✦
Request a Lab ↗

Building a Self-Improving Competitive Intelligence System with Google ADK

About this lab

You are a data engineer at a strategy consulting firm. Your team spends hours manually researching competitors for client engagements, pulling company profiles, analyzing financials, reading market reports, and synthesizing everything into actionable intelligence. Your manager wants this process automated so analysts can focus on strategy instead of data gathering.

In this lab, you will build an AI-powered competitive intelligence system using Google's Agent Development Kit (ADK). You will work with realistic data for 10 technology companies, complete with quarterly financials and market reports. The system researches multiple companies in parallel, synthesizes findings into a unified report, and iteratively refines the analysis until it meets quality standards. You will use all four ADK agent types: LlmAgent for specialized research roles, ParallelAgent for simultaneous multi-company analysis, LoopAgent for quality-driven refinement with escalation, and SequentialAgent for orchestrating the full pipeline end to end.

Lab details

  • Level: Advanced
  • Cloud: GCP
  • Domain: AI Engineering
  • Duration: 90 minutes

What you will learn

  • Build research tools that query company profiles, financials, and market reports
  • Create multiple LlmAgent specialists with distinct roles and tool sets
  • Use ParallelAgent to run three researcher agents simultaneously
  • Build a LoopAgent with escalation for iterative quality improvement
  • Compose all four agent types into a SequentialAgent pipeline
  • Write evaluation test cases and measure agent quality with AgentEvaluator

Concepts covered

  • Google ADK
  • ParallelAgent
  • LoopAgent
  • SequentialAgent
  • Escalation
  • Evaluation
  • Multi-Agent Orchestration

Technologies used

  • Google ADK
  • ParallelAgent
  • LoopAgent
  • Gemini 2.5 Flash

Prerequisites

  • Completed Labs 1-3 or strong Google ADK knowledge
  • Understanding of SequentialAgent and output_key from Lab 2
  • Basic Python knowledge

Topics

  • Google ADK
  • ParallelAgent
  • LoopAgent
  • SequentialAgent
  • Evaluation
  • Multi-Agent
  • Competitive Intelligence
  • Gemini
  • Python
  • GCP