โ€” Agent Framework

Letta

Last updated June 19, 2026 ยท Reviewed by ToolForge Editorial

Memory-first agent framework (formerly MemGPT). Stateful agents that actually remember.

โ˜… 4.5/5 ยท 15K+ developers ยท Since 2024 ยท Open source (Apache 2.0)

Why Letta matters in 2026

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.

Key features

Memory Tiered memory architecture

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.

Stateful Long-running, persistent agents

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.

Open 100% model-agnostic

Works with any LLM provider โ€” OpenAI, Anthropic, Google, local Ollama, vLLM. Swap models mid-conversation without losing memory. No vendor lock-in, ever.

REST API Drop-in HTTP for production

First-class REST + Python SDK. Deploy agents as long-running services with stateful conversation history. Multi-tenant agent deployment out of the box.

The honest take

โœ“ What works

  • Best-in-class memory architecture โ€” agents that genuinely remember across sessions
  • Apache 2.0 with a hosted Letta Cloud option for zero-ops deployment
  • Model-agnostic โ€” works with any OpenAI-compatible endpoint including local models
  • Strong fit for personal AI assistants and customer-facing agents
  • Active research lineage โ€” MemGPT papers are heavily cited

โœ— What doesn't

  • Memory paging adds latency vs stateless frameworks โ€” not ideal for high-throughput sub-second workflows
  • Smaller community than CrewAI / LangGraph (newer brand, post-rebrand)
  • Vector DB dependency for archival memory โ€” operational overhead
  • Less mature multi-agent orchestration than LangGraph

Verdict

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.

๐Ÿ’ก Transparency: This review contains affiliate links. If you sign up through our link, we may earn a commission at no cost to you. We only recommend tools we use ourselves. Full disclosure.

Related Tools

Try Letta today

Free OSS

Get Letta โ†’