# langchain4j/langchain4j

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/langchain4j-langchain4j).**

12,346 stars · 2,307 forks · Java · Apache-2.0

## Links

- GitHub: https://github.com/langchain4j/langchain4j
- Homepage: https://docs.langchain4j.dev
- awesome-repositories: https://awesome-repositories.com/repository/langchain4j-langchain4j.md

## Topics

`anthropic` `chatgpt` `chroma` `embeddings` `gemini` `gpt` `huggingface` `java` `langchain` `llama` `llm` `llms` `milvus` `ollama` `onnx` `openai` `openai-api` `pgvector` `pinecone` `vector-database`

## Description

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.

## Tags

### Part of an Awesome List

- [Artificial Intelligence](https://awesome-repositories.com/f/awesome-lists/ai/artificial-intelligence.md) — Unified APIs for integrating LLMs into applications.
- [Frameworks and Ports](https://awesome-repositories.com/f/awesome-lists/devtools/frameworks-and-ports.md) — Java implementation of the framework.
