{"schemaVersion":1,"id":"lightrag","name":"LightRAG","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/lightrag/","officialUrl":"https://github.com/hkuds/LightRAG","isCatalog":false,"description":"A retrieval framework combining an entity graph and vector search: it adds relationships between documents to LLM context retrieval.","tasks":["Add entity relationships to retrieval","Build relationships and compare retrieved context for reference questions"],"categoryIds":["ai","backend"],"subcategoryIds":["ai.orchestration","backend.api","ai.retrieval"],"tags":["LightRAG","ml","Development"],"aliases":["hkuds/LightRAG","lightrag","light-retrieval-augmented-generation"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"A local code pipeline under MIT; rights for the selected models are checked separately.","paidUsage":"Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights.","license":"MIT for the code; dependencies have separate licenses.","selectionGuide":{"purpose":"Add entity relationships to retrieval","chooseWhen":["Add entity relationships to retrieval","Build relationships and compare retrieved context for reference questions"],"considerInstead":[],"requirements":["Configure LLM/embedding settings in .env and authentication or a local-only bind address before allowing network access."],"limitations":["Costs and limits of free use: Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights.","Terms of use: MIT for the code; dependencies have separate licenses.","Auth configuration without checking the whitelist may leave Ollama-compatible routes open."],"faq":[{"question":"What can you use for free in LightRAG?","answer":"A local code pipeline under MIT; rights for the selected models are checked separately."},{"question":"What additional costs might arise with LightRAG?","answer":"Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights."},{"question":"What terms of use matter for LightRAG?","answer":"MIT for the code; dependencies have separate licenses."},{"question":"How do you get started with LightRAG?","answer":"Prepare documents and choose a graph/vector retrieval pipeline. Build relationships and compare retrieved context for reference questions. Connect the workflow to the application and make errors observable."},{"question":"How can I configure different LLM roles without exposing the LightRAG API without authentication?","answer":"LightRAG separates the LLM roles EXTRACT, QUERY, KEYWORDS, and VLM with independent settings; four chunking strategies are available: Fix, Recursive, Vector, and Paragraph. The server listens on 0.0.0.0 by default. The README requires configuring API keys/accounts or restricting the bind address; Ollama-compatible /api/* routes are excluded from protection by default, and WHITELIST_PATHS=/health is set for them."}],"related":[],"sources":["https://github.com/hkuds/LightRAG","https://raw.githubusercontent.com/hkuds/LightRAG/HEAD/README.md","https://raw.githubusercontent.com/hkuds/LightRAG/HEAD/LICENSE","https://www.open-source-tools.com/","https://raw.githubusercontent.com/HKUDS/LightRAG/HEAD/LICENSE"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Add entity relationships to retrieval.","inputs":["Test documents or tasks, and a quality criterion.","Models, a runtime, and a computing budget."],"steps":["Prepare documents and choose a graph/vector retrieval pipeline.","Build relationships and compare retrieved context for reference questions.","Connect the workflow to the application and make errors observable."],"checks":["Check the result against reference examples and invalid inputs.","Inference costs, model rights, and data handling have been established."]},"sources":["https://github.com/hkuds/LightRAG","https://raw.githubusercontent.com/hkuds/LightRAG/HEAD/README.md","https://raw.githubusercontent.com/hkuds/LightRAG/HEAD/LICENSE","https://www.open-source-tools.com/","https://raw.githubusercontent.com/HKUDS/LightRAG/HEAD/LICENSE"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"AI / ML development tool","kind":"tool","pricingNote":"A local code pipeline under MIT; rights for the selected models are checked separately. Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights.","notes":null,"labeledSources":[{"url":"https://github.com/hkuds/LightRAG","label":"Official source"},{"url":"https://raw.githubusercontent.com/hkuds/LightRAG/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/hkuds/LightRAG/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"},{"url":"https://raw.githubusercontent.com/HKUDS/LightRAG/HEAD/LICENSE","label":"Official source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}