Cette page est affichée en anglais. Une traduction française est en cours.
SkillsApr 1, 2026·1 min de lecture

LangChain4j — LLM Integration for Java

LangChain4j integrates 20+ LLM providers and 30+ vector stores into Java apps. 11.4K+ stars. Unified API, RAG, MCP, Spring Boot. Apache 2.0.

Introduction

LangChain4j is an open-source Java library for integrating LLMs into Java applications. With 11,400+ GitHub stars and Apache 2.0 license, it provides a unified API across 20+ LLM providers and 30+ embedding/vector stores, comprehensive toolbox (prompt templating, chat memory, function calling, agents, RAG), MCP support, and seamless integration with Spring Boot, Quarkus, Helidon, and Micronaut.

Best for: Java developers building AI-powered enterprise applications Works with: Claude Code, OpenAI Codex, Cursor, Gemini CLI, Windsurf


Key Features

  • 20+ LLM providers unified API
  • 30+ vector/embedding stores
  • Function calling and MCP support
  • RAG patterns built in
  • Spring Boot, Quarkus, Helidon, Micronaut
  • Prompt templating and chat memory

FAQ

Q: What is LangChain4j? A: Java LLM library with 11.4K+ stars. 20+ providers, 30+ vector stores, RAG, MCP, Spring Boot. Apache 2.0.

Q: How do I install LangChain4j? A: Add Maven dependency dev.langchain4j:langchain4j.


🙏

Source et remerciements

langchain4j/langchain4j — 11,400+ GitHub stars

Discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.