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
Embedded Rust memory for AI agents, with retrieval indexes in one portable file
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | HKUDS/LightRAG | memvid/memvid |
|---|---|---|
| Total GitHub Stars | ★ 41,022 | ★ 17,448 |
| 24h / 7d Velocity | +7 / +110 | +1 / +14 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 100/100 | B+ · 67/100 |
| Deployment Signals | Docker · Self-Hosted · API | Self-Hosted · Local AI |
| Primary Language | Python | Rust |
| Commercial License | MIT · Commercial Friendly | Apache-2.0 · Commercial Friendly |
| Activity | Updated today | Updated 4mo ago |
| Latest Release | v1.5.8 | v2.0.140 |
| 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 | Offline knowledge assistants, per-workspace codebase retrieval, or long-running agents whose memory should persist across sessions and move as a single artifact |
# 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
.mv2 file holds a 4 KB header, an embedded 1–64 MB WAL, compressed frames, enabled indexes, and a footer table of contents.put followed by commit defines the documented ingestion workflow.lex enables Tantivy BM25, vec enables HNSW similarity search, and temporal_track adds natural-language date parsing.api_embed provides an optional OpenAI path, and set_vec_model persists the index's model binding.cargo buildSignal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy