Cognee
Cognee is an open-source memory platform that gives AI agents persistent long-term memory across sessions for developers and teams.
What it is good for
- Giving an AI agent memory of past decisions across sessions
- Turning documents and conversations into a searchable knowledge graph
- Keeping shared team knowledge that agents can look up
- Running agent memory on your own machine without paid API keys
At a glance
- Who it is for
- Setup
- Requires programming
Level 5 of 5. You need to write code to use it.
- Cost
- Free and open source
- Type
- Framework or SDK
- Tasks
- Works with
- Claude Code, Codex, OpenClaw, Cursor, Cline, Ollama
Momentum
- Rank this week
- Not ranked (last #36, week 42, 2026)
- Best rank
- #16 week 41, 2026
- GitHub stars
- 32,997
GitHub numbers as of Nov 2, 2026. Updated weekly.
Ranking history
Official links
Setup steps are on the official pages. We do not repeat them here, since they change.
Questions
- Is Cognee free?
- Yes. It is free and open source (Apache-2.0 license).
- Do I need to know how to code to use Cognee?
- Yes. You need to write code to use it.
- What does Cognee work with?
- According to its own documentation, it works with Claude Code, Codex, OpenClaw, Cursor, Cline, and Ollama.
- What is Cognee good for?
- Giving an AI agent memory of past decisions across sessions, turning documents and conversations into a searchable knowledge graph, keeping shared team knowledge that agents can look up, and running agent memory on your own machine without paid API keys.
Similar agents
- Firecrawl
Firecrawl is an API that searches the web and pulls clean page content for AI agents and apps.
- Scrapling
Scrapling is a Python web scraping framework that collects data from websites, including JavaScript-heavy and bot-protected ones, for developers.
- PageIndex
PageIndex is a Python library that helps an LLM find answers in long professional documents by reasoning over a document tree instead of vector search.
- Graphiti
Graphiti is a Python framework that builds memory graphs for AI agents, tracking how facts change over time for developers.
- Haystack
Haystack is a Python framework that helps developers build production LLM apps and agent workflows for search and question answering.
- notebooklm-py
notebooklm-py is an unofficial Python API and agent skill that lets developers and AI agents drive Google Gemini Notebook from code, scripts, and tools like Claude Code.