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.

Automated install script — one command deploys Letta with PostgreSQL on port 8285. Connect the Agent Development Environment to the server and configure an LLM provider.
View on GitHub

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

PortPurpose
8285Letta server and Agent Development Environment (mapped from container port 8283)
5432PostgreSQL — internal to the Docker network, not exposed to the host

Overview

Why Use It

When You Need It

    Who Should Use It

      Real Use Cases

        Main Features

          How to Use After Installation

            Security Best Practices

              Ports and Firewall Notes

              Backup and Maintenance

                Common Mistakes

                  Troubleshooting

                    Alternatives

                    When Not to Use It

                    PrismaTechWork Professional Help

                      Contact Us

                      Frequently Asked Questions