LangChain4j
LLM integration library for Java.
A Java library with a unified API over many model providers and vector stores, AI services, tool calling, agents and RAG; integrates with Quarkus and Spring Boot.
- Vendor
- LangChain4j
- Category
- LLM & RAG frameworks
- Pricing
- Open source
- Open source
- Yes
- License
- Apache 2.0
- Platforms
- Java
- Launched
- 2023
- Website
- docs.langchain4j.dev
Features
- Unified model API
- AI services
- RAG & tools
Best for
- Enterprise
- Chat & assistants
More llm & rag frameworks
- LangChain — LangChain. The most widely used LLM application framework.
- AI SDK — Vercel. The TypeScript toolkit for AI apps.
- LlamaIndex — LlamaIndex. Data framework for RAG and document agents.
- DSPy — Stanford NLP. Program — don’t prompt — language models.
- Haystack — deepset. Production-ready RAG pipelines.
- Instructor — Jason Liu & community. Pydantic-typed structured outputs from any LLM.
- Spring AI — Broadcom (Spring). AI application framework for Java and Spring Boot.
- Outlines — .txt (dottxt). Guaranteed structured generation with regex, JSON Schema and grammars.