LightRAG

Lightweight RAG framework that combines knowledge graphs with vector retrieval for dual-level queries.

Open SourceSelf HostedOffline Capable
0.0 (0)

About

Combining a knowledge graph with vector embeddings, LightRAG answers queries through dual-level retrieval: a local mode that follows entity relationships for specific questions and a global mode that reasons over higher-level themes, with hybrid, naive, and mix strategies rounding out five query modes. The framework from HKU's data intelligence lab positions itself as a lighter, cheaper alternative to Microsoft's GraphRAG, and the approach is documented in an EMNLP 2025 paper. Documents index incrementally without rebuilding the graph, parse through MinerU, Docling, or a native pipeline, and persist across storage backends including PostgreSQL, Neo4j, MongoDB, Milvus, Qdrant, and OpenSearch, with multimodal support for tables, formulas, and images. The lightrag-hku package installs from PyPI on Python 3.10 or newer, and the repository ships a REST API server with a web UI plus Docker Compose deployment. It pairs with OpenAI-compatible APIs or local models through Ollama, carries an MIT license, and has passed 38,000 GitHub stars, making it one of the most adopted open RAG frameworks.

Reviews (0)

Leave a Review

No reviews yet. Be the first to review!

Details

Price
Free
Platform
Local/Desktop
Difficulty
Intermediate (3/5)
License
MIT
Added
Jul 29, 2026

Related Tools

Unified system for large-scale distributed training and inference.

Open SourceSelf HostedOfflineGPU 8GB+
Advanced
0.0 (0)

Guidance language for controlling LLM generation with constraints, grammars, and JSON schemas.

Open SourceSelf HostedOffline
Intermediate
0.0 (0)

Library for easily accessing and processing ML datasets.

Open SourceSelf HostedOffline
Beginner
0.0 (0)

JAX neural network library with PyTorch-like module system.

Open SourceSelf HostedOffline
Advanced
0.0 (0)

High-level deep learning API supporting JAX, TensorFlow, and PyTorch backends.

Open SourceSelf HostedOffline
Easy
0.0 (0)

Gradient boosting library by Yandex with native categorical feature handling.

Open SourceSelf HostedOffline
Easy
0.0 (0)
Browse all AI Frameworks & Libraries tools