Cognee

Open-source memory engine that builds knowledge graphs and vector indexes to give AI agents durable memory.

Open SourceSelf HostedOffline Capable
0.0 (0)

About

Persistent memory for AI agents is the problem Cognee tackles, replacing ad hoc RAG stacks with pipelines that turn raw documents, conversations, and files into a queryable knowledge graph paired with vector embeddings. Data moves through modular tasks: content is chunked, entities and relationships are extracted with an LLM, concepts and ontologies are induced, and everything lands in pluggable backends, with support for multiple graph databases, vector stores, and relational stores rather than a fixed stack. Retrieval then combines graph traversal with semantic search, which improves multi-hop questions where plain vector lookup fails. The Python library installs with pip, runs fully self-hosted, and can use local LLMs and embedding models, and integrations exist for agent frameworks including CrewAI, LangGraph, Google ADK, and Claude Code via MCP. Licensed Apache-2.0 with a hosted platform as the paid tier, the project has grown to about 29,500 GitHub stars, and teams adopt it to give assistants durable memory across sessions instead of stateless context windows.

Should you use Cognee?

Pick it when

Use Cognee when an assistant needs memory that persists across sessions over documents and conversations, and you want graph plus vector retrieval on your own choice of databases, fully self-hosted, with local LLMs as an option.

Look elsewhere when

Skip it if you only need to remember user preferences and facts, where Mem0 is simpler, or if facts change and you need a history of what was true when, which Graphiti models explicitly. Ingestion also costs LLM calls per document.

Alternatives to Cognee

  • Graphiti

    Bi-temporal graph that tracks when facts became true and were superseded, better for changing facts, but tied to graph databases like Neo4j or FalkorDB.

  • Mem0

    Lighter memory layer centered on user preferences and facts with a hosted API option, rather than pipelines that turn whole document sets into a graph.

  • LightRAG

    Graph plus vector RAG with a ready REST server and web UI, aimed at question answering over a document corpus rather than per-agent memory.

  • GraphRAG

    Strongest for corpus-wide theme questions via community summaries, but batch indexed and LLM heavy, not built for incremental agent memory.

Reviews (0)

Leave a Review

No reviews yet. Be the first to review!

Details

Price
Freemium
Platform
Local/Desktop
Difficulty
Intermediate (3/5)
License
Apache-2.0
Added
Jul 29, 2026

Tags