Skip to content

Instantly share code, notes, and snippets.

@marttp
Created June 20, 2025 02:17
Show Gist options
  • Save marttp/0b2973150f64326446facbfc6a0e3670 to your computer and use it in GitHub Desktop.
Save marttp/0b2973150f64326446facbfc6a0e3670 to your computer and use it in GitHub Desktop.
from google.adk.agents import Agent
from google.adk.tools import google_search
root_agent = Agent(
model="gemini-2.0-flash-exp",
name="question_answer_agent",
description="A helpful assistant agent that can answer questions.",
instruction="""Respond to the query using google search""",
tools=[google_search],
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment