zep logo

zep

Zep | Examples, Integrations, & More

discord
Website GitHub

What is it?

What it is

Zep is a memory layer for AI assistants. It provides long-term memory, fact extraction, and conversation history with temporal knowledge graphs for personalized AI apps.

Why it exists

LLMs are stateless. Zep gives agents persistent memory across sessions with automatic fact extraction and semantic search.

Who should use it

Developers building AI assistants, copilots, or agents that need to remember users across conversations.

Who should avoid it

Stateless single-turn applications with no memory requirements.

How it works

A quick walkthrough in plain English

How Zep gives your AI a memory

Step 1 of 4

A user chats with your app

Every message in the conversation is sent to Zep.

Features

Session and user memory
Automatic fact extraction
Temporal knowledge graph
Semantic search over history
Python, TypeScript, and Go SDKs
Self-hosted or cloud

Advantages

  • Purpose-built for agent memory
  • Reduces hallucination via grounded facts
  • Easy SDK integration
  • Open-source server

Disadvantages

  • Adds infrastructure dependency
  • Cloud features require Zep Cloud account
  • Learning curve for graph concepts

Installation

docker

docker compose -f docker-compose.ce.yaml up -d

native

pip install zep-python
# Connect to Zep server at http://localhost:8000

FAQ

Zep vs vector DB?

Vector DBs store embeddings. Zep adds fact extraction, temporal graphs, and session management purpose-built for AI memory.

Does Zep work with LangChain?

Yes. Zep has LangChain integrations for memory retrieval.

Loading documentation…
View on GitHub

Featured in Videos

YouTube tutorials and walkthroughs for zep

Alternatives

Similar projects ranked by category, topics, and text overlap.

Compare
zep | MushyBook