Other models
ADK is not tied to Gemini. Compare the three ways a model setting becomes a real connection, a direct string, the LiteLlm connector and a Gemini class pointed at a local server, using Claude, Ollama and LiteRT-LM.
10 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 10 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