Cognee
An open-source memory platform that turns documents, code and conversations into a knowledge graph for agents.
Sources and review
Checked against public documentation on . Suitability guidance is our editorial judgment; this is not a performance benchmark or an endorsement.
Agents whose memory should be structured around entities and relationships rather than a flat vector store.
About Cognee
Cognee gives AI agents persistent long-term memory by turning documents, code and conversations into a self-hosted knowledge graph they can search and reuse across sessions. It can start locally without an OpenAI or Anthropic key, using local extraction and embedding models, supports custom data models and ontologies, and targets uses from a shared company-wide memory to memory that carries between agent runs.
Cognee is an open-source project written primarily in Python, with 31k stars on GitHub. It was last updated in September 2026.
uv pip install "cognee[gliner]"