> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs-beta.getzep.com/v3/install-sdks/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs-beta.getzep.com/_mcp/server. # Install SDKs > Install the Zep SDK for Python, TypeScript, or Go and start building agent memory. See the quick start for end-to-end setup. This guide shows how to obtain an API key, install an SDK, and initialize the Zep client. For end-to-end setup, read the [quick start guide](/quick-start-guide). ## Obtain an API Key [Create a free Zep account](https://app.getzep.com/) and you will be prompted to create an API key. ## Install the SDK #### Python Set up a [Python virtual environment](https://docs.python.org/3/library/venv.html), then install the SDK: **`pip`** ```bash pip pip install zep-cloud ``` **`uv`** ```bash uv uv pip install zep-cloud ``` #### TypeScript Set up your TypeScript project and then: **`npm`** ```bash npm npm install @getzep/zep-cloud ``` **`yarn`** ```bash yarn yarn add @getzep/zep-cloud ``` **`pnpm`** ```bash pnpm pnpm install @getzep/zep-cloud ``` #### Go Set up your Go project and then: ```bash go get github.com/getzep/zep-go/v3 ``` ## Initialize the Client Add your API key to a `.env` file: ``` export ZEP_API_KEY=your-zep-api-key ``` Load the environment variable into your terminal session: ```bash source .env ``` Then, initialize the client with your API key: **`Python`** ```python Python import os from zep_cloud.client import Zep API_KEY = os.environ.get('ZEP_API_KEY') client = Zep( api_key=API_KEY, ) ``` **`TypeScript`** ```typescript TypeScript import { ZepClient } from "@getzep/zep-cloud"; const API_KEY = process.env.ZEP_API_KEY; const client = new ZepClient({ apiKey: API_KEY, }); ``` **`Go`** ```go Go import ( "os" zepclient "github.com/getzep/zep-go/v3/client" "github.com/getzep/zep-go/v3/option" ) client := zepclient.NewClient( option.WithAPIKey(os.Getenv("ZEP_API_KEY")), ) ``` > **Info** > > **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. > Set up your development environment for Zep