# Letta

Letta is a framework for building stateful AI agents with long-term memory. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/5801/letta

## Description

Letta (f.k.a. MemGPT) is a framework for building stateful AI agents with long-term memory. It lets agents retain past conversations and personal preferences across sessions, so they can learn and improve over time instead of forgetting everything when a chat session ends.

## Platform availability

Available on 0 of 10 platforms.

## Health score

73/100 (Good), based on 3 of 4 factors.
- Maintained: 88 (last commit 33 days ago)
- Popular: 88 (25,358 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)

## Links

- Docker Hub: https://hub.docker.com/r/letta/letta
- GitHub: https://github.com/letta-ai/letta
- Documentation: https://docs.letta.com
- Official website: https://docs.letta.com/

## Common questions

### What must I install before using the Letta CLI to start a server or manage agents?

Make sure Node.js and npm are available, then run npm install -g @letta-ai/letta-code. Without the CLI, you cannot start the Letta server or manage agents from the command line.

### How can I reach a self-hosted Letta App Server from other machines?

Start the server listening on 0.0.0.0:4500 and open port 4500. Add authentication so other users on the network cannot access it.

### Where is agent state stored when Letta runs as a local runtime?

In the local runtime, all agent state, including messages, memory, and provider connections, stays on-device. The desktop app uses a background App Server on your machine.

## Alternatives

- Supermemory: Memory API and context engine for AI applications that stores knowledge from conversations, documents and connected apps, and retrieves it…

---
Source: Our Local Host (https://ourlocalhost.com/app/5801/letta), the self-hosted and open-source app directory.
