LightRAG
Graph-based RAG library and server with pluggable storage backends
What it is
A research-originated RAG system that extracts entities and relations into a knowledge graph and combines it with vector retrieval. It ships a Python library, an API server with web UI and several chunking strategies, and recently absorbed multimodal parsing through MinerU or Docling services. For developers exploring graph-enhanced retrieval.
Good for
- Build a knowledge-graph index from documents
- Run a RAG API server with a web UI
- Compare chunking strategies on your corpus
Install or run
uv tool install "lightrag-hku[api]"Command as given in the project README. Read the repository before you run anything on your machine.
What you need
Python with uv; LLM and embedding model access
Sources
- https://github.com/HKUDS/LightRAG (project README, read 10 Nov 2026)
- https://api.github.com/repos/HKUDS/LightRAG (GitHub API, read 13 Nov 2026)
The summary is ours, written from the README. Spotted an error? See how we work.