Letta

August 16, 2026 ยท View on GitHub

Build stateful agents with memory that can learn and improve over time.

Letta (f.k.a. MemGPT) is actively developed. The current source code lives in letta-ai/letta-code, which includes the agent harness, interactive terminal UI, App Server, channels, and the runtime used by the desktop and web apps.

Note

This repository now serves as a landing page for the Letta project. The retired Letta V1 server source is preserved on the archive branch for historical reference.

Get started

Install Letta from npm:

npm install -g @letta-ai/letta-code

Launch the interactive terminal UI:

letta

Run the App Server for local or self-hosted agents:

letta server

You can also use Letta through:

See the letta-ai/letta-code README and the Letta documentation for current installation, development, and deployment instructions.

Historical source

The archive branch contains the retired Letta V1 API server as it existed when this repository was archived. Existing tags and releases remain available for reproducibility. That source is unsupported, receives no fixes or security updates, and should not be used in production.