An ADK Java agent powered by Gemma 4
Today, DeepMind announced the release of Gemma 4, a very impressive and powerful new version of the Gemma family of models. As I’ve been contributing to ADK Java a fair bit recently, I was curious to see how I would configure ADK Java agents to work with Gemma 4.
In this article, we’ll explore two paths:
- Calling the AI Studio API surface directly,
- Calling Gemma 4 hosted via a vLLM instance thanks to the LangChain4j bridge.
With the appropriate model weights format, we’ll also be able to run Gemma 4 locally via Ollama. But that’s for another day.
Read more...