cognee
View on GitHubCognee is the open-source AI memory platform for agents. Give your AI agents persistent long-term memory across sessions with a self-hosted knowledge graph engine.
Cognee is a self-hosted memory and retrieval platform that turns documents, code, and conversations into searchable knowledge graphs and vector context. Use its Python API, REST API, or MCP server to add persistent memory to agents.
Use Cases
Give agents persistent memory across sessionsBuild a searchable company knowledge graphIngest and retrieve documentation and conversationsIndex code symbols and dependencies for agent tasksDistill session lessons into durable memoryGround answers in domain-specific knowledge
Built With
- Language
- Python
- Frameworks
- LiteLLM · SQLAlchemy · MCP
Tags
agent memory · long-term memory · knowledge graphs · graph RAG · vector search · context engineering · session memory · code ingestion · document ingestion · self-hosted · MCP