Home Projects langchain4j
langchain4j
Java

langchain4j

LangChain4j is an idiomatic, open-source Java library for building LLM-powered applications on the JVM. It offers a unified API over popular LLM providers and vector stores, and makes implementing tool calling (including MCP support), agents and RAG easy. It i

by langchain4j · GitHub
Stars
Forks
License
Created
Last commit
Category
Language
Likely
Self-hostable
anthropicchatgptchromaApache-2.0JavaSelf-hostable
View on GitHub
In plain words

Build applications that use advanced AI tools with a simple and consistent interface in Java.

From the README

Documentation ↗

Excerpts from the project README on GitHub. Copyright and licensing remain with the respective authors.

You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
langchain4j — GitHub preview card
📈 Star history
13.0k12.5k
2026-07-042026-08-31
📈 Track langchain4j

Get an email alert on its next release or when it starts trending — never miss the moment.

Free · no card · unsubscribe anytime
Get email alerts →
📄 About

LangChain4j is an idiomatic, open-source Java library for building LLM-powered applications on the JVM. It offers a unified API over popular LLM providers and vector stores, and makes implementing tool calling (including MCP support), agents and RAG easy. It i

langchain4j has 13k stars on GitHub. It has been forked 2.5k times. langchain4j is written mainly in Java. It has been in active development since 2023. langchain4j is available under the Apache-2.0 license. Its main topics are anthropic, chatgpt, chroma, embeddings.

Frequently asked questions

What is langchain4j?

LangChain4j is an idiomatic, open-source Java library for building LLM-powered applications on the JVM. It offers a unified API over popular LLM providers and vector stores, and makes implementing tool calling (including MCP support), agents and RAG easy. It i

Is langchain4j open source?

langchain4j is an open-source project. It is released under the Apache-2.0 license.

Is langchain4j free?

Yes. langchain4j is free and open source — you can use, modify and self-host it.

What license does langchain4j use?

langchain4j is available under the Apache-2.0 license.

What language is langchain4j written in?

langchain4j is written mainly in Java.

🏅 Maintainer of this project?
olud.ai badge — langchain4j

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![olud.ai](https://olud.ai/badge.php?tool=langchain4j-langchain4j)](https://olud.ai/project/langchain4j-langchain4j.html)
More badge options →
🧬 Shares DNA with🧬 View the DNA map →

Measured from GitHub topics shared by both projects, weighted by how rare each topic is.