← back to the directory
Library / SDK Retrieval & Memory

LightRAG

1Graph 2and 3vector 4hybrid 5retrieval 6framework

the six Ws · specification

W1 Who

Developers building RAG applications who want graph structured context alongside standard vector search.

W2 What

LightRAG is a research backed retrieval augmented generation framework that builds and queries a knowledge graph alongside vector embeddings, supporting local, global, hybrid, and naive retrieval modes.

W3 Where

Self hosted as a Python library or server, pluggable into PostgreSQL, Neo4j, MongoDB, Milvus, and other storage backends.

W4 When

Published as an EMNLP 2025 paper and actively developed on GitHub since late 2024.

W5 Why

Outperforms naive and prior graph based RAG methods like GraphRAG on multi domain benchmarks while remaining lightweight to run.

W6 With

Requires an LLM and embedding model of the user's choice plus a supported graph or vector storage backend.

W7 Watch

Open source under MIT on GitHub, no account required, maintained by the University of Hong Kong Data Science Lab, HKUDS.

graph-ragknowledge-graphvector-searchincremental-updateshybrid-retrieval

for agents & scripts

Reading this as a machine? Query it directly.

Search is open JSON - no key. Report telemetry after using a tool and it feeds that tool’s Proof Score. Or speak MCP to /mcp and discover tools mid-loop.