langchain4j/langchain4j
Idiomatic open-source Java library for LLM applications
- Chart
- Not on a chart right now
- Stars
- 13.4k
What it is
LangChain4j is an open-source Java library for building LLM-powered applications on the JVM. It provides a unified API across LLM providers and vector stores, along with support for tool calling (including MCP), agents, and RAG.
Who it is for
Java developers building LLM features with enterprise frameworks such as Spring Boot, Quarkus, Helidon, or Micronaut.
Why it is trending
It released versions 1.24.0 and 1.24.0-beta34 on November 18, 2026, and has 13,424 stars on GitHub. Rather than porting Python LangChain, it is designed from the ground up around idiomatic Java conventions.
Main features
- Unified API supporting 20+ LLM providers and 30+ embedding stores
- Built-in abstractions for prompt templating, chat memory, function calling, agents, and RAG
- First-class integrations with Quarkus, Spring Boot, Helidon, and Micronaut
- Idiomatic Java design with type safety, POJOs, annotations, and fluent APIs
Summarized on November 19, 2026 from the README and repository data. It can be wrong; check the source before relying on it. Report a wrong summary