Cognee ingests text and code into a searchable graph and vector store agents can remember and recall across sessions. It runs locally without an LLM key using bundled small models.
Overview
Cognee is an agent memory platform that turns documents, code, and conversations into entities, relationships, and chunks stored in a knowledge graph with hybrid retrieval. Python APIs expose remember, recall, improve, and forget operations, plus CLI and REST surfaces for automation.
Without cloud LLM keys, extraction uses a local GLiNER model and local embeddings downloaded on first use. Adding an API key enables generated answers and richer processing stages. Sessions can distill lessons into durable graph entries for later recall.
Integrations include MCP servers, Claude Code and Codex plugins, TypeScript SDK, and connectors for sources such as Google Drive and Gmail. Docker images and compose templates run API, UI, and MCP services on your machines; managed Cognee Cloud is also offered.
Recent releases emphasize keyless text workflows, visualization of large graphs, and optional Postgres-backed storage combining relational metadata, vectors, and graph state in one database for simpler deployments.
Key features
- Graph and vector hybrid retrieval
- Local GLiNER extraction
- Session memory distillation
- MCP and agent plugins
- REST and Python APIs
- Docker compose deployment
- Custom ontologies and data models
- Memory import exchange format
Use cases
- Company-wide agent knowledge base
- Cross-session coding agent memory
- Domain-grounded question answering
- On-prem agent memory compliance
- Migrating from other memory tools