1 of 22

Orchestrating Multi Agent Systems

Thu Ya Kyaw

Senior Developer Relations Engineer

2 of 22

LLM in Action

Prompt

LLM (Gemini)

Response

Hallucination

Google I/O Extended 25

Proprietary & Confidential

3 of 22

AI Agent Evolution

LLM + Prompt

LLM + Retrieval

LLM + Retrieval + Actions

+ Many Tools & Reasoning Loop

Multi Agent Systems

LLM

LLM

RAG

LLM

RAG

Tools

LLM

RAG

Tools

Google I/O Extended 25

Proprietary & Confidential

4 of 22

AI Agent in a nutshell

An application that reasons on how to best achieve a goal based on inputs and tools at its disposal.

3 main components:

  • Model
  • Tools
  • Orchestration

Generative AI Models

(An agent can use multiple models)

APIs

Functions

Databases

Agents

Tools

Profile, goals & instructions

short-term

long-term

Memory

Model based

Reasoning/Planning

(Question Decomp & Reflection)

Orchestration

Google I/O Extended 25

Proprietary & Confidential

5 of 22

Google �Search

Agent

# agent.py

from google.adk.agents import Agent

from google.adk.tools import google_search

root_agent = Agent(

name="google_search_agent",

model="gemini-3-pro-preview",

instruction=(

"You are a helpful agent who helps user with their queries.",

"Use 'google_search' tool to get the latest and accurate information."

),

tools=[google_search]

)

pip install google-adk

adk create agent

6 of 22

Google �Search

Agent

Google AI Studio

# __init__.py

from . import agent

—-------------------------------------------------

# .env

GOOGLE_GENAI_USE_VERTEXAI=FALSE

GOOGLE_API_KEY="replace-with-your-key"

7 of 22

Google �Search

Agent

Vertex AI

# __init__.py

from . import agent

—-------------------------------------------------

# .env

GOOGLE_GENAI_USE_VERTEXAI=TRUE

GOOGLE_CLOUD_PROJECT="your-project-id"

GOOGLE_CLOUD_LOCATION="your-project-location"

8 of 22

goo.gle/adk-foundation

Codelab

9 of 22

goo.gle/adk-using-tools

Codelab

10 of 22

Google I/O Extended 25

Proprietary & Confidential

11 of 22

Google I/O Extended 25

Proprietary & Confidential

12 of 22

Google I/O Extended 25

Proprietary & Confidential

13 of 22

Google I/O Extended 25

Proprietary & Confidential

14 of 22

goo.gle/adk-orch-lab

Notebook

15 of 22

Google Cloud

16 of 22

Google Cloud

17 of 22

goo.gle/adk-mcp-a2a

Codelab

18 of 22

Deploy to Cloud Run

# Deploy to Cloud Run

adk deploy cloud_run \

--project=$GOOGLE_CLOUD_PROJECT \

--region=$GOOGLE_CLOUD_LOCATION \

--service_name=$SERVICE_NAME \

--app_name=$APP_NAME \

--with_ui \

$AGENT_PATH

19 of 22

Deploy to Agent Engine

# Deploy to Agent Engine

adk deploy agent_engine \

--project=$GOOGLE_CLOUD_PROJECT \

--region=$GOOGLE_CLOUD_LOCATION \

--staging_bucket=$STAGING_BUCKET \

--display_name=$APP_NAME \

$AGENT_PATH

20 of 22

Jensen Huang, CEO of NVIDIA

“Everything that moves will be autonomous someday, whether partially or fully.”

Google I/O Extended 25

Proprietary & Confidential

21 of 22

Google I/O Extended 25

Proprietary & Confidential

22 of 22

Google I/O Extended 25

Proprietary & Confidential