#25 · Primary category: LLM Application Frameworks
langchain4j
Java library for building LLM-powered applications with unified APIs for LLM providers and vector stores.
Project last updated:08/28/26
GitHub Stars
13.0K
Forks
2.5K
Contributors
475
License
Apache-2.0
Why we included this project
Java teams that want LLM features inside their existing codebase are the audience here, and they don't have to stand up a separate Python service to get them. LangChain4j wraps model providers and vector stores behind one API, so swapping OpenAI for Ollama or moving between embedding stores is a configuration change rather than a rewrite. It also bundles the everyday pieces: prompt templating, chat memory, tool calling with MCP support, and higher-level agent and RAG patterns, packaged to fit naturally into Quarkus and Spring Boot. The bundled examples take you from an empty project to a working prototype quickly, which makes it a reasonable foundation for enterprise Java shops adding conversational or retrieval-augmented features.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
langchain
The agent engineering platform.
dify
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
litellm
The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
llama_index
LlamaIndex is the leading document agent and OCR platform