[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-4068":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":24,"topics":25,"createdAt":9,"pushedAt":9,"updatedAt":46,"readmeContent":47,"aiSummary":48,"trendingCount":15,"starSnapshotCount":15,"syncStatus":49,"lastSyncTime":50,"discoverSource":51},4068,"langchain4j","langchain4j\u002Flangchain4j","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.","https:\u002F\u002Fdocs.langchain4j.dev",null,"Java",12289,2297,115,596,0,15,79,340,71,120,"Apache License 2.0",false,"main",true,[26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],"anthropic","chatgpt","chroma","embeddings","gemini","gpt","huggingface","java","langchain","llama","llm","llms","milvus","ollama","onnx","openai","openai-api","pgvector","pinecone","vector-database","2026-06-12 04:00:21","# LangChain4j: idiomatic, open-source Java library for building LLM-powered applications on the JVM\n\n[![Build Status](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002Flangchain4j\u002Flangchain4j\u002Fmain.yaml?branch=main&style=for-the-badge&label=CI%20BUILD&logo=github)](https:\u002F\u002Fgithub.com\u002Flangchain4j\u002Flangchain4j\u002Factions\u002Fworkflows\u002Fmain.yaml)\n[![Nightly Build](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002Flangchain4j\u002Flangchain4j\u002Fnightly_jdk17.yaml?branch=main&style=for-the-badge&label=NIGHTLY%20BUILD&logo=github)](https:\u002F\u002Fgithub.com\u002Flangchain4j\u002Flangchain4j\u002Factions\u002Fworkflows\u002Fnightly_jdk17.yaml)\n[![CODACY](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FCodacy-Dashboard-blue?style=for-the-badge&logo=codacy)](https:\u002F\u002Fapp.codacy.com\u002Fgh\u002Flangchain4j\u002Flangchain4j\u002Fdashboard)\n\n[![Discord](https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F1156626270772269217?logo=discord&style=for-the-badge)](https:\u002F\u002Fdiscord.gg\u002FJzTFvyjG6R)\n[![BlueSky](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F@langchain4j-follow-blue?logo=bluesky&style=for-the-badge)](https:\u002F\u002Fbsky.app\u002Fprofile\u002Flangchain4j.dev)\n[![X](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F@langchain4j-follow-blue?logo=x&style=for-the-badge)](https:\u002F\u002Fx.com\u002Flangchain4j)\n[![Maven Version](https:\u002F\u002Fimg.shields.io\u002Fmaven-central\u002Fv\u002Fdev.langchain4j\u002Flangchain4j?logo=apachemaven&style=for-the-badge)](https:\u002F\u002Fsearch.maven.org\u002F#search|gav|1|g:\"dev.langchain4j\"%20AND%20a:\"langchain4j\")\n\n\n## Introduction\n\nWelcome!\n\nThe goal of LangChain4j is to simplify integrating LLMs into Java applications.\n\nHere's how:\n1. **Unified APIs:**\n   LLM providers (like OpenAI or Google Vertex AI) and embedding (vector) stores (such as Pinecone or Milvus)\n   use proprietary APIs. LangChain4j offers a unified API to avoid the need for learning and implementing specific APIs for each of them.\n   To experiment with different LLMs or embedding stores, you can easily switch between them without the need to rewrite your code.\n   LangChain4j currently supports [20+ popular LLM providers](https:\u002F\u002Fdocs.langchain4j.dev\u002Fintegrations\u002Flanguage-models\u002F)\n   and [30+ embedding stores](https:\u002F\u002Fdocs.langchain4j.dev\u002Fintegrations\u002Fembedding-stores\u002F).\n2. **Comprehensive Toolbox:**\n   Since early 2023, the community has been building numerous LLM-powered applications,\n   identifying common abstractions, patterns, and techniques. LangChain4j has refined these into practical code.\n   Our toolbox includes tools ranging from low-level prompt templating, chat memory management, and function calling\n   to high-level patterns like Agents and RAG.\n   For each abstraction, we provide an interface along with multiple ready-to-use implementations based on common techniques.\n   Whether you're building a chatbot or developing a RAG with a complete pipeline from data ingestion to retrieval,\n   LangChain4j offers a wide variety of options.\n3. **Numerous Examples:**\n   These [examples](https:\u002F\u002Fgithub.com\u002Flangchain4j\u002Flangchain4j-examples) showcase how to begin creating various LLM-powered applications,\n   providing inspiration and enabling you to start building quickly.\n\nLangChain4j began development in early 2023 amid the ChatGPT hype.\nWe noticed a lack of Java counterparts to the numerous Python and JavaScript LLM libraries and frameworks,\nand we had to fix that!\n\n**Despite the name, LangChain4j is not a Java port of LangChain (Python) — it is built for Java, not ported to it.**\nIt is an idiomatic Java library designed from the ground up around Java conventions:\ntype safety, POJOs, annotations, interfaces, dependency injection, fluent APIs, and first-class integrations with Quarkus, Spring Boot, Helidon, and Micronaut.\nIts API, internals, and release cycle are independent of the Python LangChain project.\n\nWe actively monitor community developments, aiming to quickly incorporate new techniques and integrations,\nensuring you stay up-to-date.\nThe library is under active development. While some features are still being worked on,\nthe core functionality is in place, allowing you to start building LLM-powered apps now!\n\n\n## Documentation\nDocumentation can be found [here](https:\u002F\u002Fdocs.langchain4j.dev).\n\nThe documentation chatbot (experimental) can be found [here](https:\u002F\u002Fchat.langchain4j.dev\u002F).\n\n\n## Getting Started\nGetting started guide can be found [here](https:\u002F\u002Fdocs.langchain4j.dev\u002Fget-started).\n\n\n## Code Examples\nPlease see examples of how LangChain4j can be used in [langchain4j-examples](https:\u002F\u002Fgithub.com\u002Flangchain4j\u002Flangchain4j-examples) repo:\n- [Examples in plain Java](https:\u002F\u002Fgithub.com\u002Flangchain4j\u002Flangchain4j-examples\u002Ftree\u002Fmain\u002Fother-examples\u002Fsrc\u002Fmain\u002Fjava)\n- [Examples with Quarkus](https:\u002F\u002Fgithub.com\u002Fquarkiverse\u002Fquarkus-langchain4j\u002Ftree\u002Fmain\u002Fsamples) (uses [quarkus-langchain4j](https:\u002F\u002Fgithub.com\u002Fquarkiverse\u002Fquarkus-langchain4j) dependency)\n- [Example with Spring Boot](https:\u002F\u002Fgithub.com\u002Flangchain4j\u002Flangchain4j-examples\u002Ftree\u002Fmain\u002Fspring-boot-example\u002Fsrc\u002Fmain\u002Fjava\u002Fdev\u002Flangchain4j\u002Fexample)\n- [Examples with Helidon](https:\u002F\u002Fgithub.com\u002Fhelidon-io\u002Fhelidon-examples\u002Ftree\u002Fhelidon-4.x\u002Fexamples\u002Fintegrations\u002Flangchain4j) (uses [io.helidon.integrations.langchain4j](https:\u002F\u002Fmvnrepository.com\u002Fartifact\u002Fio.helidon.integrations.langchain4j) dependency)\n- [Examples with Micronaut](https:\u002F\u002Fgithub.com\u002Fmicronaut-projects\u002Fmicronaut-langchain4j\u002Ftree\u002F0.3.x\u002Fdoc-examples\u002Fexample-openai-java) (uses [micronaut-langchain4j](https:\u002F\u002Fmicronaut-projects.github.io\u002Fmicronaut-langchain4j\u002Flatest\u002Fguide\u002F) dependency)\n\n## Useful Materials\nUseful materials can be found [here](https:\u002F\u002Fdocs.langchain4j.dev\u002Fuseful-materials).\n\n\n## Get Help\nPlease use [Discord](https:\u002F\u002Fdiscord.gg\u002FJzTFvyjG6R) or [GitHub discussions](https:\u002F\u002Fgithub.com\u002Flangchain4j\u002Flangchain4j\u002Fdiscussions)\nto get help.\n\n\n## Request Features\nPlease let us know what features you need by [opening an issue](https:\u002F\u002Fgithub.com\u002Flangchain4j\u002Flangchain4j\u002Fissues\u002Fnew\u002Fchoose).\n\n\n## Contribute\nContribution guidelines can be found [here](https:\u002F\u002Fgithub.com\u002Flangchain4j\u002Flangchain4j\u002Fblob\u002Fmain\u002FCONTRIBUTING.md).\n","LangChain4j 是一个开源的 Java 库，旨在简化在 JVM 上构建基于大语言模型（LLM）的应用程序。它提供了一个统一的 API 接口，支持超过 20 种流行的 LLM 提供商和 30 多种向量存储解决方案，使得开发者可以轻松切换不同的 LLM 和向量数据库而无需重写代码。此外，该库还集成了工具调用、代理以及检索增强生成（RAG）等高级功能，并且能够无缝对接如 Quarkus 和 Spring Boot 这样的企业级 Java 框架。适用于需要快速集成先进自然语言处理能力的各种应用场景，特别是那些希望利用多源 LLM 和向量数据库优势的企业级项目。",2,"2026-06-11 02:58:14","top_language"]