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: pathwaycom/serviette leads in total GitHub adoption (★ 58.6k), while HKUDS/LightRAG shows stronger 7-day momentum. Licensing: MIT · Commercial Friendly vs MIT · Commercial Friendly.
Graph-backed RAG for cross-document retrieval and multimodal indexing
Self-hosted RAG with a separate indexer that keeps document answers current
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | HKUDS/LightRAG | pathwaycom/serviette |
|---|---|---|
| Total GitHub Stars | ★ 41,022 | ★ 58,644 |
| 24h / 7d Velocity | +7 / +110 | +0 / +11 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 100/100 | A+ · 88/100 |
| Deployment Signals | Docker · Self-Hosted · API | Self-Hosted · Local AI · CLI · API |
| Primary Language | Python | Python |
| Commercial License | MIT · Commercial Friendly | MIT · Commercial Friendly |
| Activity | Updated today | Updated 23d ago |
| Latest Release | v1.5.8 | v0.1.8 |
| 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 | Teams that need cited Q&A and a retrieval API over frequently changing documents without building their own incremental indexing pipeline |
# 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
/ and a versioned REST API under /api/v1, including POST /api/v1/retrieve.serviette[docling] for layout-aware extraction or serviette[ocr] for scanned images.pip install serviette export PATHWAY_LICENSE_KEY=... # free: https://pathway.com/framework/get-license export OPENAI_API_KEY=sk-... serviette demo --embedder openai # → chat at http://localhost:8989
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy