HKUDS/LightRAG

[EMNLP2025] LightRAG: Simple and Fast Retrieval-Augmented Generation

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 1 hour ago
Added to GitGenius on November 25th, 2025
Created on October 2nd, 2024
Open Issues & Pull Requests: 212 (+1)
Number of forks: 5,502
Total Stargazers: 39,132 (+2)
Total Subscribers: 215 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 16.3 hours
Mean response time: 9.9 days
90th percentile: 31.3 days
Tracked items: 1,455

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 95% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 64% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 8% of issues opened in the past year have been closed. Three people close 73% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 197
New in 7 days: 11
Closed in 7 days: 14
Avg open age: 131 days
Stale 30+ days: 174
Stale 90+ days: 138

Recent activity

Opened in 7 days: 11
Closed in 7 days: 12
Comments in 7 days: 18
Events in 7 days: 69

Top labels

  • question (409)
  • bug (375)
  • enhancement (235)
  • Stale (156)
  • tracked (62)
  • discuss (18)
  • backend (15)
  • ui (6)

Detailed Description

LightRAG is a retrieval-augmented generation framework presented at EMNLP 2025 that emphasizes simplicity and speed in knowledge graph-based RAG systems. The repository, maintained by the HKUDS team, implements a dual-level retrieval approach combining vector-based and graph-based methods to enhance both the quality and efficiency of information retrieval for large language models.

The framework is written in Python and distributed via PyPI as the lightrag-hku package.

LightRAG has been classified by GitGenius across multiple domains including RAG Framework, LLM Applications, Generative AI, Information Retrieval, Natural Language Processing, AI Development, Modular Design, Evaluation, Deployment, and Data Processing.

The framework supports multiple storage backends and deployment options. Users can deploy LightRAG via PyPI installation, source installation, or Docker Compose. The repository includes an interactive setup wizard that generates configured environment files and Docker Compose configurations, facilitating both local and cloud deployments. For offline or air-gapped environments, the project provides a dedicated offline deployment guide.

Recent feature additions demonstrate the project's evolution toward comprehensive RAG capabilities. The system now supports multimodal content processing through integration with MinerU and Docling services, four selectable text chunking strategies (Fix, Recursive, Vector, and Paragraph), and role-specific LLM configuration with four distinct roles: EXTRACT, QUERY, KEYWORDS, and VLM. OpenSearch integration provides unified storage backend support, while reranker functionality has been added to boost performance for mixed queries. The framework includes document deletion with automatic knowledge graph regeneration, citation functionality for source attribution, and integration with RAGAS for evaluation and Langfuse for tracing.

Storage flexibility is a key feature, with support for Neo4j, MongoDB, PostgreSQL, and OpenSearch as backend options. The project includes a WebUI for intuitive knowledge graph insertion, querying, and visualization. The framework also supports local deployment of embedding, reranking, and storage backends via Docker, enabling fully self-contained deployments.

The repository maintains active community channels including a Discord server and WeChat group, with documentation available in English, Chinese, and Japanese. The project has spawned related initiatives including RAG-Anything for multimodal RAG, VideoRAG for long-context video understanding, and MiniRAG for simplified RAG with smaller models, indicating a growing ecosystem around the core LightRAG framework.