Cognee
Builds long-term memory for AI agents from documents, code, and conversations, with retrieval over connected information.
Description
Cognee is an open-source memory platform for AI agents. It takes documents, code, and conversation history as input to preserve context across agent sessions. The library builds a knowledge graph and indexes content for retrieval. Developers can store material with remember and retrieve relevant passages with recall through Python or the CLI. A typical use case is to connect internal documentation and prior project decisions to an assistant. Plugins and MCP integrations are available, and local small-model processing can run without a hosted API key. Local models must be downloaded on first use. Generated answers and some media processing require an additional configured model; third-party model usage and hosting may incur costs.