Google Agent Development Kit (ADK) Python Cheatsheet
[!IMPORTANT] The full content of this cheatsheet is now available via the
adk_lookuptool. DO NOT guess ADK syntax or patterns. Always search the cheatsheet first.
Usage
- •Browse Topics: Use
adk_list_table_of_contentsto see available sections. - •Search Details: Use
adk_lookup(query="<topic>")to get detailed code examples and explanations.
Common Queries
- •"How do I create a LoopAgent?" ->
adk_lookup("LoopAgent") - •"What is the syntax for LlmAgent?" ->
adk_lookup("LlmAgent") - •"Show me how to use callbacks" ->
adk_lookup("Callbacks") - •"Deployment to Cloud Run" ->
adk_lookup("Cloud Run")
Core Rules
- •Always use
GOOGLE_GENAI_USE_VERTEXAI=True. - •Use
gemini-2.5-flashor higher.