---
slug: "cognee"
name: "Cognee"
effect: "Turns documents, code and conversations into a knowledge graph that agents store to and recall from"
category: "memory"
url: "https://www.cognee.ai"
github: "topoteretes/cognee"
pricing: "open-source"
license: "Apache-2.0"
tags: ["python", "knowledge-graph", "self-hosted", "mcp", "local-models"]
platforms: ["claude-code", "codex", "cursor", "any-mcp-client", "docker"]
install_kind: "pip"
date_added: "2026-10-14"
drop_score: 57
stars: 32298
pushed_at: "2026-10-14T22:21:29Z"
signals_status: "ok"
signals_fetched_at: "2026-10-15T01:18:55.953Z"
page: "https://agenttooldrop.com/tools/cognee"
---

# Cognee

Turns documents, code and conversations into a knowledge graph that agents store to and recall from

Category: Memory. Pricing: Open source. License: Apache-2.0.

Platforms: claude-code, codex, cursor, any-mcp-client, docker.

## Why you would want it

Cognee ingests text, code and session data and builds connected memory: entities, relationships and searchable chunks for text, and a graph of symbols and dependencies for code. Its API centers on four operations (remember, recall, improve and forget), and with the gliner extra it builds and queries memory with small local CPU models and no API key, while adding an LLM key enables generated answers. It ships plugins for Claude Code and Codex, an MCP server for other clients, a REST API and Docker images for self-hosting.

## Best for

- Agent memory across runs on your own infrastructure
- Shared memory over docs, tickets and code
- Local experiments without an LLM API key

## Use it when

You want agents to keep and query project knowledge, past decisions and fixes across sessions, on infrastructure you control.

## Skip it if

You are not on Python 3.10 to 3.14 for the library. Running the whole memory layer on a single Postgres instance is a demo feature; the production version is a licensed product.

## Install

Install with uv:

```sh
uv pip install "cognee[gliner]"
```

Source: https://github.com/topoteretes/cognee#readme

## Live signals

Fetched 2026-10-15T01:18:55.953Z (status: ok).

- Repository: topoteretes/cognee
- Stars: 32,298
- Forks: 3,366
- Open issues and PRs: 781
- License (GitHub): Apache-2.0
- Last push: 2026-10-14
- Latest release: v1.6.4 (2026-10-13)

## Links

- Website: https://www.cognee.ai
- GitHub: https://github.com/topoteretes/cognee
- Install instructions verified at: https://github.com/topoteretes/cognee#readme
- Source for this entry: https://github.com/topoteretes/cognee#readme
- AgentToolDrop page: https://agenttooldrop.com/tools/cognee
- Full catalog (JSON): https://agenttooldrop.com/tools.json
