Run Letta with pip
Warning: database migrations are not officially support with SQLite
!
When you install Letta with pip
, the default database backend is SQLite
(you can still use an external postgres
service with your pip
install of Letta by setting LETTA_PG_URI
).
We do not officially support migrations between Letta versions with SQLite
backends, only postgres
.
If you would like to keep your agent data across multiple Letta versions we highly recommend using the Docker install method which is the easiest way to use postgres
with Letta.
Installing and Running the Letta Server
When using Letta via Docker you don’t need to install Letta, instead you simply download the Docker image (done automatically for you when you run docker run
).
When using Letta via pip
, running the Letta Server requires you first install Letta (via pip install
).
After installing, you can then run the Letta Server with the letta server
command.