Install SDKs
This guide will help you obtain an API key, install the SDK, and initialize the Zep client.
Obtain an API Key
Create a free Zep account and you will be prompted to create an API key.
Install the SDK
Python
Set up your Python project, ideally with a virtual environment, and then:
pip
uv
TypeScript
Set up your TypeScript project and then:
npm
yarn
pnpm
Go
Set up your Go project and then:
Initialize the Client
First, make sure you have a .env file with your API key:
After creating your .env file, you’ll need to source it in your terminal session:
Then, initialize the client with your API key:
The Python SDK Supports Async Use
The Python SDK supports both synchronous and asynchronous usage. For async operations, import AsyncZep
instead of Zep
and remember to await
client calls in your async code.