#4343rd of 48 in Agent frameworks and SDKs

langchain4j

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

Stars
13.2k
License
Apache-2.0
Last commit
Oct 2026
Last release
Oct 2026
Language
Java

Missed the latest GitHub check; these facts may be older.

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

Also in Agent frameworks and SDKs

See all 48
Also in Agent frameworks and SDKs
RankProjectScore
1ppt-masterAgent skill that turns documents into natively editable PowerPoint decks Live demo ↗ (opens in a new tab)62.1k starsMIT93 out of 100
2browser-usePython library that lets an LLM agent control a web browser Live demo ↗ (opens in a new tab)118k starsMIT89 out of 100
3langchainPython framework for building LLM agents and apps from interoperable components147.8k starsMIT88 out of 100
#4tradingagentsLangGraph multi-agent framework simulating a trading firm to analyze tickers Live demo ↗ (opens in a new tab)111.2k starsApache-2.088 out of 100
#5copilotkitSDK for adding agent chat, generative UI and shared state to apps38k starsMIT87 out of 100