Letta / MemGPT

https://www.letta.com/

Originated as MemGPT (UC Berkeley), where the model pages its own memory between context, recall and archival tiers. The product now centres on Letta Code, a stateful agent harness whose agents rewrite their own memory, skills and prompts over time.

Active · Verified 2026-10-29 · fresh as of 2026-10-29 · 75 cited facts, 4 with a third-party source · 2 recorded changes · Suggest a correction

At a glance

Tier
T1
Created
2023-10 vendor fix
License
Apache-2.0 repo fix
Freshness
2026-10-29 fix
Layer
agent-infra repo fix
Licensing
open-core vendor fix
Deployment locus
hybrid repo fix
Platform vs product
both repo fix
SDK languages
python, rest, typescript vendor fix
Protocols
mcp-client, mcp-server vendor fix

Memory taxonomy

storage
kv
retrieval
similarity
persistence
long-term
update
agent-controlled
unit
episode
governance
inspectable
conflict
llm-arbitrate

When to use

Optimised for: LLM-as-OS paradigm; agent autonomy in managing its own memory

Anti-fit: no anti-fit explicitly stated

Pros & cons

Pros

Most architecturally principled — explicit OS-style tiering makes capacity behavior predictable; UC Berkeley origin + active v1 maturity.

Cons

Tier configuration adds operational complexity vs flat vector memory; latency is sensitive to paging decisions on long histories.

Claims & capabilities

$10M seed at $70M (Sep 2024). Reports ~83.2% on LongMemEval; ~74.0% on LoCoMo with gpt-4o-mini using files-as-memory.

Technical surface

API surface
REST, SDK: Python, TS
Backend storage
Postgres + pgvector
Deployment
Both
Embedding model
multiple supported
Multi-tenancy
Logical namespace per org/project/agent; self-hosted Docker option for hard tenant isolation
MCP
native (first-party) — Letta serves & consumes MCP
A2A
not documented publicly
OpenTelemetry
not documented publicly

Compare Letta / MemGPT with…

Similar systems

Other dedicated memory layers in the catalog, ranked by inbound references.

  • Mem0 T1

    Universal memory layer for AI agents. Three concurrent stores (vector + graph + KV); LLM-extracted facts; concurrent retrieval via ThreadPoolExecutor.

  • Zep & Graphiti T1

    Bi-temporal knowledge graph (event time + ingestion time). Strong on chronological reasoning and contradiction tracking. Graphiti is the open-source core.

  • Cognee T1

    "Extract–Cognify–Load" pipeline that turns raw input into a typed, queryable knowledge graph for agent recall.

  • Hindsight (Vectorize) T1

    Standalone memory service from Vectorize. Open source. Biomimetic four-network design (World, Bank, Observation, Opinion). Ships an MCP memory server.

  • Memori T2

    Structured, persistent memory layer for AI agents. Open source.

  • Memvid T2

    Single-file memory layer (one .mv2 file). No DB, no server. Append-only sequence of immutable Smart Frames with timestamps + checksums. Native Rust core (rewritten from Python).

Sources (74 cited facts, 4 third-party)

Each fact links to the page it came from; the badge says who published it (how to read sources).

What changed

Changes to this record's lifecycle, licence, release, pricing and hosting facts, from the catalog's git history. Subscribe (Atom)

  1. 2026-10-29
    • Latest release “Letta Code (PyPI letta) v0.34.12 (2026-10-12); last letta-ai/letta server tag v0.16.8 (May 2026)” → “Letta Code v0.34.30 (npm @letta-ai/letta-code, 2026-10-29); PyPI letta v0.34.12 (2026-10-12); last letta-ai/letta server tag v0.16.8 (May 2026)” source
    #307
  2. 2026-10-22
    • Latest release “0.16.7 2026-03-31” → “Letta Code (PyPI letta) v0.34.12 (2026-10-12); last letta-ai/letta server tag v0.16.8 (May 2026)” source
    • Pricing “Free + paid” → “Free $0 (3 agents); Pro $20/mo; Developer pay-as-you-go ($0.10/active agent/mo); Teams; Enterprise custom” source
    #195

Related systems

References (11)

  • Anthropic Claude (foundation models) integrates with · depends on at runtime — adjacent-infrastructure cell: BYO LLM (OpenAI/Anthropic/local); bundled storage (Postgres/SQLite)
  • DeepSeek R1 / V3 family integrates with — Letta models docs list DeepSeek in the supported model provider table. (verified 2026-10-29)
  • Fireworks AI integrates with — Letta models docs list Fireworks in the supported model provider table. (verified 2026-10-29)
  • Google Gemini 3 family integrates with — Letta models docs list Google Gemini in the supported model provider table. (verified 2026-10-29)
  • Mistral Large 2 / Mixtral family integrates with — Letta models docs list Mistral in the supported model provider table. (verified 2026-10-29)
  • Model Context Protocol (MCP spec) integrates with — Letta Agent SDK docs cover connecting sessions to stdio, HTTP and SSE MCP servers. (verified 2026-10-29)
  • OpenAI GPT family (GPT-5 / GPT-4o / o3 / o4) integrates with · depends on at runtime — adjacent-infrastructure cell: BYO LLM (OpenAI/Anthropic/local); bundled storage (Postgres/SQLite)
  • OpenRouter integrates with — Letta models docs list OpenRouter in the supported model provider table. (verified 2026-10-29)
  • pgvector depends on at runtime — backend-storage cell: Postgres + pgvector
  • Together AI integrates with — Letta models docs list Together AI in the supported model provider table. (verified 2026-10-29)
  • xAI Grok 4 integrates with — Letta models docs list xAI in the supported model provider table. (verified 2026-10-29)

Referenced by (5)

  • e2b integrates with — E2B docs have a Letta / MemGPT integration guide. (verified 2026-10-29)
  • LiveKit Agents integrates with — LiveKit Agents docs have a Letta / MemGPT model plugin page. (verified 2026-10-29)
  • Milvus integrates with — Milvus's integrations overview lists a Milvus + Letta / MemGPT integration tutorial. (verified 2026-10-29)
  • Pydantic Logfire integrates with — Pydantic Logfire integrations docs have a Letta page. (verified 2026-10-29)
  • Vercel AI SDK integrates with — AI SDK docs have a Letta community provider page. (verified 2026-10-29)