{"full_name":"langchain4j/langchain4j","owner":"langchain4j","name":"langchain4j","shard":"1","url":"https://github.com/langchain4j/langchain4j","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.","homepage":"https://docs.langchain4j.dev","topics":["huggingface","java","langchain","openai","chatgpt","gpt","llama","milvus","pinecone","onnx","embeddings","vector-database","chroma","gemini","ollama"],"tag_pages":["chatgpt","embeddings","gemini","gpt","huggingface","java","langchain","llama","milvus","ollama","onnx","openai","pinecone","vector-database"],"language":"Java","license":"Apache-2.0","avatar":"https://avatars.githubusercontent.com/u/132277850?v=4","created_at":"2023-06-20T15:30:29Z","pushed_at":"2026-11-28T07:38:50Z","metrics":{"stars":13454,"forks":2716,"watchers":119,"issues":2814,"prs":4054,"releases":102,"issues_open":746,"issues_closed":2068,"prs_open":469,"prs_closed":732,"prs_merged":2853,"discussions":391},"growth":{"day":{"stars":3,"forks":1,"base_day":"2026-11-27"},"week":{"stars":27,"forks":23,"base_day":"2026-11-21"}},"history":{"dates":["2026-11-20","2026-11-21","2026-11-22","2026-11-23","2026-11-24","2026-11-25","2026-11-26","2026-11-27","2026-11-28"],"stars":[13424,13427,13432,13437,13440,13443,13446,13451,13454],"forks":[2688,2693,2695,2698,2703,2709,2713,2715,2716],"watchers":[118,118,118,119,119,119,119,119,119],"issues_open":[717,722,726,726,727,745,747,746,746],"prs_open":[435,439,445,448,451,458,469,469,469]},"boards":{},"same_owner":[],"issues":[{"number":2328,"title":"Langfuse: implement tracing","comments":47,"created_at":"2024-12-23T10:30:03Z"},{"number":2157,"title":"[BUG] image content seems totally broken on langchain4j<=0.36.1 for anthropic","comments":24,"created_at":"2024-11-21T08:56:38Z"},{"number":4918,"title":"[BUG] SpringRestClient silently uses Apache HttpClient 5, causing streaming tokens to arrive in bursts instead of real-time","comments":19,"created_at":"2026-04-14T13:25:44Z"},{"number":3248,"title":"[FEATURE] LangChain4j Common Guardrails Library","comments":19,"created_at":"2025-06-23T02:14:16Z"},{"number":1848,"title":"[BUG] JsonEOFException : Unexpected end-of-input | AzureOpenAiStreamingChatModel","comments":18,"created_at":"2024-09-27T13:08:54Z"},{"number":4770,"title":"Setup Checkstyle for Static Code Analysis and Maintain consistency over the codebase.","comments":17,"created_at":"2026-03-24T15:17:56Z"},{"number":4559,"title":"[BUG] [FEATURE] Add halfvec and sparsevec support to PGVectorEmbeddingStore","comments":17,"created_at":"2026-02-09T09:02:03Z"},{"number":4316,"title":"[BUG] When using OutputGuardrails the return will not output like streaming","comments":17,"created_at":"2025-12-31T06:54:52Z"}],"discussions":[{"number":7270,"title":"An info-only MCP tool view in LangChain4j: inspect an API before exposing its execution tool","comments":0,"category":"Show and tell","created_at":"2026-11-24T13:27:34Z"},{"number":7223,"title":"Testing LangChain4j text streaming and auth errors against a local coding agent","comments":0,"category":"Show and tell","created_at":"2026-11-21T08:12:19Z"},{"number":7030,"title":"Output guardrails for tool results (indirect prompt injection)","comments":5,"category":"Ideas","created_at":"2026-11-08T21:18:49Z"},{"number":6640,"title":"Non-intrusive tool-call tracing for LangChain4j agents — live SSE traces with zero instrumentation in the tools","comments":0,"category":"Show and tell","created_at":"2026-10-10T16:49:03Z"},{"number":6544,"title":"Dark Data Forensics Vault — Zero-Budget, 100% Air-Gapped Multi-AI Java 21 Stack with In-Process ONNX & Ollama","comments":0,"category":"Show and tell","created_at":"2026-09-29T16:11:06Z"},{"number":6514,"title":"Opt-in CachingEmbeddingModel decorator","comments":0,"category":"Ideas","created_at":"2026-09-26T01:50:45Z"},{"number":6513,"title":"RAG evaluators (answer relevancy, faithfulness) as a reusable API","comments":0,"category":"Ideas","created_at":"2026-09-26T01:32:36Z"},{"number":6479,"title":"Showcasing langchain4j-security-extension: Deterministic Tool Interception, Hard Aborts, and Multi-Tenant RAG","comments":0,"category":"Show and tell","created_at":"2026-09-21T11:35:26Z"}],"latest_release":{"name":"1.24.1 and 1.24.1-beta34","tag":"1.24.1","published_at":"2026-11-27T08:32:30Z","body":"## What's Changed\r\n* Avoid deep regex recursion on long inputs in the prompt injection guardrail and the Azure ACA sessions tool (backport of #7245 to 1.24.x) by @dliubarskyi\r\n* Pass media URLs to the provider instead of downloading them (backport of #7267 to 1.24.x) by @dliubarskyi\r\n* Limit the text extracted by the Apache Tika and PDFBox document parsers (backport of #7271 to 1.24.x) by @dliubarskyi\r\n* Apache PDFBox document parser: a page with more characters than maxCharacters fails early (backport of #7300 to 1.24.x) by @dliubarskyi\r\n* Limit the size, nesting and parse time of SQL metadata filters (backport of #7275 to 1.24.x) by @dliubarskyi\r\n\r\n## Breaking Changes\r\n\r\n- **Media given by URL is no longer downloaded** (#7267). Amazon Bedrock, Ollama and Workers AI image editing reject images and PDF files given by URL with an `UnsupportedFeatureException`. Create the content from a file (`ImageContent.from(Path, String)`, `PdfFileContent.from(Path)`) or from its bytes instead. No integration reads a local file from a `file:` URL or a file path given as URL anymore. Google AI Gemini, Google GenAI and Vertex AI Gemini pass `http` and `https` media URLs on to Gemini, which must be able to reach them.\r\n- **Limits in the Apache Tika and PDFBox document parsers** (#7271, #7300). A document with more than 10,000,000 characters of text (PDFBox: or more than 100,000 characters on one page) fails to parse. Raise or turn off the limits with `ApacheTikaDocumentParser.builder().maxCharacters(-1)` and `ApachePdfBoxDocumentParser.builder().maxCharacters(-1).maxCharactersPerPage(-1)`.\r\n- **Limits in `SqlFilterParser`** (#7275). A filter with more than 100 conditions, nested more than 50 levels deep, that takes longer than 5 seconds to parse, or with `CASE`, `CAST(...)`, a nested `SELECT` or an array is rejected, and `LanguageModelSqlFilterBuilder` then returns no filter. Raise the limits with `SqlFilterParser.builder()`.\r\n\r\n**Full Changelog**: https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-28T10:06:57Z","history_start":"2026-09-06"}