Cognee is the open-source AI memory platform for agents. Give your AI agents persistent long-term memory with small models for free
About Cognee
Cognee is an open-source memory layer for AI agents. It turns documents, conversations and other data into a knowledge graph and keeps it alongside vector search, so an agent can remember facts across sessions and find connected information that plain similarity search would miss.
The Python SDK is built around a few simple operations: add data, build the graph, and search. Newer releases describe a four-step flow of remember, recall, forget and improve. Retrieval combines graph traversal with vector similarity in one layer, and a short-term session memory is kept in a fast cache for the current conversation before it is merged into the permanent graph.
Cognee can be self-hosted, with data stored locally by default, or used through Cognee Cloud. It has a plugin for Claude Code that records tool calls as session memory. The open-source version supports ontologies you define yourself, and automatic ontology generation is part of the commercial offer.
Key features
- Knowledge graph memory for agents
- Hybrid retrieval with graph traversal and vector search
- Simple add, cognify and search interface
- Short-term session memory and a permanent graph
- Self-hosted with local storage by default
- Cognee Cloud for managed hosting
- Claude Code memory plugin
- Apache 2.0 licence
Links
All content and agents from Cognee
Frequently asked questions about Cognee
- What is Cognee?
- Cognee is the open-source AI memory platform for agents. Give your AI agents persistent long-term memory with small models for free. It is listed on botshub under agent infrastructure and tools.
- Is Cognee free or open source?
- Cognee is tagged as open source on botshub. Check the official site for current terms.
- What can Cognee do?
- Key features include knowledge graph memory for agents, hybrid retrieval with graph traversal and vector search, simple add, cognify and search interface, short-term session memory and a permanent graph and self-hosted with local storage by default.
- What are alternatives to Cognee?
- Other agent infrastructure and tools on botshub include Agent Reach, ai-artifacts, CopilotKit and Crawl4AI. See all alternatives to Cognee.
