SDK Installation

Zep provides SDKs for Python, TypeScript, and Go.

Use our llms.txt files to summarize our docs for LLMs! (short .txt, long .txt)

Python

$pip install zep-cloud

TypeScript

$npm install @getzep/zep-cloud

Go

$go get github.com/getzep/zep-go/v2

Initialize Client

API keys are specific to a project. You can create multiple keys for a single project. Visit Project Settings in the Zep dashboard to manage your API keys.
1import os
2from zep_cloud.client import Zep
3
4API_KEY = os.environ.get('ZEP_API_KEY')
5
6client = Zep(
7 api_key=API_KEY,
8)

The Python SDK Supports Async Use

In order to use async client, you will need to import AsyncZep instead of Zep.

1from zep_cloud.client import AsyncZep

SDK Feature Support

Some SDKs may have limited functionality. The table below shows which features are supported by each SDK.

PythonTypeScriptGo
Memory Operations✓✓✓
Graph Operations✓✓✓
Structured Data Extraction✓✓-
Dialog Classification✓✓✓