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
Set Google Cloud project information
/ 15
Build ADK agent
/ 15
Evaluating an ADK agent with Agent Platform Gen AI Evaluation
/ 40
Perform BYOD evaluation of LangGraph agents using GenAI
/ 20
Clean up the experiment
/ 10
Set Google Cloud project information
/ 15
Build ADK agent
/ 15
Evaluating an ADK agent with Agent Platform Gen AI Evaluation
/ 40
Perform BYOD evaluation of LangGraph agents using GenAI
/ 20
Clean up the experiment
/ 10
Agent Development Kit (ADK) is a modular and extensible open-source framework for building AI agents. While ADK provides its own built-in evaluation module, this lab demonstrates how to use the Agent Platform Generative AI Evaluation Service to assess the performance of an ADK-based agent. This approach offers a broader, explainable, and quality-controlled toolkit to evaluate generative models or applications using custom metrics and human-aligned benchmarks.
In this lab, you will walk through a step-by-step guide to evaluate your ADK agent using Agent Platform Gen AI Evaluation.
This lab is based on this notebook from the GoogleCloudPlatform/generative-ai repo.
In this lab, you learn how to perform the following tasks:
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 pane with the following:
In the Lab Setup section, right-click Open Google Cloud console and select Open link in new window (or alternatively 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 pane.
Click Next.
Copy the Password below and paste it into the Welcome dialog.
You can also find the Password in the Lab Setup pane.
Click Next.
Click through the subsequent pages:
After a few moments, the Google Cloud console opens in this tab.
In the Google Cloud console, from the Navigation menu (), select Agent Platform > Notebooks > Workbench.
Click Enable APIs, and then click Enable to confirm.
Under Instances, click on Open JupyterLab next to your vertex-ai-jupyterlab instance. JupyterLab will launch in a new tab.
On the JupyterLab Launcher page, click Terminal to open a Shell.
Download a notebook and helper file for this lab with the command:
Open the
In the Select Kernel dialog, choose Python 3 (Local) from the list of available kernels.
Run the first code cell under the header Install Agent Development Kit (ADK) and other required packages to install dependencies. To run a cell, click the play button at the top or highlight the cell and press SHIFT+ENTER on your keyboard.
To use the newly installed packages in this Jupyter runtime, you must restart the kernel. Wait for the [*] beside the cell to change to [1] to show that the cell has completed, then in the Jupyter Lab menus, select Kernel > Restart Kernel and Clear Outputs of All Cells....
When prompted to confirm, select Restart.
Once the kernel has restarted, run the next cell under Set Google Cloud project information to set Google Cloud project information and initialize Agent Platform.
Run the next cell in the Import libraries section of the notebook.
Click Check my progress to verify the objectives.
Read and run through the cells of the notebook. In its sections, you will:
get_product_details() and get_product_price() functions that your agent will later use as tools.Click Check my progress to verify the objectives.
Click Check my progress to verify the objectives.
Click Check my progress to verify the objectives.
Click Check my progress to verify the objectives.
You have successfully evaluated an ADK agent using Agent Platform Generative AI Evaluation. You built and executed the agent locally, prepared a custom evaluation dataset, and assessed the agent’s tool usage, action trajectory, and final response quality using built-in evaluation tools.
You evaluated the agent using the following components:
Manual Last Updated August 28, 2026
Lab Last Tested August 28, 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