Technology

Letta

An open-source **OS-style memory management framework** for LLM agents (formerly **MemGPT**), built on the analogy that the LLM's context window is RAM and external storage is "disk" — the agent's runtime swaps memory blocks in and out of the context window like an operating system pages virtual memory. Letta exposes core memory (always-resident persona + user state), recall memory (searchable conversation history), and archival memory (large semantic store), each backed by configurable storage tiers including PostgreSQL, vector stores, and S3-compatible object storage.

8 connections2 posts

Definition

What it is

An open-source OS-style memory management framework for LLM agents (formerly MemGPT), built on the analogy that the LLM's context window is RAM and external storage is "disk" — the agent's runtime swaps memory blocks in and out of the context window like an operating system pages virtual memory. Letta exposes core memory (always-resident persona + user state), recall memory (searchable conversation history), and archival memory (large semantic store), each backed by configurable storage tiers including PostgreSQL, vector stores, and S3-compatible object storage.

Why it exists

Vector-only memory layers treat every memory as a similarity hit; this collapses the distinction between "what should always be visible to the model" (persona, current goal, active constraints) and "what should be retrieved on demand" (historical episodes, archived knowledge). OS-style memory management formalizes the distinction. Core memory always lives in the prompt; recall and archival memory are fetched via tool calls. The model can rewrite its own core memory mid-conversation, mimicking working-memory consolidation.

Primary use cases

Long-lived personal-assistant agents that must remember preferences and ongoing projects across sessions; customer-support agents with multi-month conversation histories that exceed any context window; multi-agent systems where each agent has a distinct persona that must persist across handoffs; research agents accumulating archival domain knowledge over weeks.

Connections8

Outbound5
competes_with2
Inbound3

Featured in