LightRAG: the knowledge-graph RAG engine under RAG-Anything, Coeurdar…

A RAG engine from the HKUDS lab (MIT, paper accepted at EMNLP 2025) that maintains a knowledge graph alongside vectors. Where a plain RAG cuts the corpus into chunks and returns the ones nearest a question, this one also extracts entities and the relations between them, then queries both layers together: precise detail comes from the vectors, the wider picture from the graph. It is the layer sitting under RAG-Anything, already in the library: since May 2026 RAG-Anything has been merged into LightRAG, which therefore absorbs rich-document ingestion (images, tables, scanned PDFs). Installed through the lightrag-hku Python package.

Strengths

Limitations

Best for

Official site

View on Coeurdar