# Cognee

> The open-source AI memory platform for agents

Source: https://talira.ai/catalog/cognee-en632qdm
Every listing: https://talira.ai/catalog.md

- Kind: Open core
- Types: Library, Command-line tool, API, MCP server
- Categories: [ai / agents / memory](https://talira.ai/categories/ai/agents/memory), [ai / knowledge graphs](https://talira.ai/categories/ai/knowledge-graphs), [ai / rag / graph rag](https://talira.ai/categories/ai/rag/graph-rag)
- Platforms: docker[^1]
- Licence: Apache-2.0[^2]
- Pricing: Free tier, from $99/month[^3]
- Pricing notes: Open source edition free. Cognee Cloud Standard $0/month with 100M tokens, then $0.10 per 1M tokens and $5 per extra workspace; Premium $99/month plus tokens; Enterprise (bring your own cloud) by contract.
- Free tier: yes[^3]
- Self-hostable: yes[^1]
- Cloud hosted: yes[^3][^4]
- API: yes[^5]
- Plugins: yes[^1]
- MCP server: yes[^6]
- Supports: [MCP](https://talira.ai/standards/mcp.md)[^6]
- Backed by: [Cognee](https://talira.ai/orgs/cognee.md)
- Funding: venture-backed[^7]

Cognee is an Apache-2.0 memory engine for AI agents that turns documents, conversations, tickets and code into a knowledge graph plus vector embeddings, with four operations: `remember`, `recall`, `improve` and `forget`. Since 1.6 it builds and searches text memory with no LLM key: a local GLiNER model extracts entities and a local model embeds them, returning retrieved passages, and an LLM (OpenAI by default, or Anthropic, [Gemini](https://talira.ai/catalog/gemini-api-r5x8ntes.md), [Ollama](https://talira.ai/catalog/ollama-gr2tx5nn.md) and others) is only needed for generated answers and the improvement stages. Graphs go in [Neo4j](https://talira.ai/catalog/neo4j-76zxhxgj.md), Neptune, Memgraph or the embedded Ladybug, vectors in LanceDB, PGVector or ChromaDB, metadata in [SQLite](https://talira.ai/catalog/sqlite-cys3nt23.md) or Postgres, and it can run the whole memory layer on one Postgres instance (a demo feature in the open source edition). It connects to [Claude Code](https://talira.ai/catalog/claude-code-jqv5000a.md), [Codex](https://talira.ai/catalog/codex-8m7d8cdk.md) and [OpenClaw](https://talira.ai/catalog/openclaw-ght0hsav.md) as memory plugins, to other clients through its MCP server, and to apps through Python, a REST API, a [TypeScript](https://talira.ai/catalog/typescript-w0asrgz8.md) SDK and a Rust engine; Cognee Cloud hosts it and an Enterprise edition deploys in your own cloud.

## Links

- Website: https://www.cognee.ai/
- GitHub: https://github.com/topoteretes/cognee
- Docs: https://docs.cognee.ai/
- Pricing: https://www.cognee.ai/pricing

## Problems it solves

- give my coding agent memory of past decisions and fixes that carries over to the next session
- build a knowledge graph from our docs, Slack threads and tickets without paying an LLM to extract every chunk
- extract entities and relationships locally on CPU with a small model instead of a cloud LLM
- a company brain that links a decision to the discussion and the code that implemented it
- structure agent memory around my own entity types and ontology rather than a generic schema
- run graph memory, vector search and metadata for my agent on a single Postgres database
- persistent memory for Claude Code and Codex through a plugin rather than a custom MCP setup
- move an agent's memory out of Mem0, Letta, Zep or Graphiti into another system
- delete one document or dataset from an agent's memory when a user asks
- turn lessons from an agent session into durable knowledge another session can retrieve
- index a code repository as a graph of symbols and dependencies for an agent to query
- visualise the knowledge graph my agent has built and inspect its connections

## Features

- remember, recall, improve and forget operations, with session memory and permanent memory
- keyless mode: local GLiNER entity extraction and local embeddings, no LLM key needed for ingestion and retrieval
- graph stores: Neo4j, Amazon Neptune, Neptune Analytics, Memgraph, Ladybug
- vector stores: LanceDB, PGVector, ChromaDB, Neptune Analytics; community adapters for Qdrant, Redis, FalkorDB
- relational metadata in SQLite or Postgres; whole memory layer on one Postgres instance (demo in the open source edition)
- LLMs: OpenAI, Azure OpenAI, Gemini, Anthropic, Mistral, Bedrock, Ollama, llama.cpp and custom endpoints
- custom data models and ontologies
- code graphs of symbols and dependencies
- memory plugins for Claude Code, Codex and OpenClaw; MCP server for Cursor, Cline and other clients
- REST API, Python API, TypeScript SDK and a Rust engine (Cognee-RS)
- COGX exchange format to import memory from Mem0, Letta, Zep or Graphiti
- Google Drive and Gmail connectors; local UI and graph visualisation

## Limitations

- Doesn't write generated answers without an LLM: with no key it returns retrieved passages, and vision or transcription needs a model too[^1]

## Ways to run it

### Cognee (open source)

You run it, Apache-2.0. Price: free.[^1][^2]

Not included:

- production-ready Postgres graph store (the open source one is a demo)
- the production small-model extraction runtime (the bundled GLiNER extractor is a demo)

You arrange:

- an LLM API key or local Ollama for generated answers
- graph, vector and relational stores for production (Neo4j or Postgres, LanceDB or PGVector)
- authentication and persistent storage for a multi-user API

Self-hosting docs: https://github.com/topoteretes/cognee/blob/main/README.md

### Cognee Cloud

Hosted by Cognee. Price: Standard $0/month (100M tokens, then $0.10 per 1M); Premium $99/month plus tokens; Enterprise contact sales.[^3]

Only in this edition:

- Slack, Notion, Linear and Google Drive integrations
- auto-ontology and Ontology Editor (Premium)

Pricing: https://www.cognee.ai/pricing

### Cognee Enterprise (BYOC)

You run it, under a commercial licence. Price: contact sales.[^3]

Only in this edition:

- deployment in your own cloud (VPC)
- proprietary Cognee runtime and Postgres adapter
- bi-temporal memory, conflict resolution and provenance on every answer
- SSO (optional on the 12-month term)

You arrange:

- your own cloud account

Pricing: https://www.cognee.ai/pricing

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known
- Has an MCP server: plan not known
- Takes plugins: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.58 out of 1.
Signals: backing 0.55, extensibility 0.80.

- has a company behind it
- funding: venture-backed
- has a plugin system
- has an MCP server for agents

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [OpenClaw](https://talira.ai/catalog/openclaw-ght0hsav.md)
- Works with [Claude Code](https://talira.ai/catalog/claude-code-jqv5000a.md)
- Works with [Codex](https://talira.ai/catalog/codex-8m7d8cdk.md)

## Alternatives

- [GraphRAG](https://talira.ai/catalog/graphrag-gz2tx1a5.md): A modular graph-based Retrieval-Augmented Generation (RAG) system
- [Zep](https://talira.ai/catalog/zep-54v4ajs8.md): The enterprise context layer for reliable agents
- [Mem0](https://talira.ai/catalog/mem0-1hspsvwb.md): The memory layer for AI agents
- [Graphiti](https://talira.ai/catalog/graphiti-vdxr6q7w.md): Build real-time knowledge graphs for AI agents
- [Letta](https://talira.ai/catalog/letta-8fr9dnmv.md): Build stateful agents with memory that can learn and improve over time
- [Supermemory](https://talira.ai/catalog/supermemory-nek6e663.md): Memory and context layer for AI: memory, RAG, user profiles and connectors in one API

## Sources

[^1]: https://github.com/topoteretes/cognee/blob/main/README.md (checked 20 Nov 2026)
[^2]: https://github.com/topoteretes/cognee/blob/main/LICENSE (checked 20 Nov 2026)
[^3]: https://www.cognee.ai/pricing (checked 20 Nov 2026)
[^4]: https://docs.cognee.ai/cognee-cloud/overview (checked 20 Nov 2026)
[^5]: https://docs.cognee.ai/api-reference/introduction (checked 20 Nov 2026)
[^6]: https://docs.cognee.ai/cognee-mcp/mcp-overview (checked 20 Nov 2026)
[^7]: https://pebblebed.com/portfolio/cognee (checked 20 Nov 2026)
