talira

Compare

LightRAGGraphRAGR2RGraphiti
What it isSimple and Fast Retrieval-Augmented GenerationA modular graph-based Retrieval-Augmented Generation (RAG) systemAgentic Retrieval-Augmented Generation (RAG) with a RESTful APIBuild real-time knowledge graphs for AI agents
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.320.420.180.42
Stars——8109—
Last commit——2025-11-07—
LicenceMITMITMITApache-2.0
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostableYesYesYesYes
Ways to run it————
SOC 2————
HIPAA————
SSO————
APIYes—Yes—
Plugins————
MCP server———Yes
CompanyData Intelligence Lab@HKUMicrosoft
public company (NASDAQ:MSFT)
SciPhiZep
venture-backed
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
  • 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
  • REST API with Python (r2r) and JavaScript (r2r-js) SDKs
  • multimodal ingestion: .txt, .pdf, .json, .png, .mp3 and more, or pre-processed chunks
  • hybrid search: pgvector similarity plus Postgres full-text search, fused with reciprocal rank fusion
  • knowledge graphs: automatic entity and relationship extraction per collection, graph communities and GraphRAG search
  • RAG with citations and an agentic RAG endpoint
  • Deep Research API that searches the knowledge base and the web
  • users, superusers, collections and document access control
  • R2R dashboard for documents, collections and searches
  • All 10 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
Limitations
  • 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 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 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