← Discover
Discover · GitHub · Cognee↑ +347 today

Permanent memory to your AI agent

Cognee is an open source platform that provides long-term memory between sessions to artificial intelligence agents. It allows agents to store and retrieve data in a structured way, using a self-hosted knowledge graph engine.

Updates

  • September 19, 2026: Stars 30,711 → 30,830, latest release v1.6.0 (September 18, 2026).
  • September 16, 2026: Stars 30,480 → 30,711, latest release v1.5.4rc1 (September 15, 2026).
  • September 5, 2026: Stars 30,203 → 30,480, latest release v1.5.4 (September 4, 2026).
  • August 24, 2026: Stars 30,190 → 30,203, latest release v1.5.3 (August 23, 2026).

What you get

  • Persistent cross-session long-term memory for agents.
  • Self-hosted knowledge graph engine
  • Contextual learning by combining data sources

Installation

Package installation
uv pip install cognee

Running it

Basic use
cognee-cli remember "Cognee turns documents into AI memory."
Starting the interface
cognee-cli -ui

If you don't write code

🤖 Paste this into your AI agent (Claude Code · Codex · Antigravity)

Using Cognee, I want to store my data in a knowledge graph structure and allow my agent to recall this data by keeping it in its long-term memory. Please create a workflow that will allow me to memorize data with the cognee.remember() function and generate meaningful responses based on this data with cognee.recall().

Related dictionary terms

Who it is forSuitable for developers who want AI agents to learn from past sessions and correlate complex data.
LicenseApache-2.0

Links

TreScout did not build this tool · we found it in GitHub trends and wrote it up. This page describes the repository as of 2026-06-22: The star count and our text belong to that day, the repository may have changed since. Check the repository link for the current state. This page was machine-translated from the Turkish original · the Turkish version prevails.