Skip to content
  • Auto
  • Light
  • Dark
DiscordForumGitHubSign up
Self-hosting
Advanced configuration
View as Markdown
Copy Markdown

Open in Claude
Open in ChatGPT

Installing Letta from source

First, install uv using the official instructions here. You’ll also need to have git installed.

Navigate to https://github.com/letta-ai/letta and click the “fork” button. Once you’ve created your fork, you can download the source code via the command line:

Terminal window
# replace YOUR-GITHUB-USERNAME with your real GitHub username
git clone https://github.com/YOUR-GITHUB-USERNAME/letta.git

Creating a fork will allow you to easily open pull requests to contribute back to the main codebase.

Alternatively, you can clone the original open source repository without a fork:

Terminal window
git clone https://github.com/letta-ai/letta.git

Navigate to the letta directory and install the letta package using uv:

Terminal window
cd letta
uv sync --all-extras

Now when you want to use letta server, use uv run (which will activate the uv environment for the letta server command directly):

Terminal window
uv run letta server