Before you begin
- Labs create a Google Cloud project and resources for a fixed time
- Labs have a time limit and no pause feature. If you end the lab, you'll have to restart from the beginning.
- On the top left of your screen, click Start lab to begin
Define a tool-using agent using ADK
/ 15
Implement structured output validation
/ 15
Define the Content Builder agent
/ 15
Configure remote connections and workflow
/ 15
Test the system locally
/ 20
Deploy the microservices to Cloud Run
/ 20
Define a tool-using agent using ADK
/ 15
Implement structured output validation
/ 15
Define the Content Builder agent
/ 15
Configure remote connections and workflow
/ 15
Test the system locally
/ 20
Deploy the microservices to Cloud Run
/ 20
In a challenge lab you’re given a scenario and a set of tasks. Instead of following step-by-step instructions, you will use the skills learned from the labs in the course to figure out how to complete the tasks on your own! An automated scoring system (shown on this page) will provide feedback on whether you have completed your tasks correctly.
When you take a challenge lab, you will not be taught new Google Cloud concepts. You are expected to extend your learned skills, like changing default values and reading and researching error messages to fix your own mistakes.
To score 100% you must successfully complete all tasks within the time period!
In this challenge lab, you use agent skills to build and deploy a distributed multi-agent system used for course creation. You use the Google Agent Development Kit (ADK) and the Agent-to-Agent (A2A) protocol. Instead of following step-by-step instructions, you are given a business scenario and a set of tasks. You must determine how to complete these tasks on your own. Use your skills to implement a solution that demonstrates your understanding of key concepts.
Explore other content in the Gemini Enterprise Agent Ready (GEAR) program.
Read these instructions. Labs are timed and you cannot pause them. The timer, which starts when you click Start Lab, shows how long Google Cloud resources are made available to you.
This hands-on lab lets you do the lab activities in a real cloud environment, not in a simulation or demo environment. It does so by giving you new, temporary credentials you use to sign in and access Google Cloud for the duration of the lab.
To complete this lab, you need:
Click the Start Lab button. If you need to pay for the lab, a dialog opens for you to select your payment method. On the right is the Lab setup and access panel with the following:
Note that the lab timer is located near the top of the page, showing the remaining time.
Click Open Google Cloud console (or right-click and select Open Link in Incognito Window if you are running the Chrome browser).
The lab spins up resources, and then opens another tab that shows the Sign in page.
Tip: Arrange the tabs in separate windows, side-by-side.
If necessary, copy the Username below and paste it into the Sign in dialog.
You can also find the Username in the Lab setup and access panel.
Click Next.
Copy the Password below and paste it into the Welcome dialog.
You can also find the Password in the Lab setup and access panel.
Click Next.
Click through the subsequent pages:
After a few moments, the Google Cloud console opens in this tab.
If you are looking for resources that will help you develop the skills required to complete this lab successfully, consider reviewing relevant sections from the following:
| Category | Resources |
|---|---|
| Online Documentation | - Agent Development Kit (ADK) - Google Search Tool for ADK - Structuring Data with ADK - Sequential Agents - Loop Agents - Vertex AI Multimodal Overview - Pydantic Models - Deploying to Cloud Run |
| Courses, Labs and Tutorials | - Build Agent Skills with Google |
You are an AI Engineer building an automated Course Creation System at Cymbal Group. You will build a distributed multi-agent system where specialized microservices collaborate. This design avoids a single monolithic prompt that is difficult to maintain:
LoopAgent (to repeatedly research and judge until quality standards are met) and SequentialAgent (to pass approved findings to the content builder) via the Agent-to-Agent (A2A) protocol over HTTP.Deploy each specialist agent as an independent serverless microservice on Google Cloud Run. Then, verify the end-to-end course generation pipeline.
In this lab, your mission is the following:
The Course Creation System needs a specialist researcher agent. This agent retrieves current web facts using Google Search instead of relying on static training data. In this task, you set up your development environment and implement an ADK agent equipped with Google Search capabilities.
In Cloud Shell, click Open Editor.
In the Cloud Shell Editor menu, click Terminal.
Select New Terminal.
Run the following command to download the starter codebase from the lab assets bucket and navigate to the project directory:
agents/researcher/skills/SKILL.md.agents/researcher/agent.py.Agent definition by replacing the None placeholder in the tools list with researcher_toolset.Click Check my progress to verify the objective.
To automate workflows reliably, evaluator agents must produce deterministic, machine-readable responses. In this task, you implement a Pydantic schema to enforce structured boolean pass/fail evaluations from the Judge agent.
agents/judge/agent.py.JudgeFeedback(BaseModel) is declared with status and feedback fields.judge agent definition: replace None with JudgeFeedback inside the output_schema parameter, and change both disallow_transfer_to_parent and disallow_transfer_to_peers parameters to True.Click Check my progress to verify the objective.
The Content Builder agent is the final specialist in the pipeline. Its responsibility is to take the validated research findings and transform them into a well-formatted, professional course module. In this task, you deploy the agent with a custom validation script tool packaged inside a skill to guarantee output compliance.
agents/content_builder/skills/scripts/check_format.py.success (a boolean indicating whether both headings exist) and message (a string explaining the result).agents/content_builder/skills/SKILL.md. 5. Locate the TODO comment. Instruct the agent to run the validation script tool check_format to verify the formatting of the generated course module before finalizing its output. 6. Save the file. 7. Open the file agents/content_builder/agent.py. 8. Locate the TODO comment. Complete the content_builder agent definition by replacing the None placeholder inside the tools list with content_builder_toolset. 9. Save the file.Click Check my progress to verify the objective.
Orchestrator agents manage workflow logic and delegation instead of executing tools directly. In this task, you configure the remote connections to the researcher, judge, and content builder agents. Then, you construct the feedback loop and sequential pipeline in the orchestrator.
agents/orchestrator/agent.py.judge agent by replacing the None placeholder of the after_agent_callback parameter with create_save_output_callback("judge_feedback").EscalationChecker class's _run_async_impl method. Complete the escalation logic: replace the None placeholder of the actions parameter in the first Event constructor with EventActions(escalate=True).research_loop, replace the [None] placeholder with [researcher, judge, escalation_checker].root_agent, replace the [None] placeholder with [research_loop, content_builder].Click Check my progress to verify the objective.
Verify your distributed system locally before deploying to Google Cloud Run. In this task, you run multiple local agents and test A2A communication over localhost using the ADK.
To prevent the local agent runner from scanning your custom skill folders as sibling agents, run the local simulation using a clean temporary runtime directory. If you do not, the loader can crash.
run_local.sh in the root directory.YOUR_GCLOUD_COMMAND_HERE with a command to dynamically fetch the active project ID, such as $(gcloud config get-value project).YOUR_REGION_VARIABLE_HERE with us-central1.YOUR_LOCAL_JUDGE_URL with the localhost connection endpoint URL for the judge agent card on port 8002: http://localhost:8002/a2a/agent/.well-known/agent-card.json
YOUR_LOCAL_CONTENT_BUILDER_URL with the localhost connection endpoint URL for the content builder agent card on port 8003: http://localhost:8003/a2a/agent/.well-known/agent-card.json
uvicorn processes for the Researcher (port 8001), Judge (8002), Content Builder (8003), and Orchestrator (port 8004).
Click Check my progress to verify the objective.
In this task, you deploy each specialist microservice to Google Cloud Run, and then verify the end-to-end course generation pipeline.
Confirm that you are in the ~/multi-agent-system-skills-starter directory.
Ensure your environment variables are sourced in Cloud Shell by running source .env.
Run the following commands to deploy the Researcher, Judge, and Content Builder microservices to Cloud Run in region $REGION:
y to continue.Click Check my progress to verify the objective.
Option A (Console): In the Google Cloud console, search for Cloud Run in the top search bar. Click orchestrator in the list of services, then click the Logs tab.
Option B (Cloud Shell): Run the following command in Cloud Shell to query the live orchestrator logs:
In this lab, you successfully architected, implemented, and deployed a distributed multi-agent system using the Google Agent Development Kit (ADK), Pydantic structured output validation, loop and sequential orchestration workflows, and the Agent-to-Agent (A2A) protocol on Google Cloud Run.
...helps you make the most of Google Cloud technologies. Our classes include technical skills and best practices to help you get up to speed quickly and continue your learning journey. We offer fundamental to advanced level training, with on-demand, live, and virtual options to suit your busy schedule. Certifications help you validate and prove your skill and expertise in Google Cloud technologies.
Manual Last Updated November 5, 2026
Lab Last Tested November 9, 2026
Copyright 2026 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other company and product names may be trademarks of the respective companies with which they are associated.
This content is not currently available
We can notify you via email when it becomes available
Great!
We can contact you via email if it becomes available
One lab at a time
Confirm to end all existing labs and start this one