#6060th of 242 in Agent frameworks and SDKs

langchain4j

Java library for building LLM apps with unified provider and vector store APIs

Stars
13.5k
License
Apache-2.0
Last commit
Nov 2026
Last release
Nov 2026
Language
Java
Stars, last 35 weeks+2,355
25 Mar 2026: 11,100 stars1 Apr 2026: 11,229 stars8 Apr 2026: 11,337 stars15 Apr 2026: 11,450 stars22 Apr 2026: 11,553 stars29 Apr 2026: 11,653 stars6 May 2026: 11,710 stars13 May 2026: 11,836 stars20 May 2026: 11,901 stars27 May 2026: 11,986 stars3 Jun 2026: 12,068 stars10 Jun 2026: 12,154 stars17 Jun 2026: 12,239 stars24 Jun 2026: 12,310 stars1 Jul 2026: 12,375 stars8 Jul 2026: 12,444 stars15 Jul 2026: 12,500 stars22 Jul 2026: 12,568 stars29 Jul 2026: 12,640 stars5 Aug 2026: 12,707 stars12 Aug 2026: 12,770 stars19 Aug 2026: 12,834 stars26 Aug 2026: 12,888 stars2 Sept 2026: 12,942 stars9 Sept 2026: 12,997 stars16 Sept 2026: 13,057 stars23 Sept 2026: 13,103 stars30 Sept 2026: 13,142 stars7 Oct 2026: 13,172 stars14 Oct 2026: 13,214 stars21 Oct 2026: 13,254 stars28 Oct 2026: 13,306 stars4 Nov 2026: 13,352 stars11 Nov 2026: 13,390 stars18 Nov 2026: 13,423 stars25 Nov 2026: 13,455 stars

11,100 on 25 Mar 202613,455 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

LangChain4j is a Java library that puts 20+ LLM providers and 30+ embedding stores behind one API, so providers can be swapped without rewriting code. It covers prompt templating, chat memory, function calling, RAG pipelines and agents, with integrations for Quarkus, Spring Boot, Helidon and Micronaut. It is independent of the Python LangChain project.

Who it is for: Java and JVM developers adding LLMs, RAG or agents to applications

Strengths

  • Unified API across 20+ LLM providers and 30+ embedding stores
  • Integrates with Quarkus, Spring Boot, Helidon and Micronaut
  • Covers prompt templates, chat memory, tool calling, RAG and agents
  • Separate examples repo with plain Java and framework samples

Weaknesses

  • JVM only; no Python or JavaScript support
  • README says some features are still being worked on
  • Quarkus, Helidon and Micronaut support is in separate dependencies
  • Documentation chatbot is marked experimental

What it needs

  • no GPU
  • Needs JVM, LLM provider API
  • Models: OpenAI, Google Vertex AI, Pinecone, Milvus

What changed

  1. “Media given by URL is no longer downloaded (#7267). Amazon Bedrock, Ollama and Workers AI image editing reject images and PDF files given by URL with an UnsupportedFeatureException. Create the conten…”

  2. “Media given by URL is no longer downloaded (#7267). Amazon Bedrock, Ollama and Workers AI image editing reject images and PDF files given by URL with an UnsupportedFeatureException. Create the conten…”

  3. “Media given by URL is no longer downloaded (#7267). Amazon Bedrock, Ollama and Workers AI image editing reject images and PDF files given by URL with an UnsupportedFeatureException. Create the conten…”

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in Agent frameworks and SDKs

See all 242
Also in Agent frameworks and SDKs
RankProjectScore
#58flueTypeScript framework for building autonomous agents with sandboxes, skills and tools8.7k starsApache-2.079 out of 100
#59aurelio-labs/semantic-routerPython library that routes queries to predefined routes by embedding similarity4.1k stars+68 (+1.7%) in 30 daysMIT79 out of 100
#61voltagentTypeScript framework for building multi-agent apps, with a companion observability console Live demo ↗ (opens in a new tab)11k starsMIT78 out of 100
#62spring-aiSpring-style Java API for chat models, embeddings, vector stores and tool calling9.7k starsApache-2.078 out of 100
#63atomic-agentsPython framework for building agents from typed Pydantic input and output schemas6.4k starsMIT78 out of 100