Skip to content
DnsLister Forum

Where domain hunters compare notes

Cognee: The Free Open-Source AI Memory Platform for Agents (31k stars)

What it does

All text below is quoted directly from the project README.

Cognee is a free open-source AI memory platform that gives AI agents persistent long-term memory across sessions. Turn documents, code, and conversations into a self-hosted knowledge graph your agents can search and reuse.

Runs locally for free — no API key required. We rely on free small models that use your CPU.

When to use Cognee:

  • Build a Company Brain. Bring documentation, conversations, tickets, code, and agent work into shared memory. Help your team and agents connect a decision to the discussion and implementation behind it.
  • Give agents memory across runs. Retain project context, past decisions, fixes, and learned rules. Distill useful session lessons into durable knowledge that another session can retrieve.
  • Ground agents in your domain. Structure memory around the entities and relationships your application needs, with custom data models and ontologies.

How Cognee works:

Cognee builds connected memory from different sources. Text becomes entities, relationships, and searchable chunks; code becomes a graph of symbols and dependencies. Session distillation curates accepted lessons into permanent memory.

  • remember: Store content or code in permanent memory, or in a session when a session ID is supplied.
  • recall: Retrieve context and answers, using automatic routing or a chosen search strategy.
  • improve: Enrich memory, apply feedback, and bridge session knowledge into the graph.
  • forget: Remove a specific item or dataset.

Text ingestion, retrieval, and session storage work without an LLM. LLM-dependent improvement stages skip automatically.

Repository

https://github.com/topoteretes/cognee

Repository stats

Metric Value
Stars 31,373
Forks 3,193
Last release 2026-09-29
Languages Python 86.7%, TypeScript 11.7%, JavaScript 1.1%
Contributors 307
AI contributor accounts (Claude / Codex / Cursor / Copilot) None
AI co-authored commits Claude: 1,187, Cursor: 28, Copilot: 14

Main contributor

Field Value
Name Igor Ilic
GitHub @dexters1
Commits to this repo 2,983 (top contributor)
Bio Building memory for AI Agents with cognee.ai
Company Cognee
Location Berlin
Website cognee.ai
Followers 112
Public repos 9
On GitHub since 2017-08-11

https://i.redd.it/60elzedg8pth1.png

Source: r/BestGitHubRepos · by /u/company_url_finder

Leave a Reply

Your email address will not be published. Required fields are marked *