Building distributed multi-agent systems
summary
Walks through building a self‑correcting Course Creation Pipeline that runs each specialist as its own Cloud Run service, using the Agent Development Kit and the A2A protocol to discover agents. Researcher agent calls Google Search, a Pydantic-powered Judge returns deterministic JSON with pass/fail, a LoopAgent iterates until max iterations: 3, then a SequentialAgent hands approved research to a Content Builder. Local end‑to‑end test passes using Gemini 3 Flash preview; Cloud Run deploys are shown but require correct IAM and storage roles.
AI-written summary · about
chapters (57)
- 0:00Introduction to building multi-agent systems
- 1:18Meet the speakers and session overview
- 2:47Why multi-agent systems matter in production
- 6:28Introducing the AI course creator demo
- 8:20Architecture of a distributed multi-agent system
- 9:06Key technologies for scalable agent systems
- 10:51Live demo of the AI course creator in action
- 11:35The researcher agent and its role
- 12:40The judge agent and quality gates
- 14:50Debugging agents with the ADK web UI
- 15:31Loop agent architecture for iterative research
- 16:14The Content Builder agent and its workflow
- 17:19How agents communicate via Agent-to-Agent protocol
- 18:20Understanding agent cards for service discovery
- 20:28Managing state and context with the orchestrator
- 21:11Setting up the lab environment in Cloud Shell
- 23:04Cloning the starter repository and project setup
- 25:22Enabling required Google Cloud APIs
- 28:20Installing dependencies with UV and pip
- 30:31Configuring environment variables for the lab
- 31:34Why UV is faster than pip for dependency management
- 34:15Defining the researcher agent in code
- 36:44How the researcher agent uses the Google Search tool
- 38:56Prompt engineering for agent behavior control
- 39:16Choosing the right model for agent tasks
- 40:23Defining the judge agent with structured output
- 44:18Understanding judge agent autonomy and constraints
- 45:46Agent autonomy as a dial not a switch
- 46:28Testing the judge agent with research findings
- 47:12Audience topic selection for agent testing
- 48:57Evaluating the researcher agent's output
- 51:04Defining the Content Builder agent and its instructions
- 55:24How the Content Builder uses shared session state
- 57:12Persistent vs short-term memory for agents
- 57:57Defining the orchestrator agent and its callbacks
- 1:00:04How the orchestrator manages session state
- 1:02:54Connecting agents using the Agent-to-Agent protocol
- 1:04:25Defining remote agents in the orchestrator
- 1:05:49Agent authentication and IAM in Cloud Run
- 1:07:39How the escalation checker controls the research loop
- 1:10:04Understanding the escalation checker's role
- 1:12:15Creating the research loop with researcher and judge
- 1:12:58Building the sequential agent pipeline
- 1:14:46Testing the local agent pipeline before deployment
- 1:16:51Deploying agents to Cloud Run for production
- 1:21:05Live testing of the deployed multi-agent system
- 1:21:26Monitoring and observability for agent systems
- 1:24:20Troubleshooting Cloud Run deployment issues
- 1:34:04Answering audience questions about multi-agent systems
- 1:39:28Debugging approaches for agent workflows
- 1:43:21Managing memory and context limits in agents
- 1:45:32State sharing and intelligent decision-making in agents
- 1:46:44Stress testing agents before deployment
- 1:48:11Scaling agents with Cloud Run's auto-scaling features
- 1:51:10Troubleshooting build and deployment permissions
- 1:51:34Recap and next steps for building multi-agent systems
- 1:53:00Next episode preview and closing remarks
related talks
01h 57mFull Workshop: Build Your Own Deep Research Agents
40mHow To Tame Your Agents?
01h 24mBuilding your own software factory
28mThe Put That Sh*t On Agent: Building Multi-Agent AI Systems That Actually Talk to Each Other*
01h 21mShip Agents that Ship: A Hands-On Workshop
54mCreate Multi-Agent Systems with ADK
01h 42mBuilding Responsible AI Agents in Decentralized Open-Source Environments
49mLet's build an AI agent
