Zep is a memory platform for AI agents that learns from user interactions and business data. It builds a temporal knowledge graph to provide AI assistants with personalized, accurate, and up-to-date information, enhancing user experiences through continuous learning.
Zep's temporal Knowledge Graph maintains contextual information about facts, enabling reasoning about state changes and providing data provenance insights.
Visit www.getzep.com to sign up for Zep Cloud, our managed service that offers low latency, scalability, and high availability with additional features like dialog classification and structured data extraction.
Zep offers comprehensive SDKs for multiple languages:
pip install zep-cloudnpm install @getzep/zep-cloudgo get github.com/getzep/zep-go/v2Note: This repository is currently a work in progress.
This repository contains example projects, code samples, and other components to help you get started with Zep. Explore the examples to see how Zep integrates with popular frameworks like LangChain, LlamaIndex, and others.
The repository includes:
This project uses UV for Python package management with workspace features.
# On Windows powershell -c "irm https://astral.sh/uv/install.ps1 | iex" ```
Sync the workspace:
bash
uv sync
Activate the virtual environment: ```bash # On Unix/macOS source .venv/bin/activate
# On Windows .venv\Scripts\activate ```
This project is configured as a UV workspace with the following packages:
zep): Core Zep functionalityintegration/autogen/): Integration package for Autogen frameworkuv syncuv add <package>uv add --project integration/autogen <package>uv run --project integration/autogen pytestuv buildThe autogen integration package is located in integration/autogen/ with the following structure:
integration/autogen/
├── src/zep_autogen/ # Package source code
├── tests/ # Test files
└── pyproject.toml # Package configuration
We welcome contributions to help improve Zep and its ecosystem. Please see the CONTRIBUTING.md file for guidelines on how to contribute, including:
Zep is powered by Graphiti, an open-source temporal knowledge graph framework that we developed to handle changing relationships and maintain historical context.
What makes Graphiti unique is its ability to autonomously build a knowledge graph while reasoning about state changes over time. Each fact includes valid_at and invalid_at dates, allowing agents to track changes in user preferences, traits, or environment.
Visit the Graphiti repository to learn more about the knowledge graph framework that powers Zep's memory capabilities.
Note: Zep Community Edition is no longer supported and has been deprecated. The Community Edition code has been moved to the legacy/ folder in this repository.
For current Zep development, we recommend using Zep Cloud or exploring the example projects in this repository.
Read more about this change in our announcement: Announcing a New Direction for Zep's Open Source Strategy