1

Install using PIP

To install Letta, run:

pip install letta
2

Configure model providers

Set environment variables to enable model providers, e.g. OpenAI:


# To use OpenAI
export OPENAI_API_KEY=...

# To use Anthropic 
export ANTHROPIC_API_KEY=...

# To use with Ollama
export OLLAMA_BASE_URL=...

# To use with Google AI
export GEMINI_API_KEY=...

# To use with Azure
export AZURE_API_KEY=...
export AZURE_BASE_URL=...

# To use with vLLM 
export VLLM_API_BASE=...
3

Run the Letta server

To run the Letta server, run:

letta server [--debug]

You can now access the ADE (in your browser) and REST API server at http://localhost:8283.