· Memory/ Head to head

Zep vs Cognee

Both sit in the memory layer with similar commercial terms, so the practical split is language: Zep targets Python and Cognee targets Python.

Zep

Temporal knowledge graph memory — facts with validity windows, not just embeddings.

Open source · freemium · can be self-hosted · SDKs for Python and TypeScript

Cognee

Builds a graph + vector memory layer over your agent's history and documents.

Open source · can be self-hosted · SDKs for Python

· Side by side/ 4 of 6 differ
ZepCognee
LicenceOpen sourceOpen source
Pricingfreemiumopen source
Self-hostableYesYes
LanguagesPython, TypeScriptPython
Installpip install cognee
Keys requiredZEP_API_KEYNone
· Common questions/ FAQ

What is the difference between Zep and Cognee?

Both sit in the memory layer with similar commercial terms, so the practical split is language: Zep targets Python and Cognee targets Python. Zep: Temporal knowledge graph memory — facts with validity windows, not just embeddings. Cognee: Builds a graph + vector memory layer over your agent's history and documents.

Can Zep and Cognee be self-hosted?

Zep can run on your own infrastructure. Cognee can run on your own infrastructure.

Are Zep and Cognee open source?

Zep is open source (freemium). Cognee is open source (open source).

Build a stack with ZepAll memory options
· For agents/ This page, machine-readable

Every page here answers to Accept: text/markdown and returns the same content at roughly a tenth the tokens. No separate site, no toggle — same URL.

curl -s -H "Accept: text/markdown" https://newagent.build/compare/zep-vs-cognee