talira

Compare

GraphRAGLightRAGGraphitiCognee
What it isA modular graph-based Retrieval-Augmented Generation (RAG) systemSimple and Fast Retrieval-Augmented GenerationBuild real-time knowledge graphs for AI agentsThe open-source AI memory platform for agents
KindOpen sourceOpen sourceOpen sourceOpen core
Trust0.420.320.420.58
Stars————
Last commit————
LicenceMITMITApache-2.0Apache-2.0
PricingFree and open sourceFree and open sourceFree and open sourceFree tier, from $99/month
Free tierYesYesYesYes
Self-hostableYesYesYesYes
Ways to run it———
  • Cognee (open source) (self-hosted, Apache-2.0): free
    You arrange: an LLM API key or local Ollama for generated answers, graph, vector and relational stores for production (Neo4j or Postgres, LanceDB or PGVector), authentication and persistent storage for a multi-user API
  • Cognee Cloud: Standard $0/month (100M tokens, then $0.10 per 1M); Premium $99/month plus tokens; Enterprise contact sales
  • Cognee Enterprise (BYOC) (self-hosted, proprietary): contact sales
    You arrange: your own cloud account
SOC 2————
HIPAA————
SSO————
API—Yes—Yes
Plugins———Yes
MCP server——YesYes
CompanyMicrosoft
public company (NASDAQ:MSFT)
Data Intelligence Lab@HKUZep
venture-backed
Cognee
venture-backed
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