Gemini models in ADK
Follow one model string from your agent to Gemini. See how a .env file picks the Gemini API or Agent Platform, and how retry options carry a turn through a 429 error.
8 minPro
Checking your access…
Inside this lesson
- An animation you play, pause and step through, with each part saying what it is doing.
- The real code beside it, with the lines for each step lit up.
- Practice mode, where you route each message yourself, and a short quiz.
- About 8 minutes.
Written from the official documentation
In this module: Agents and models
- LLM agentsInstruction, description, model, output schema and output_key.Pro
- Gemini models in ADKChoosing and configuring Gemini.Pro
- Other modelsClaude, Gemma, LiteLLM, Ollama, vLLM, OpenAI, LiteRT-LM.Pro
- Model routing and AI gatewaysRouting between models; Apigee AI Gateway.Pro
- Managed agents and service registrationManaged agents, and plugging in your own session and memory backends.Pro