Vibe Coding Discover

AI Frameworks

langchain4j

View on GitHub

LangChain4j 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.

★ 13K2,575 forksJavaApache-2.0langchain4j

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

Build LLM-powered Java applications with a unified provider APIImplement RAG pipelines over vector stores like Pinecone, Milvus, pgvector, ChromaAdd tool/function calling and MCP servers to Java agentsCreate multi-agent workflows with agentic patterns and A2AAdd chat memory and prompt templating to JVM chatbotsSwap LLM providers or embedding stores without rewriting codeIntegrate AI features into Spring Boot, Quarkus, Helidon, Micronaut appsApply guardrails to LLM inputs/outputs

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