| Features | - standard indexing: LLM entity, relationship and claim extraction, entity and relationship summaries, community reports
- FastGraphRAG indexing: NLTK or spaCy noun phrases and co-occurrence edges, LLM only for community reports
- Leiden hierarchical community detection
- query methods: global, local, DRIFT and basic search
- bring your own graph: summarise and query existing entity and relationship tables
- prompt tuning for your domain (
graphrag prompt-tune) - LLM access through LiteLLM (100+ models with structured output); separate models for indexing and query
- vector stores: LanceDB (default), Azure AI Search, Azure Cosmos DB
- All 11 features
| - dual-level retrieval over a knowledge graph and vector embeddings
- query modes: local, global, hybrid, naive and mix (default), with optional reranking
- no community reports: fewer LLM calls than GraphRAG at index and query time, per its README
- incremental inserts and selective deletion, rebuilding affected entities from the LLM cache
- role-specific models: extraction, query, keyword and vision LLMs configured separately
- LightRAG Server: web UI (admin console and query-only workspace), REST API and Ollama-compatible chat API
- storage: JSON/NanoVectorDB/NetworkX/Faiss files, PostgreSQL, MongoDB, OpenSearch, Redis, Neo4j, Memgraph, Milvus, Qdrant
- document parsing with MinerU, Docling or the native parser; images, tables and formulas linked into the graph
- All 12 features
| - bi-temporal facts with validity windows; contradicted facts are invalidated, not deleted
- episodes as provenance: every entity and fact traces back to its source data
- prescribed ontology with Pydantic entity and edge types, or learned structure
- incremental graph construction without batch recomputation
- hybrid retrieval: semantic embeddings, BM25 keyword search and graph traversal, with graph-distance reranking
- backends: Neo4j 5.26, FalkorDB (including an embedded FalkorDB Lite) and Amazon Neptune with OpenSearch Serverless
- LLM providers: OpenAI, Azure OpenAI, Anthropic, Gemini, Groq, and OpenAI-compatible or local servers such as Ollama and vLLM
- SEMAPHORE_LIMIT setting for ingestion concurrency against LLM rate limits
- All 9 features
| - remember, recall, improve and forget operations, with session memory and permanent memory
- keyless mode: local GLiNER entity extraction and local embeddings, no LLM key needed for ingestion and retrieval
- graph stores: Neo4j, Amazon Neptune, Neptune Analytics, Memgraph, Ladybug
- vector stores: LanceDB, PGVector, ChromaDB, Neptune Analytics; community adapters for Qdrant, Redis, FalkorDB
- relational metadata in SQLite or Postgres; whole memory layer on one Postgres instance (demo in the open source edition)
- LLMs: OpenAI, Azure OpenAI, Gemini, Anthropic, Mistral, Bedrock, Ollama, llama.cpp and custom endpoints
- custom data models and ontologies
- code graphs of symbols and dependencies
- All 12 features
|
| Limitations | - Doesn't take new features: Microsoft says the project is largely in maintenance mode, with bug fixes and dependency updates only
- Doesn't include LazyGraphRAG: Microsoft offers it in Microsoft Discovery and Azure Local; the library has the Standard and Fast methods
- Doesn't index cheaply by default: standard indexing prompts the LLM for extraction, summaries and community reports, and the docs warn it's expensive
| - Doesn't build its knowledge graph without an LLM: entity and relation extraction makes one LLM call per text chunk
- Doesn't suit production on its default storage: the in-memory JSON, NanoVectorDB and NetworkX stores are for testing only
- Doesn't secure its server by default: lightrag-server listens on all interfaces with authentication off
| - Doesn't build its graph without an LLM: each ingested episode goes through LLM extraction (OpenAI by default), and it works best with models that support structured output
- Doesn't store graphs in Postgres or SQLite: it needs Neo4j, FalkorDB or Amazon Neptune
- Doesn't include a production server: its MCP and REST servers are reference implementations with no authentication or authorization
| - Doesn't write generated answers without an LLM: with no key it returns retrieved passages, and vision or transcription needs a model too
|