Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Tests lint Release to PyPI GitHub

Zep Logo

Zep: Fast, scalable building blocks for LLM apps

Chat history memory, embedding, vector search, data enrichment, and more.

Quick Start | Documentation | LangChain and LlamaIndex Support | Discord
www.getzep.com

What is Zep?

Zep is an open source platform for productionizing LLM apps. Zep summarizes, embeds, and enriches chat histories and documents asynchronously, ensuring these operations don't impact your user's chat experience. Data is persisted to database, allowing you to scale out when growth demands. As drop-in replacements for popular LangChain components, you can get to production in minutes without rewriting code.

Zep Demo Video

Zep Python Client

This is the Python client package for the Zep service. For more information about Zep, see https://github.com/getzep/zep.

Zep QuickStart Guide: https://docs.getzep.com/deployment/quickstart

Zep Documentation: https://docs.getzep.com

Installation

pip install zep-python

-- OR --

poetry add zep-python

Zep Cloud Installation

In order to install Zep Python SDK with Zep Cloud support, you will need to install a release candidate version.

pip install --pre zep-python

-- OR --

poetry add zep-python@^2.0.0rc

You will also need to provide a Zep Project API key to your zep client for cloud support. You can find out about Zep Projects in our cloud docs

Using LangChain Zep Classes with zep-python

(Currently only available on release candidate versions)

In the pre-release version zep-python sdk comes with ZepChatMessageHistory and ZepVectorStore classes that are compatible with LangChain's Python expression language

In order to use these classes in your application, you need to make sure that you have langchain_core package installed, please refer to Langchain's docs installation section.

We support langchain_core@>=0.1.3<0.2.0

You can import these classes in the following way:

from zep_python.langchain import ZepChatMessageHistory, ZepVectorStore

Running Examples

You will need to set the following environment variables to run examples in the examples directory:

# Please use examples/.env.example as a template for .env file

# Required
ZEP_API_KEY=<zep-project-api-key># Your Zep Project API Key
ZEP_COLLECTION=<zep-collection-name># used in ingestion script and in vector store examples
OPENAI_API_KEY=<openai-api-key># Your OpenAI API Key

# Optional (If you want to use langsmith with LangServe Sample App)
LANGCHAIN_TRACING_V2=true
LANGCHAIN_API_KEY=<your-langchain-api-key>
LANGCHAIN_PROJECT=<your-langchain-project-name># If not specified, defaults to "default"

Release files for zep-python 2.0.0rc5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zep-python 2.0.0rc5
File Size Uploaded
zep_python-2.0.0rc5.tar.gz 26.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zep-python 2.0.0rc5
File Interpreter ABI Platform
zep_python-2.0.0rc5-py3-none-any.whl Python 3 none any Details

Total release size: 60.1 kB

Release files / zep_python-2.0.0rc5.tar.gz

Download URL zep_python-2.0.0rc5.tar.gz
Size 26.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e6ced8089760374dead948d6b4b88fceb09a356bf9a7fe182b4ceb6e828f0bb1
BLAKE2b-256 checksum
How to use checksums
ce5b063fde25f304df66d2d674e7d88ee35afb921ff080ebcadf533a1ba7008c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / zep_python-2.0.0rc5-py3-none-any.whl

Download URL zep_python-2.0.0rc5-py3-none-any.whl
Size 33.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b1b5c22c9e1ef439c9ef3d785347abf89b1243c7149e32025dd065cc022af40
BLAKE2b-256 checksum
How to use checksums
ee92edfef8b3ab6b681c452fd786fd68f04df19a72ad6919ac4067618f351fab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.2

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page