Cognee
Cognee is an open-source agent memory platform that turns documents, code and conversations into a knowledge graph agents can search, self-hosted or on Cognee Cloud.
Best for: teams that want open-source, graph-based agent memory over their own documents and code
What is Cognee?
Cognee is an open-source memory platform for AI agents. It turns documents, code and conversations into a knowledge graph of entities and relationships, with vector search and session memory, that agents query through an SDK, an API or MCP.
Cognee runs as a free Apache-2.0 package on your own machine or servers, as a managed Cognee Cloud with usage pricing, or as an Enterprise BYOC engagement in your VPC. The Cloud's Standard plan adds connectors for Slack, Notion, Linear and Google Drive. We found no review step before a memory is stored, and SOC 2 is described as in progress.
How does Cognee work?
- Add content: documents, code, conversations, or synced sources such as Slack and Google Drive on Cognee Cloud.
- Cognee turns text into entities, relationships and searchable chunks, and code into a graph of symbols and dependencies.
- Store it in permanent memory, or in a session when you pass a session ID; session distillation later moves accepted lessons into permanent memory.
- Optionally run improve(review_conflicts=True) to find facts that disagree across dated sources and inspect the conflicts.
- Agents search the graph through the Python SDK, REST API or MCP server, and your application can inspect the evidence that came back.
How much does Cognee cost?
As of 18 October 2026, the Cloud free plan is $0 a month for 1 workspace and 1M tokens, with unlimited users and no card. Standard costs $1.00 per million tokens processed plus $5 a month for each additional workspace. Prices are in USD with no region stated.
Enterprise is a BYOC engagement in your VPC with no public price. The open-source version is free to self-host; you cover your own infrastructure and model costs.
Who is Cognee for, and who is it not for?
Cognee suits a team that wants graph-based memory over its own documents, code and team chat, and wants to start with open source before deciding on the Cloud or a VPC deployment. Its migration path from Mem0, Letta, Zep and Graphiti helps teams already using one of those.
It is not yet a fit for buyers who need a finished SOC 2 report, audit logs or a person approving memories before agents use them. We found none of these documented, and SSO is tied to the longer BYOC tiers.
What does Cognee do well?
- Apache-2.0 core that runs locally, in Docker or on-prem for free
- Graph memory of entities and relationships, plus vector search and session memory in one engine
- An MCP server with an API Mode where several assistants share one knowledge graph
- A free plan with 1M tokens and unlimited users, and Standard at $1.00 per 1M tokens
- Slack, Notion, Linear and Google Drive connectors on Standard, and import from Mem0, Letta, Zep or Graphiti in the COGX format
Cognee on our criteria
| Criterion | What we found |
|---|---|
| Pricing | Standard: $1.00 per 1M tokens processed, plus $5 per additional workspace a month (USD, no region stated); Enterprise BYOC price not listed Verified |
| Free plan | Free forever: $0/month, 1 workspace, 1M tokens, unlimited users and API calls, no card; self-hosted open source also free Verified |
| Open source | Apache-2.0 core (topoteretes/cognee); the production Postgres graph store is a licensed product Verified |
| Human approval | Not publicly documented |
| Cites sources | Cognee says agents retrieve cited facts and lists provenance on every answer as an Enterprise feature; apps can inspect the retrieved evidence Vendor-reported |
| Versioning and history | Each node carries a version counter and timestamps; conflict review marks outdated facts superseded instead of deleting them; an opt-in provenance ledger records when and from which source each entity was written; no old copies are kept, so rollback means restoring your own export Verified |
| Shared across agents | Yes: MCP API Mode lets several assistants share one knowledge graph; each MCP instance writes as one Cognee user Verified |
| Context graph | Yes: text becomes entities, relationships and searchable chunks in a knowledge graph; code becomes a graph of symbols and dependencies Verified |
| Enterprise sources | Standard plan: Slack, Notion, Linear and Google Drive, plus code repo indexing; no SharePoint or ERP connector found Verified |
| Deployment | Self-hosted open source (local, Docker, on-prem), Cognee Cloud (managed), Enterprise BYOC in your VPC Verified |
| Compliance | SOC 2 in progress, as stated by Cognee; no ISO 27001 or HIPAA statement found Vendor-reported |
| Interface | Python SDK, REST API, MCP server, Cloud web app; Rust and TypeScript SDK docs Verified |
What Cognee reports
- Cognee reports 0.79 on BEAM at 100K tokens Vendor-reported
- Cognee reports 0.67 on BEAM at 10M tokens, labelled an exploratory result Vendor-reported
What are Cognee's limits?
- Compliance is unfinished: Cognee's enterprise page says SOC 2 is in progress, and we found no mention of ISO 27001 or HIPAA
- We found no mention of a human approval step before memories are stored or used, or of audit logs (Folder Presort lets you approve which file groups are ingested, which is a file-level step)
- SSO and advanced permissions sit in the longer BYOC tiers, and Enterprise prices are not public
- Using Postgres as the graph store is a demo feature in the open-source version; the production version is licensed
Mentioned in
FAQ
Is Cognee open source?
Yes. The core is Apache-2.0 at topoteretes/cognee, and the pricing page says you can run the full memory engine locally or on your own stack for free. Some production pieces, such as the Postgres graph store, are licensed separately.
Is Cognee SOC 2 compliant?
Not yet, by its own account: the enterprise page says SOC 2 is in progress. We found no ISO 27001 or HIPAA statement. Cognee points out that Enterprise runs in your own VPC, so your data stays on your systems.
Can I move from Mem0 or Zep to Cognee?
Cognee's README says it can import memory from Mem0, Letta, Zep or Graphiti using its COGX exchange format. We have not checked how complete those imports are.
Sources checked
Show 10 sources
- cognee.ai/pricing, checked
- api.github.com/repos/topoteretes/cognee, checked
- docs.cognee.ai/guides/review-conflicts, checked
- cognee.ai, checked and
- docs.cognee.ai/core-concepts/further-concepts/memory-versioning.md, checked
- docs.cognee.ai/cognee-mcp/mcp-overview.md, checked
- github.com/topoteretes/cognee/blob/HEAD/README.md, checked
- cognee.ai/product/enterprise, checked
- docs.cognee.ai/llms-full.txt, checked
- docs.cognee.ai/llms-cognee-cloud.md, checked