LightRAG
Graph-plus-vector RAG framework from HKU with a server, web UI and Ollama-compatible API; pluggable storage backends.
Tags
Description
LightRAG (EMNLP 2025) builds a knowledge graph and vector index from documents and retrieves over both. It includes lightrag-server with a web UI and an Ollama-compatible API, document deletion with graph regeneration, rerankers, citations, selectable chunking strategies, per-role LLM settings, and multimodal parsing (RAG-Anything merged in, via MinerU/Docling). Storage backends include PostgreSQL, MongoDB, OpenSearch and others. Integrates RAGAS for evaluation and Langfuse for tracing. Latest release v1.5.7 (Sep 2026). lightrag-server binds to 0.0.0.0 by default and is unauthenticated unless LIGHTRAG_API_KEY or AUTH_ACCOUNTS is set (env.example warns to set one before exposing it). The repo ships no MCP server.
Agent access
Related
- Graphiti: Zep's open-source framework for building real-time knowledge graphs for AI agents.
- Cognee: Open-source AI memory platform for agents that turns documents and conversations into graph, vector and relational memory.
- Ragas: Open-source evaluation toolkit for LLM apps and agents: LLM-based and traditional metrics for RAG and agent workflows, plus automatic test-set generation.
- Langfuse: Open-source agent evals and observability platform: trace, evaluate and improve LLM applications and agents.
Guides & comparisons
- Research memory libraries compared: A-MEM vs MemoryOS vs MemOS vs LightRAG (Comparison): Four open-source memory systems that started as research papers. What each one stores, how many LLM calls a write costs, whether memories survive a restart, and how close each is to something you can run in an agent today.
Sources
- https://github.com/HKUDS/LightRAG
- https://arxiv.org/abs/2410.05779
- https://github.com/HKUDS/LightRAG/blob/main/env.example
Machine-readable
- JSON
- Markdown
- Source file on GitHub (edit via pull request)