Memory-first agent framework (formerly MemGPT). Stateful agents that actually remember.
Letta started life as MemGPT โ a research project at UC Berkeley that asked "what if LLMs had OS-style virtual memory?" In 2024 it became Letta, a company, and in 2026 it's the de facto framework for stateful agents.
The core innovation is a tiered memory architecture. Core memory lives in the system prompt (in-context). Archival memory is stored in a vector DB and paged in only when relevant. The agent itself decides when to recall, when to forget, and when to consolidate โ mimicking how human memory works.
If you've ever built an agent that "forgets" user preferences after 10 messages, Letta is the fix.
Who it's for: Teams building long-running agents โ personal assistants, customer-facing bots, research agents that accumulate knowledge. Anyone who's hit the "agent forgets everything" wall.
Letta (formerly MemGPT) pioneered the in-context vs out-of-context memory split. Core memory stays in the prompt; archival memory is paged in on demand. Agents remember across sessions without prompt bloat.
Built for agents that need to maintain state across hours, days, or weeks. Sleep-time agents run during downtime to consolidate memories โ like a brain's hippocampus during sleep.
Works with any LLM provider โ OpenAI, Anthropic, Google, local Ollama, vLLM. Swap models mid-conversation without losing memory. No vendor lock-in, ever.
First-class REST + Python SDK. Deploy agents as long-running services with stateful conversation history. Multi-tenant agent deployment out of the box.
Letta is the right pick in 2026 when your agent's value is remembering. Personal assistants, long-running research agents, customer-success bots that know a customer's full history โ these all need memory architecture, and Letta is the only framework that takes memory seriously as a first-class primitive. For high-throughput stateless workflows, stick with CrewAI or LangGraph.
Role-based multi-agent framework. Stateless, fast, ships in an afternoon.
Graph-based stateful framework. Better for cycles and human-in-the-loop.
Microsoft's research-grade multi-agent framework. Maximum flexibility.
HuggingFace's minimalist code-agent framework. ~1,000 lines, no magic.