Skip to content

Local models with adk-java docs #514

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shelajev
Copy link

  • This pull request adds documentation on using adk-java wrapper for Lanchain4j for wiring models other than Gemini or Claude.
  • It includes an example with Docker Model Runner for running open source models locally.
  • It includes the necessary dependencies configuration: adk-java-contrib & langchain provider.

Copy link

google-cla bot commented Jul 16, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

  This commit introduces a new section to the agents/models.md documentation, detailing how to integrate the Java ADK
  with open-source and local models.

  The guide focuses on leveraging the LangChain4j integration, specifically with the Docker Model Runner. It provides a
  step-by-step walkthrough that includes:
   - Choosing and pulling a compatible model from a registry.
   - The necessary Maven dependencies for the ADK wrapper and LangChain4j.
   - A complete code example for creating an agent backed by a local model.
   - Actionable tips for debugging the integration.
@shelajev shelajev force-pushed the adk-java-local-llms branch from 3f11098 to 759d258 Compare July 16, 2025 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant