langchain4j
View on GitHubLangChain4j is an idiomatic, open-source Java library for building LLM-powered applications on the JVM. It offers a unified API over popular LLM providers and vector stores, and makes implementing tool calling (including MCP support), agents and RAG easy. It integrates seamlessly with enterprise Java frameworks like Quarkus and Spring Boot.
LangChain4j is an idiomatic Java library for building LLM-powered JVM apps, with a unified API over 20+ model providers and 30+ embedding stores. It covers tool calling (incl. MCP), agents, RAG pipelines, chat memory and prompt templating, with Spring Boot and Quarkus integrations.
Use Cases
Built With
- Language
- Java
- Frameworks
- Spring Boot · Quarkus · Helidon · Micronaut · Jackson · Maven
Tags
java · jvm · llm · rag · agents · tool-calling · mcp · embeddings · vector-store · chat-memory · prompt-templating · spring-boot · quarkus · embeddings-store · guardrails · ai-orchestration