Home/LLM Frameworks/langchain4j
langchain4j logo

langchain4j

langchain4j/langchain4j

Java library for building LLM-powered applications on the JVM

GraphCanon updated 1w · GitHub synced 1w

13k stars2.4k forksLast push 2w Java Apache-2.0

Decision brief

LangChain4j is a Java library for building applications utilizing Large Language Models (LLMs) on the JVM. It provides a unified API over various LLM providers and vector stores to simplify tool calling, agent creation,R

Good fit when

  • If you are working in a Java environment and aim to integrate Large Language Models into your applications
  • For those who prefer idiomatic Java libraries that seamlessly integrate with modern enterprise frameworks like Quarkus or Spring Boot

Avoid when

  • Avoid if your project exclusively uses languages other than Java, as LangChain4j is specifically designed for Java-based projects on the JVM
  • If you require a framework that heavily supports non-JVM based large language models and doesn't integrate well with modern enterprise Java frameworks like Quarkus or Spring Boot

Observed Jul 11, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Very active (1d since push)
As of 1w
Provenance
Not a fork · Organization account
As of 1w
Security (OSV)
No lockfile
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

git clone https://github.com/langchain4j/langchain4j

How it fits your stack(7)

Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

LangChain4j is a Java-based library that enables developers to create applications powered by Large Language Models (LLMs) on the Java Virtual Machine. It provides a unified interface over popular LLM providers and vector stores, facilitating tool calling, agent development, and Retrieval-Augmented Generation (RAG).

Capability facts

Languages
java

Source: github.language · Aug 8, 2026

Categories

Graph entities

Tags

README

Getting Started

Getting started guide can be found here.

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.