AI for Developers
LightRAG logo

LightRAG

Visit Website

Lightweight graph-based RAG. It builds a knowledge graph from your documents and uses it alongside vectors. Cheaper to run than Microsoft's GraphRAG.

LightRAG is a knowledge-graph retrieval-augmented generation framework from HKUDS, tied to an EMNLP 2025 paper. It combines a knowledge graph with vector search and offers five query modes, supports incremental updates and document deletion, and parses documents with MinerU, Docling or a native engine.

Storage is pluggable. The defaults are for testing only, and PostgreSQL is recommended for production.

Install with uv tool install "lightrag-hku[api]", set API keys in .env, start lightrag-server and open localhost:9621/webui. Secure the server before exposing it on a network. MIT licensed.

LightRAG reviews

  • No reviews yet.
See something outdated? Suggest an update