AI Cloud Architect

ADK for Java opening up to third-party language models via LangChain4j integration

GoogleHow-to by Guillaume LaforgeGoogle Developers Blog

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

ADK for Java 0.2.0 lets agents use any model that LangChain4j supports, including OpenAI-compatible APIs, Ollama and Docker Model Runner, alongside the built-in Gemini and Claude integrations.

Who it is for

Java developers building agents with Google's ADK who want to use third-party or local open-weight models.

Key points

  • Integration ships in the google-adk-contrib-langchain4j module, version 0.2.0.
  • Examples use Gemma 3 via Docker Model Runner and Qwen 3 via Ollama.
  • Tool access depends on the model supporting function calling.
  • Release also adds instance-based FunctionTools, chained callbacks and an InMemoryMemoryService.

Timeline

  1. This postADK for Java opening up to third-party language models via LangChain4j integration
  2. Later stepAnnouncing ADK for Java 1.0.0: Building the Future of AI Agents in Java · Google · Announcement