{"data":{"slug":"hkuds-lightrag","name":"LightRAG","tagline":"[EMNLP2025] Simple and Fast Retrieval-Augmented Generation","github_url":"https://github.com/HKUDS/LightRAG","owner":"HKUDS","repo":"LightRAG","owner_avatar_url":"https://avatars.githubusercontent.com/u/118165258?v=4","primary_language":"Python","stars":38895,"forks":5470,"topics":["docling","genai","gpt","graphrag","knowledge-graph","large-language-models","llm","mineru","rag","ragas","retrieval-augmented-generation"],"archived":false,"github_pushed_at":"2026-08-16T04:12:39+00:00","maintenance_label":"Very active","stars_delta_30d":1156,"url":"https://www.graphcanon.com/tools/hkuds-lightrag","markdown_url":"https://www.graphcanon.com/tools/hkuds-lightrag.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/hkuds-lightrag","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=hkuds-lightrag","description":"[EMNLP2025] LightRAG: Simple and Fast Retrieval-Augmented Generation","homepage_url":"https://arxiv.org/abs/2410.05779","license":"MIT","open_issues":227,"watchers":215,"ai_summary":"LightRAG is a project focused on efficient retrieval-augmented generation methods for large language models, enhancing their performance with additional knowledge.","readme_excerpt":"## Installation\n\n**💡 Using uv for Package Management**: This project uses [uv](https://docs.astral.sh/uv/) for fast and reliable Python package management. Install uv first: `curl -LsSf https://astral.sh/uv/install.sh | sh` (Unix/macOS) or `powershell -c \"irm https://astral.sh/uv/install.ps1 | iex\"` (Windows)\n\n> **Note**: You can also use pip if you prefer, but uv is recommended for better performance and more reliable dependency management.\n>\n> **📦 Offline Deployment**: For offline or air-gapped environments, see the [Offline Deployment Guide](./docs/OfflineDeployment.md) for instructions on pre-installing all dependencies and cache files.\n\n---\n\n### Install LightRAG Server\n\n* Install from PyPI\n\n```bash\n\n---\n\n### Install LightRAG Server as tool using uv (recommended)\nuv tool install \"lightrag-hku[api]\"\n\n---\n\n# Debian / Ubuntu (the official Docker image already includes this)\nsudo apt-get install -y libcairo2\n\n---\n\n# Windows: install the GTK3 runtime, which bundles libcairo-2.dll\n```\n\nDeployments that never process markdown/textpack documents with embedded SVGs can ignore the startup warning.\n\n---\n\n### Install LightRAG SDK\n\n* Install from source code\n\n```bash\ncd LightRAG\n\n---\n\n# 或: pip install -e .\n```\n\n* Install from PyPI\n\n```bash\nuv pip install lightrag-hku","github_created_at":"2024-10-02T11:57:54+00:00","created_at":"2026-07-07T17:31:41.413652+00:00","updated_at":"2026-08-16T12:01:51.270748+00:00","categories":[{"slug":"data-retrieval","name":"Data & Retrieval","url":"https://www.graphcanon.com/categories/data-retrieval","markdown_url":"https://www.graphcanon.com/categories/data-retrieval.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/data-retrieval"},{"slug":"llm-frameworks","name":"LLM Frameworks","url":"https://www.graphcanon.com/categories/llm-frameworks","markdown_url":"https://www.graphcanon.com/categories/llm-frameworks.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/llm-frameworks"}],"tags":[{"slug":"genai","name":"genai"},{"slug":"gpt","name":"gpt"},{"slug":"knowledge-graph","name":"knowledge-graph"},{"slug":"llm","name":"llm"},{"slug":"rag","name":"rag"}],"trust":{"provenance":{"is_fork":false,"github_id":866513204,"owner_type":"Organization","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-08-16T12:01:50.289Z","maintenance":{"label":"Very active","score":96,"methodology":"github_public_v1","releases_90d":9,"days_since_push":0,"last_release_at":"2026-08-06T08:29:47Z","stars_delta_30d":1156,"open_issues_delta_30d":4},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-11T10:57:40.009Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-08-16T12:01:50.959Z"},"deploy":{"source":"dockerfile:Dockerfile","self_host":true,"observed_at":"2026-08-16T12:01:50.959Z","managed_saas":false},"has_cli":{"value":true,"source":"pyproject.toml:[project.scripts]","observed_at":"2026-08-16T12:01:50.959Z"},"languages":{"value":["python"],"source":"github.language+pyproject.toml","observed_at":"2026-08-16T12:01:50.959Z"},"has_docker":{"value":true,"source":"dockerfile:Dockerfile","observed_at":"2026-08-16T12:01:50.959Z"},"license_spdx":{"value":"MIT","source":"github.license","observed_at":"2026-08-16T12:01:50.959Z"}},"decision_facts":{"hosting":null,"pricing":{"model":"freemium","summary":"LightRAG is available under the MIT license and is free to use. Potential paid services or premium features may exist outside of this repository."},"requirements":{"notes":["Requires Python environment compatible with the version supported by LightRAG.","External datasets and relevant APIs may be required for full functionality."],"min_ram_gb":4,"requires_docker":false},"constraints":{"min_ram_gb":4,"pricing_model":"freemium","requires_docker":false},"when_to_use":["- When you need quick integration of external data sources to enrich your model outputs.",",- If your project values simplicity and speed in its implementation of retrieval-augmented generation techniques."],"when_not_to_use":["- If you require a more complex framework offering advanced customization options, LightRAG’s core focus on simplicity might not meet your needs.","- When the nature of your application demands real-time responses without room for the additional latency that might come with retrieval processes, despite being advertised as quick."],"source":"enrich:decision_facts","observed_at":"2026-07-11T12:45:15.017Z"},"constraint_facets":{"min_ram_gb":4,"pricing_model":"freemium","requires_docker":false},"decision_summary":[{"label":"Pricing","value":"freemium - LightRAG is available under the MIT license and is free to use. Potential paid services or premium features may exist outside of this repository."},{"label":"Requirements","value":"Min 4 GB RAM; Requires Python environment compatible with the version supported by LightRAG.; External datasets and relevant APIs may be required for full functionality."},{"label":"Adopt for","value":"LightRAG is a framework designed for efficient retrieval-augmented generation methods, focusing on enhancing the performance of large language models with additional knowledge."}]}}