← Back to catalog
Letta

Letta

vlatest

Stateful agent platform from the MemGPT team -- agents with memory that learns and self-improves

Install

$curl -fsSL https://virtua.sh/i/letta | bash
No server?Virtua.Cloud →

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. 1.Pre-flight checks
  2. 2.Opening firewall
  3. 3.Installing system dependencies
  4. 4.Installing Docker
  5. 5.Configuring Letta
  6. 6.Starting Letta server
  7. 7.Installing Caddy
  8. 8.Configuring Caddy

Supported Operating Systems

Ubuntu 24Ubuntu 25Debian 12Debian 13Rocky 9Rocky 10Alma 9Alma 10

Requirements

RAM
1GB minimum
Disk
5GB minimum

Configuration

VariableDefaultDescription
LETTA_HOSTserver hostnameHostname or IP for the server URL. Hostnames get auto-HTTPS via Let's Encrypt.
LETTA_SERVER_PASSWORDrandom 24-charLetta server password (SECURE mode). Auto-generated if not set.
OPENAI_API_KEYemptyOptional OpenAI key, can be added later in /opt/letta/.env
ANTHROPIC_API_KEYemptyOptional Anthropic key, can be added later in /opt/letta/.env
OLLAMA_BASE_URLemptyOptional Ollama endpoint for local models, can be added later in /opt/letta/.env

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