Quick Start
Get started with Zep Community Edition
Starting a Zep server locally is simple.
- Clone the Zep repo
- Configure your Zep server by editing the
zep.yaml
file.
If you’d like to use an environment variable as the value for any of the configuration options, you can use a template string to insert the value. For example, if you wanted to use an environment variable to set the Postgres password, you could do the following:
You can name your environment variable whatever you want.
- Start the Zep server:
Make sure to set the secret
value in the zep.yaml
configuration file.
Additionally, make sure that you expose an OPENAI_API_KEY
environment variable either in a local .env file or by running:
This will start a Zep API server on port 8000
and Graphiti service on port 8003
.
- Get started with the Zep Community Edition SDKs!
The Zep Community Edition SDKs are API compatible with the Zep Cloud SDKs. The Zep Guides and API reference note where functionality may differ.
Next Steps:
- Install the Zep Community Edition SDKs
- Read the Zep Service Guides
- Explore the Zep API Reference
Using LLM Providers other than OpenAI
Zep Community Edition may be used with any LLM provider that implements the OpenAI compatible API. The provider must implement both the embeddings
and chat/completions
endpoints. Alternatively, you may use a proxy such as LiteLLM that provides an OpenAI compatible API for non-OpenAI compatible LLM providers. LiteLLM supports proxying both LLM and Embedding requests.
Set the OPENAI_API_KEY
and OPENAI_BASE_URL
environment variables to point to your LLM provider. This may be done in a .env
file or directly in the docker-compose.ce.yaml
file.
To provide a model name other than gpt-4o-mini
you can use LiteLLM’s model_group_alias
feature. This is shown below: