L
HKUDS/LightRAG★ 41,022 · Python
Graph-backed RAG for cross-document retrieval and multimodal indexing
MIT · Commercial Friendlyv1.5.8
Side-by-side 2026 comparison in RAG, Data & Memory: HKUDS/LightRAG leads both total GitHub adoption (★ 41k) and recent 7-day momentum. Licensing: MIT · Commercial Friendly vs Apache-2.0 · Commercial Friendly.
Graph-backed RAG for cross-document retrieval and multimodal indexing
Agentic RAG for scientific papers with contextual evidence ranking and inline citations
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | HKUDS/LightRAG | Future-House/paper-qa |
|---|---|---|
| Total GitHub Stars | ★ 41,022 | ★ 9,736 |
| 24h / 7d Velocity | +7 / +110 | +3 / +62 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 100/100 | A+ · 92/100 |
| Deployment Signals | Docker · Self-Hosted · API | CLI · API · Local AI |
| Primary Language | Python | Python |
| Commercial License | MIT · Commercial Friendly | Apache-2.0 · Commercial Friendly |
| Activity | Updated today | Updated 4d ago |
| Latest Release | v1.5.8 | v2026.08.12 |
| Best For | Teams building an internal knowledge API over changing, relationship-rich collections such as manuals or research papers, where cross-document questions and selective updates matter | Research teams and internal knowledge tools that need to question a curated paper collection and trace answers back to cited passages through a CLI or Python API |
# Install LightRAG Server as a tool using uv (recommended) uv tool install "lightrag-hku[api]" # Or using pip inside a virtual environment # python -m venv .venv # source .venv/bin/activate # Windows: .venv\Scripts\activate # pip install "lightrag-hku[api]" # Get the configuration template and edit it (see "Minimum .env Changes" below) curl -O https://raw.githubusercontent.com/HKUDS/LightRAG/main/env.example cp env.example .env lightrag-server
Settings.answer.evidence_k sets the candidate count for re-ranking; disabling evidence_retrieval fetches all chunks instead.hybrid- combines sparse keyword and dense embeddings, while sparse selects keyword embeddings alone.lmi uses LiteLLM for provider access, with separate model settings for generation, summarization, and agent decisions.pip install paper-qa mkdir my_papers curl -o my_papers/PaperQA2.pdf https://arxiv.org/pdf/2409.13740 cd my_papers pqa ask 'What is PaperQA2?'
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy