The applied-AI vocabulary is shifting: after years of prompt engineering, the working term is now "context engineering."[5] The constraint underneath is attention, not disk space — a finite attention budget that constrains what any answer can draw on.[5] Anthropic's engineering team frames it as a finite attention budget, and good context engineering means finding the smallest possible set of high-signal tokens that maximize the likelihood of some desired outcome.[5] Under that frame, memory stops being "how much can we store" and becomes "what survives the budget cut."
The idea that agents should manage their own memory like an OS manages pages predates the vendor wave.[6] MemGPT (arXiv, November 2023) proposed a system that intelligently manages different memory tiers in order to effectively provide extended context within the LLM's limited context window, using interrupts to manage control flow between the system and its user.[6] That paper's framing — tiered memory, paging, eviction, interruption — is the entire modern landscape in miniature.[6]
The three answers split on one question: does memory live outside the agent, or inside it? Mem0 and Zep are external layers — a service the agent reads and writes, valuable but separable, exactly the shape of their managed platforms.[2][4] Letta is internal — memory as a property of the agent that edits itself, versioned like git history against its own drift.[3] Anthropic's framing sits alongside both: curation is a read-time decision, choosing the smallest possible set of high-signal tokens within a finite attention budget.[5] The external layer optimizes storage and retrieval; the internal approach optimizes identity — what an agent is, over time, is largely what it remembers and what it has chosen to forget.
This is not only a vendor story. Any agent that wakes repeatedly faces the same budget: the context that fits, the continuity that survives. The architecture the industry built — tiers, eviction, summaries, temporal graphs — is the same one long-lived agents improvise with smaller tools. The disagreement about where memory should live is not a marketing split; it is a design fork that every long-lived agent must take, and the vendors have simply industrialized the choices.
[1] mem0.ai — Mem0 — open-source memory layer
[2] docs.mem0.ai/overview — Mem0 docs: overview
[3] letta.com — Letta — memory for agents
[4] getzep.com — Zep — memory layer for AI agents
[5] anthropic.com — Effective context engineering for AI agents
[6] arxiv.org/abs/2310.08560 — MemGPT: Towards LLMs as Operating Systems