Letta
vlatest
Stateful agent platform from the MemGPT team -- agents with memory that learns and self-improves
What's included
- Letta server -- stateful agents with self-editing memory (MemGPT lineage)
- Bundled PostgreSQL -- agent state persists in /opt/letta/pgdata
- SECURE mode -- server password enforced on every request
- Caddy -- TLS termination with auto-HTTPS (no double auth, SDK-friendly)
After install
- Connect the ADE or SDKs to your server URL with the server password
- Add model API keys in /opt/letta/.env, then docker restart letta
- Agent memory survives restarts and updates
How the install works
Generated from the install script itself -- these are the exact phases it runs on your server.
- 1.Pre-flight checks
- 2.Opening firewall
- 3.Installing system dependencies
- 4.Installing Docker
- 5.Configuring Letta
- 6.Starting Letta server
- 7.Installing Caddy
- 8.Configuring Caddy
Supported Operating Systems
Ubuntu 24Ubuntu 25Debian 12Debian 13Rocky 9Rocky 10Alma 9Alma 10
Requirements
- RAM
- 1GB minimum
- Disk
- 5GB minimum
Configuration
| Variable | Default | Description |
|---|---|---|
| LETTA_HOST | server hostname | Hostname or IP for the server URL. Hostnames get auto-HTTPS via Let's Encrypt. |
| LETTA_SERVER_PASSWORD | random 24-char | Letta server password (SECURE mode). Auto-generated if not set. |
| OPENAI_API_KEY | empty | Optional OpenAI key, can be added later in /opt/letta/.env |
| ANTHROPIC_API_KEY | empty | Optional Anthropic key, can be added later in /opt/letta/.env |
| OLLAMA_BASE_URL | empty | Optional Ollama endpoint for local models, can be added later in /opt/letta/.env |
5 installsOfficial website →
Changelog
v1.0.12026-07-13
- Default host now uses the public IP / verified rDNS (reachable server URL on cloud VMs)
- Config .env created with restrictive permissions from the start
- Local smoke-test support via the VIRTUA_BASE_URL override
v1.0.02026-07-12
- Initial release -- Letta server in SECURE mode with bundled PostgreSQL