
Letta Alternatives in 2026: 9 AI Agent Memory Tools Compared
Membase Team · Last updated: November 2026
Disclosure: Membase is our product. We list it first because it’s the alternative we know best, and we say plainly where Letta or another tool is the better fit. Facts were checked on each vendor’s docs, pricing page and GitHub repository in November 2026.
Letta (formerly MemGPT) builds stateful agents that manage their own memory. In 2026 it changed shape: the open-source Letta V1 API server is retired, and Letta is now an agent harness (CLI, web app and a TypeScript Agent SDK) where each agent keeps its memory in a git-backed file system called MemFS.
Teams look for an alternative when they want a memory layer, not a whole agent runtime: memory their own agents and tools call, in the language and framework they already use.
The alternatives:
-
Membase: one memory your agents and AI tools share, with access per app. Free in beta.
-
Mem0: the most widely used memory API, with per-user scoping.
-
Zep / Graphiti: a temporal knowledge graph that tracks how facts change.
-
Supermemory: a managed memory graph with many built-in connectors.
-
Cognee: open-source graph memory built from documents.
-
Hindsight: an MIT-licensed memory engine you can self-host for free.
-
LangMem: memory tools for agents built on LangGraph.
-
AWS Bedrock AgentCore Memory: managed memory for agents on AWS.
-
Google Vertex AI Memory Bank: managed memory for agents on Google Cloud.
Stay on Letta if you want agents that own their memory and improve themselves, with a ready harness for coding, chat and messaging channels.
Why teams look for a Letta alternative
1. The V1 API server is retired. Letta’s original repository now points to letta-ai/letta-code, and its README says the retired V1 API server lives on an archive branch. Self-hosting today means running the Node-based Letta harness and App Server. (Letta on GitHub)
2. You adopt an agent harness, not a memory API. In Letta, memory belongs to the agent: it lives in the agent’s MemFS repository, and the agent reads and edits it with file tools. That’s powerful if you’re building on Letta, and a lot to adopt if you only need memory for agents you already have. (MemFS)
3. The Agent SDK is JavaScript and TypeScript. Letta’s Agent SDK targets JavaScript or TypeScript projects; running the runtime yourself needs Node.js 22.19 or later. (Agent SDK)
4. Usage-based cost is hard to predict. Free and Pro ($20 a month) include limited Letta Auto quota, then pay-as-you-go credits. Letta’s own guidance says casual coding users typically spend about $100 a month or more, and power users $200 or more. The API plan is $20 a month plus $0.10 per active agent and tool execution time. (Letta pricing)
5. Shared memory is cloud-only. Shared memory repositories, which let several agents work from the same files, are hosted in Letta Cloud. The older shared memory blocks are a legacy API. (Shared memory)
Letta alternatives at a glance
| Tool | Pick it over Letta when | Memory model | Self-host | Pricing |
|---|---|---|---|---|
| Membase (beta) | Your agents and AI tools should share one memory | Episodes and topic trees, each with its source | Local mode | Free in beta · Paid plans coming soon |
| Mem0 | You need per-user memory in a multi-tenant app | Extracted facts linked by entities | Yes (OSS) | Free · $19 · $249 · Enterprise |
| Zep / Graphiti | Fact history matters | Temporal knowledge graph | Graphiti only | Free (10K credits) · $125 · $375 |
| Supermemory | Memory should fill from Drive, Gmail or GitHub | Managed memory graph with connectors | Paid binary | Free · $19 and up, usage credits |
| Cognee | Memory comes mostly from documents | Knowledge graph plus vectors | Yes | Free · $1 per 1M tokens |
| Hindsight | You want a free engine to self-host | Four retrieval strategies, reranked | Yes | Free self-hosted · usage-based cloud |
| LangMem | Your agents run on LangGraph | Memory tools on LangGraph’s store | Yes | Free |
| AWS AgentCore Memory | Your agents already run on AWS | Short-term events plus long-term strategies | No | Usage-based |
| Vertex AI Memory Bank | You build on Google Cloud and ADK | Memories generated from sessions, per user | No | Usage-based |

1. Membase: one memory for your agents and AI tools
Membase, built by Unibase, is the memory layer for AI agents. Instead of living inside one agent, memory lives in your Membase account, and everything you connect reads it: your own agents through the Python or TypeScript SDK or REST, and Claude Code, Cursor, Codex, ChatGPT, Claude and Grok through MCP.
from membase import Membase
m = Membase() # reads MEMBASE_API_KEY
m.add("Acme requires SSO via Okta before the pilot.")
m.search("what does Acme need before the pilot?")
Pick it over Letta when:
-
you want memory for agents you already have, in any framework, not a new agent harness;
-
your coding tools and chat apps should share the same memory as your code;
-
each agent should get its own key with a level (Read, Read & write, Full) and a reach (which Memories), enforced on the server;
-
you want a Python SDK as well as TypeScript.
Watch out for:
-
Membase doesn’t run your agents or let them rewrite their own prompts and skills; it’s memory only.
-
Learning happens when a Memory runs, so a new write isn’t searchable instantly.
-
It’s in beta: expect API changes, and no compliance certifications are published yet.
Pricing: Free in beta · Paid plans coming soon.
2. Mem0: the default memory API for multi-tenant apps
Mem0 extracts facts from conversations and scopes them by user_id, agent_id and run_id. On Mem0 Platform, newer facts supersede older ones and memories are linked by shared entities.
-
Pick it over Letta when: you need per-user memory behind one API key in a SaaS app, with Python and TypeScript SDKs and an Apache 2.0 library you can self-host.
-
Watch out for: request quotas (the free Hobby plan has 10,000 adds and 1,000 retrievals a month; Starter is $19, Pro $249).
More options: Mem0 Alternatives in 2026.
3. Zep and Graphiti: memory that tracks change
Zep builds a temporal knowledge graph that records when each fact became true and when it stopped being true. Its engine, Graphiti, is open source under Apache 2.0.
-
Pick it over Letta when: you need fact history over time, or context from business data joined with chat history.
-
Watch out for: Zep Cloud bills credits per byte ingested (Flex is $125 a month); self-hosting means running Graphiti with a graph database. SOC 2 and a HIPAA BAA are on Zep’s Enterprise plan.
Full comparison: Mem0 vs Zep vs Membase
4. Supermemory: managed memory graph with connectors
Supermemory builds a memory graph where new facts update or extend old ones, temporary facts expire, and each user gets a profile.
-
Pick it over Letta when: you want memory filled from Google Drive, Notion, OneDrive, Gmail or GitHub, plus plugins for coding agents.
-
Watch out for: usage draws on monthly credits (Pro is $19 a month), and connectors are tiered by plan. Its self-hosted binary is free up to 10,000 documents and isn’t open source.
Full comparison: Membase vs Supermemory
5. Cognee: graph memory from documents
Cognee turns documents and conversations into a knowledge graph plus vectors, with open-source pipelines under Apache 2.0.
-
Pick it over Letta when: most of your agent’s memory comes from documents, and you want it open source with a simple cloud price (free for 1M tokens, then $1 per 1M tokens).
-
Watch out for: it’s better suited to knowledge bases than to an agent’s personal working memory.
6. Hindsight: free, open-source memory engine
Hindsight, from Vectorize, extracts facts, entities and time data from what your agent sees, then runs four retrieval strategies in parallel and reranks the results.
-
Pick it over Letta when: you want a free, MIT-licensed memory engine to self-host, with no agent framework attached.
-
Watch out for: you operate it yourself unless you use its usage-based cloud.
7. LangMem: memory inside LangGraph
LangMem gives agents tools to save and search memories, works natively with LangGraph’s long-term memory store, and can refine an agent’s prompt from its interactions.
-
Pick it over Letta when: your agents already run on LangGraph and you want memory in the same stack, MIT-licensed.
-
Watch out for: you choose and run the store, and access control is up to your code.
8. AWS Bedrock AgentCore Memory: memory for agents on AWS
AgentCore Memory is part of Amazon Bedrock AgentCore. It stores each conversation as short-term events, then extracts long-term memory in the background using built-in strategies: semantic facts, summaries, user preferences and episodes. Memory is organized per actor (user) and session.
-
Pick it over Letta when: your agents already run on AWS and you want a managed memory service under IAM, VPC and AWS compliance, without adopting a new agent harness. It works with any agent framework, in Python or TypeScript.
-
Watch out for: it’s tied to AWS; long-term extraction runs in the background and can take a minute or more; billing has several meters (events, stored records and retrievals), so model the cost before scaling.
-
Pricing: usage-based, under Amazon Bedrock AgentCore pricing.
9. Google Vertex AI Memory Bank: memory for agents on Google Cloud
Memory Bank is part of Vertex AI Agent Engine. It generates long-term memories from conversation sessions in the background and keeps them separate per user. You can tell it which topics to extract, retrieve by similarity, and limit who reads each user’s memories with IAM conditions.
-
Pick it over Letta when: you build on Google Cloud, especially with Google’s Agent Development Kit (ADK), which supports it natively.
-
Watch out for: it’s tied to Google Cloud; with frameworks other than ADK, you wrap its calls in your own tools or callbacks.
-
Pricing: usage-based, under Vertex AI Agent Engine pricing.
More detail on both cloud services: Best Memory APIs for AI Agents in 2026.
How to choose
-
Memory for agents you already have, shared with Claude Code, Cursor and ChatGPT: Membase
-
Each agent with its own scoped key, some read-only: Membase
-
Per-user memory in a multi-tenant app: Mem0
-
Facts whose history matters: Zep or Graphiti
-
Memory filled from Gmail, Drive or GitHub: Supermemory
-
Memory built mostly from documents: Cognee
-
Free, open-source engine to self-host: Hindsight, Graphiti, Cognee or Mem0’s library
-
Already on LangGraph: LangMem
-
Agents already running on AWS: AgentCore Memory
-
Building on Google Cloud and ADK: Vertex AI Memory Bank
-
Agents that own their memory and improve themselves, with a ready harness: stay on Letta
Moving from Letta to Membase
-
Export what your agent knows. In MemFS, memory is Markdown files in the agent’s repository; in the legacy API, it’s memory blocks.
-
Choose your Memories. Map each agent or topic to a Membase Memory, such as Project decisions or Customer Acme.
-
Import. Add each file or block with
add, using its path or ID ascustom_id, so a re-run never creates duplicates. -
Wait for learning. Check each document’s
learnedflag before your agents depend on it. -
Connect. Point your agents’ SDK calls and your MCP clients at Membase, and compare answers on your own test questions before switching over.
Get started: Open Membase · Docs · GitHub · Discord