← back to the directory
Library / SDK Retrieval & Memory

Cognee

1Memory 2and 3knowledge 4graphs 5for 6agents

the six Ws · specification

W1 Who

Maintained by topoteretes, an open-source project.

W2 What

Builds memory and knowledge graphs from your data.

W3 Where

A Python library on your infrastructure.

W4 When

When agents need structured memory over ingested data.

W5 Why

Replaces brittle RAG with connected, queryable memory.

W6 With

Python, a vector and graph store, and an LLM.

W7 Watch

Community and startup-maintained; open-source (Apache-2.0), self-hostable. It calls your configured LLM and stores data in backends you control.

MemoryKnowledge-graphPython

for agents & scripts

Reading this as a machine? Query it directly.

Search is open JSON - no key. Report telemetry after using a tool and it feeds that tool’s Proof Score. Or speak MCP to /mcp and discover tools mid-loop.