#66th of 42 in Memory

Cognee

Long-term memory engine that builds a knowledge graph from documents, code and sessions

Run it:Vast.ai ↗ (opens in a new tab)RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Releases and problems feed (RSS)

Stars
33.6k
License
Apache-2.0
Last commit
Nov 2026
Last release
Nov 2026
Language
Python
Stars, last 34 weeks+19,149
28 Mar 2026: 14,495 stars4 Apr 2026: 14,708 stars11 Apr 2026: 14,919 stars18 Apr 2026: 16,160 stars25 Apr 2026: 16,571 stars2 May 2026: 16,792 stars9 May 2026: 16,950 stars16 May 2026: 17,083 stars23 May 2026: 17,303 stars30 May 2026: 17,433 stars6 Jun 2026: 17,547 stars13 Jun 2026: 17,658 stars20 Jun 2026: 18,139 stars27 Jun 2026: 23,652 stars4 Jul 2026: 26,372 stars11 Jul 2026: 26,948 stars18 Jul 2026: 27,791 stars25 Jul 2026: 28,924 stars1 Aug 2026: 29,310 stars8 Aug 2026: 29,553 stars15 Aug 2026: 29,777 stars22 Aug 2026: 29,964 stars29 Aug 2026: 30,154 stars5 Sept 2026: 30,338 stars12 Sept 2026: 30,535 stars19 Sept 2026: 30,753 stars26 Sept 2026: 30,932 stars3 Oct 2026: 31,310 stars10 Oct 2026: 31,968 stars17 Oct 2026: 32,473 stars24 Oct 2026: 32,801 stars31 Oct 2026: 33,063 stars7 Nov 2026: 33,249 stars14 Nov 2026: 33,474 stars21 Nov 2026: 33,644 stars

14,495 on 28 Mar 202633,644 on 21 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Cognee is a Python library, CLI and REST API that stores content through remember, recall, improve and forget operations. It builds entities, relationships and vector chunks from text and code, and runs without an LLM key using local GLiNER extraction and a local embedding model. Plugins exist for Claude Code, Codex and OpenClaw, plus an MCP server for other clients.

Who it is for: Developers adding persistent graph-based memory to agents and apps

Ranked among open-source alternatives to Mem (#6 of 10).

Strengths

  • Keyless local mode: GLiNER extraction and local embeddings, no LLM API key required
  • Four-call API (remember, recall, improve, forget) in Python, CLI, REST, TypeScript and Rust
  • Plugins for Claude Code, Codex and OpenClaw, plus an MCP server
  • Imports memory from Mem0, Letta, Zep or Graphiti via the COGX exchange format

Weaknesses

  • Postgres-only graph store is labelled a demo; production version is a licensed product
  • Bundled GLiNER extractor is a demo; the more accurate version requires contacting the vendor
  • Generated answers and media processing need a configured LLM, vision or transcription model
  • Docker defaults to multi-tenant auth; single-user use needs ENABLE_BACKEND_ACCESS_CONTROL=false

What it needs

  • GPU optional
  • Docker + Compose
  • Needs Python 3.10-3.14, Node.js/npm (UI launcher), Docker (MCP service, optional), Postgres (optional)
  • Models: OpenAI, Ollama, GLiNER (local)
  • port 8000

What changed

  1. v1.6.9 ↗ (opens in a new tab)BreakingSecurity fix

    “Slack history import removed: The older Slack history import pathway was dropped and replaced by the new Slack connector and host modules. What this means: if you depended on the old Slack history im…”

    “No new security advisories in this release. Note: Slack integration code was reorganized and signature verification utilities were adjusted as part of the Slack host refactor; if you rely on custom S…”

  2. v1.6.7 ↗ (opens in a new tab)BreakingSecurity fix

    “Stricter ingestion defaults for databases and remote paths: raw database connection strings and server file paths over HTTP are refused by default. Impact: workflows or connectors that previously ing…”

    “Default refusal of database connection strings: raw database connection strings are refused by default to prevent accidental ingestion of credentials. If you intentionally ingest database sources, yo…”

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Known problems

Open now, reported in the last 90 days

Reported, then fixed by a linked change

Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.

Head to head

Also in Memory

See all 42
Also in Memory
RankProjectScore
#4SupermemoryMemory and context engine for AI agents, with user profiles and hybrid search31.8k starsMIT91 out of 100
#5Mem0Long-term memory layer that stores and retrieves user facts for LLM agents Live demo ↗ (opens in a new tab)69.5k starsApache-2.088 out of 100
#7GraphitiPython framework for building temporal knowledge graphs for agent memory33.1k starsApache-2.088 out of 100
#8agentmemoryShared persistent memory server for coding agents, exposed via MCP, hooks and REST30.6k starsApache-2.085 out of 100
#9everosAgent memory runtime that keeps memories as Markdown, indexed in SQLite and LanceDB14k starsApache-2.085 out of 100