Add long-term memory to a chatbot so it remembers past conversations and company documents.
Build a multi-agent system where agents share a common knowledge graph.
Create an AI assistant that learns from accumulated notes and improves answers over time.
Use session memory for fast caching during a chat then sync to a permanent graph store.
Requires Python 3.10+ and installation via pip, poetry, or uv.
Cognee is an open-source memory layer for AI agents. AI agents are programs that use a large language model to perform tasks on your behalf, and one of their weaknesses is that they tend to forget things between conversations. Cognee fixes that by giving an agent a persistent, shared store of documents, decisions and past workflows that it can recall and connect later, so it answers with proper context instead of starting fresh every time. Under the hood, Cognee combines two ways of finding information. Embeddings, which let it search by meaning rather than by exact keywords, and graphs, which let it track how different pieces of information relate to each other. You feed it data in any format, and it ingests that data into a knowledge graph that keeps evolving as more is added. The library exposes four main operations: remember to save something, recall to query it back, forget to delete data, and improve to refine the stored knowledge. There is also a session memory mode for fast, short-term caching that later syncs to the permanent graph. You can drive Cognee from Python, from a command-line tool called cognee-cli, or through a local UI, and there are ready-made plugins for Claude Code and other agent frameworks. Someone would actually use this if they are building an AI assistant or agent that needs to learn from accumulated company documents, user preferences, or earlier conversations, and want that memory to persist across sessions and be shareable between several agents. The tech stack is Python, supporting versions 3.10 through 3.14, with installation via pip, poetry or uv. The full README is longer than what was provided.
← topoteretes on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.