Zep: Long-Term Memory for AI Assistants

Zep: Long-Term Memory for AI Assistants

Zep is a long-term memory service for AI assistants and agents, providing a temporal knowledge graph (Graphiti) that captures, organizes, and retrieves conversational context, user facts, and business data to power personalized, context-aware AI experiences.

Features

Graphiti Knowledge Graph

Open-source temporal knowledge graph engine that builds dynamic, evolving graphs from conversations and data, capturing entities, relationships, and temporal context for rich memory representation.

Fact Extraction & Classification

Automatic extraction and classification of facts from conversations — identifying user preferences, biographical details, stated goals, and business-relevant information with semantic deduplication.

Temporal Awareness

Time-aware memory system that tracks when facts were learned, detects changes over time, and resolves contradictions by understanding the temporal ordering of information.

Dialog Classification

Real-time conversation classification that identifies user intent, sentiment, and topic shifts to enhance memory relevance and trigger appropriate memory retrieval strategies.

Memory Search & Retrieval

Multi-modal memory retrieval combining graph traversal, semantic similarity, and temporal relevance to surface the most contextually appropriate memories for any given interaction.

Session Management

Structured session and user management with support for multi-session memory continuity, enabling AI assistants to maintain context across conversations spanning days, weeks, or months.

Key Capabilities

  • Knowledge Graph Memory: Graph-based memory that captures entity relationships
  • Episodic Memory: Stores and retrieves past interaction episodes
  • Semantic Memory: Factual knowledge extracted and organized from conversations
  • Community Edition: Self-hosted open-source deployment option
  • Cloud Service: Managed Zep Cloud with enterprise features
  • Framework Integration: Works with LangChain, LlamaIndex, and custom agents
  • REST API & SDKs: Python and TypeScript SDKs for easy integration

Best For

  • AI assistant builders needing long-term memory across user sessions
  • Teams building personalized AI experiences that evolve over time
  • Enterprise applications requiring structured knowledge extraction from conversations
  • Developers seeking graph-based memory that captures relationships between entities
  • Agent builders needing temporal reasoning about changing user contexts

Performance Statistics

  • ~24k GitHub stars across Zep organization
  • Graphiti open-source knowledge graph engine
  • Sub-second memory retrieval with graph traversal

Access

  • Zep Community Edition (open-source, self-hosted)
  • Zep Cloud (managed service with enterprise features)
  • Graphiti (open-source temporal knowledge graph engine)
  • Python and TypeScript SDKs

Back to top ↑


Last built with the static site tool.