#157 · Primary category: LLM Application Frameworks
langchain-java
Java version of LangChain, while empowering LLM for Big Data.
Project last updated:11/20/25
GitHub Stars
565
Forks
104
Contributors
13
License
Apache-2.0
Why we included this project
Java teams building LLM applications have usually had to reach for Python, since the ecosystem's tooling grew up around it. This project brings the familiar LangChain pieces, prompt templates, chains, chat models, and agents, into idiomatic Java, so a Spring or Spark shop can stay in its existing stack. Its real angle is the Big Data side: it ships toolkits that let an agent query Spark SQL and Flink SQL, which matters for data-platform teams who want natural-language access to their warehouse without standing up a separate Python service. The library covers the expected basics, OpenAI and Azure OpenAI clients, Ollama and ChatGLM for local models, and Pinecone and Milvus vector stores for retrieval. If you are weighing a JVM-native alternative to Python LangChain for RAG, SQL agents, or summarization, the worked examples in the repo give a concrete feel for the API before you commit.
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