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 Custom / Check Repo.
Graph-backed RAG for cross-document retrieval and multimodal indexing
PostgreSQL extension for exact and approximate vector search alongside relational data
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | HKUDS/LightRAG | pgvector/pgvector |
|---|---|---|
| Total GitHub Stars | ★ 41,022 | ★ 23,928 |
| 24h / 7d Velocity | +7 / +110 | +13 / +96 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 100/100 | B+ · 71/100 |
| Deployment Signals | Docker · Self-Hosted · API | Docker · Self-Hosted |
| Primary Language | Python | C |
| Commercial License | MIT · Commercial Friendly | Custom / Check Repo |
| Activity | Updated today | Updated today |
| Latest Release | v1.5.8 | Rolling commits (main) |
| 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 | RAG and semantic search teams already on PostgreSQL that need to retrieve embeddings with document metadata and apply relational filters in one query. Start with exact search and add ANN when measured latency calls for it |
# 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
vector extension per database and query embeddings over existing PostgreSQL connections using SQL.m, ef_construction, and hnsw.ef_search tune graph construction and search.ivfflat.probes controls how many lists a query searches.docker pull pgvector/pgvector:pg19-trixieSignal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy