Video coming soon…
🤖 Setup Letta — Stateful AI Agents with Long-Term Memory
Deploy Letta on Ubuntu with Docker — a stateful agent server (formerly MemGPT) that gives AI agents persistent long-term memory across conversations, backed by PostgreSQL, on port 8285.
⚠️ This script is provided for demo and testing purposes only. Not intended for production use.
📦 Resources & Setup Scripts
Grab the automated bash script from GitHub to follow along with the video.
Quick Install:
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/ai/letta/letta-ubuntu.sh
chmod +x letta-ubuntu.sh
./letta-ubuntu.sh
Tutorial Steps
1 Download the Script
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/ai/letta/letta-ubuntu.sh
2 Make it Executable
chmod +x letta-ubuntu.sh
3 Run the Installer
./letta-ubuntu.sh
4 Connect and Configure a Provider
http://your-server-ip:8285
Ports Used
| Port | Purpose |
|---|---|
| 8285 | Letta server and Agent Development Environment (mapped from container port 8283) |
| 5432 | PostgreSQL — internal to the Docker network, not exposed to the host |