#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.
- Stars
- 33.6k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Python
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
“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…”
“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
- [Bug]: delete_dataset() fails in non-"public" postgres schema ↗ (opens in a new tab)1 reactions · closed 5 Apr 2026Fixed by fix: use ORM-based delete in delete_dataset() for non-public schema support ↗ (opens in a new tab)
- [Bug]: embedding API returns 422 - invalid input ↗ (opens in a new tab)1 reactions · closed 30 Mar 2026Fixed by Fix #2191: sanitize embedding inputs before API call ↗ (opens in a new tab)
- [Bug]: run_migrations.py uses bare "python" instead of sys.executable, breaks in venv on Windows ↗ (opens in a new tab)1 reactions · closed 23 Mar 2026Fixed by fix(migrations): use sys.executable instead of bare 'python' in subprocess call ↗ (opens in a new tab)
- Neo4j adapter should fail explicitly on incomplete credentials instead of silent fallback ↗ (opens in a new tab)1 reactions · closed 16 Mar 2026Fixed by Neo4j adapter should fail explicitly on incomplete credentials ↗ (opens in a new tab)
- Fix mutable default arguments in function signatures ↗ (opens in a new tab)1 reactions · closed 14 Mar 2026Fixed by fix: replace mutable default arguments with None ↗ (opens in a new tab)
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| Rank | Project | Score |
|---|---|---|
| #4 | SupermemoryMemory and context engine for AI agents, with user profiles and hybrid search | 91 out of 100 |
| #5 | Mem0Long-term memory layer that stores and retrieves user facts for LLM agents | 88 out of 100 |
| #7 | GraphitiPython framework for building temporal knowledge graphs for agent memory | 88 out of 100 |
| #8 | agentmemoryShared persistent memory server for coding agents, exposed via MCP, hooks and REST | 85 out of 100 |
| #9 | everosAgent memory runtime that keeps memories as Markdown, indexed in SQLite and LanceDB | 85 out of 100 |