Compare

A Letta alternative for teams that want memory, not a new agent OS

Letta is an agent framework and research lab with memory at the center of its design. AI Memory is a layer you add to the stack you already have: your orchestration, your prompts, your tools and your model stay where they are.

Updated October 19, 20269 min readAI Memory field guide
A portable memory core beside an agent shell on a near-black background.

The two products start from different places

Letta, the project that grew out of MemGPT, starts with the agent. Its memory model is part of the agent runtime: memory blocks, a context constitution, stateful agents and a development environment designed around that architecture.

AI Memory starts with the application. You already have an agent loop, a framework or a product with real users. The memory layer sits beside it: one endpoint to write events, one to retrieve context, and a graph you can inspect and export.

Neither starting point is wrong. They answer different questions. Letta asks, “How should an agent be built if memory is central?” AI Memory asks, “How do I add durable memory to the agent I already shipped?”

Letta and AI Memory at a glance

Letta publishes an open-source agent framework and a hosted agent product. Its public homepage emphasizes research and the Letta Agent rather than a self-serve memory API price list. AI Memory is positioned as a memory layer with published Pro and Scale plans.

DimensionLettaAI Memory
Primary productAgent framework and agent runtimeMemory layer and memory API
Integration modelBuild or adopt an agent around LettaAdd memory to an existing agent or app
What you keepLetta’s agent architecture and toolingYour orchestration, prompts, tools and model
Memory modelMemory blocks and stateful agentsExtraction, merge, graph retrieval and compression
PortabilityOpen-source framework and agent stateJSON memory graph export
Best fitTeams that want a memory-native agent runtimeTeams that want a smaller layer beside their current stack

Sources: https://www.letta.com/ and https://ai-memory.lol/, checked October 19, 2026. Letta’s packaging and hosted pricing may change; verify directly before purchasing.

What you keep when you choose the layer

The most expensive part of an agent is usually not the model call. It is the orchestration, the tool contracts, the evaluation suite and the operational knowledge that took months to build. Replacing all of that to get memory is a large bet.

AI Memory is designed to avoid that bet. You keep your existing agent loop and add a write before the model call and a read before the prompt is assembled. If the memory layer is wrong for you, the export is a JSON file rather than a rewrite.

  • Keep your framework: LangChain, LlamaIndex, Vercel AI SDK, a custom loop or plain HTTP.
  • Keep your model: any provider, any mix, including open models.
  • Keep your tool contracts and your evaluation suite.
  • Add scoped memory, extraction, merging, retrieval and deletion.

What the memory layer adds

A layer is useful only if it removes work from the application. AI Memory takes over the parts that are tedious to build and easy to get wrong.

JobWhat AI Memory doesWhat you stop maintaining
ExtractionPulls facts, preferences, decisions, constraints and episodes out of raw events.A growing pile of prompt instructions and regexes.
MergingDeduplicates, updates and supersedes memories instead of appending.A summary table that slowly contradicts itself.
RetrievalScores similarity, recency, memory kind and graph relations, then reranks.A hand-tuned retrieval pipeline for every agent.
DeletionDeletes by memory, user, tenant or TTL with an audit trail.A separate compliance script that nobody tests.
ExportReturns the graph as JSON.A migration project when you change vendors.

When Letta may be the better choice

Letta is the better choice when you are designing an agent from scratch around memory, and you want the runtime, the memory model and the tooling to come from one team. Its research lineage and open-source framework are real advantages for teams that want to explore memory-native agent architectures.

Letta may also be the better fit if you want an opinionated agent development environment rather than a small API surface.

AI Memory is the better fit when the agent already exists and memory is the missing infrastructure piece, not the whole product.

Moving from Letta without losing the plot

  • Inventory what lives in memory blocks today: persona, user facts, task state and tool observations.
  • Separate durable facts from working state. Not every memory block should become a long-term memory.
  • Map Letta agents to AI Memory agent scopes and keep the user and tenant ids explicit.
  • Replay a sample of real conversations and compare the retrieved context, not only the final answer.
  • Keep the old state export until the new retrieval has passed your evaluation suite.

Frequently asked questions

Is AI Memory a Letta replacement?

Not exactly. Letta is an agent framework and runtime; AI Memory is a memory layer. You can use AI Memory beside an existing agent stack without adopting a new runtime.

Does AI Memory support memory blocks like Letta?

AI Memory organizes memories by kind, scope and entity graph rather than by named blocks. The API exposes add, search, update, delete and export operations.

Can I use AI Memory with an open-source model?

Yes. The memory layer is model-agnostic. It sits beside the model call and does not require a specific provider.

Why would I choose a layer over an agent OS?

If your agent already works and you only need durable context, a layer has a smaller blast radius. You avoid replacing orchestration, tools and evaluation while adding memory.

Can I migrate Letta memory into AI Memory?

You can export the durable parts of your Letta state and replay them as events or memories. Separate durable facts from working state first, then compare retrieval against real questions.

Does AI Memory lock me in?

The graph exports as JSON, and the same API can run against your own infrastructure when the self-hosted path fits your environment. You should still test the export before you depend on it.

Add memory without rebuilding the agent

Connect one event stream, keep your current stack, and measure whether the retrieved context improves the answers your users already care about.