RepoMemory.

A Letta alternative for the coding agents you already use

Updated

If you want a Letta alternative that gives memory to the coding agents you already use, RepoMemory does that one job. Letta (formerly MemGPT) is a platform for building stateful agents: its own agent harness, Letta Code, keeps an agent's memory and lets the agent rewrite it over time. You switch to a Letta agent to get that memory. RepoMemory works the other way round. Claude Code, Cursor, Codex and any other MCP client keep doing the work, and they share one ledger of the project's decisions, lessons, guardrails and tasks. Letta is the better choice when you want an agent that learns and lives on its own. RepoMemory is the better choice when you want your current agents, and your team, to remember the same things about a codebase.

At a glance

RepoMemory Letta
Built for Shared project memory for the coding agents you already use Building stateful agents that learn and improve with use
The agent Yours: Claude Code, Cursor, Codex or any MCP client Letta's own harness (Letta Code), or agents you build with its Agent SDK
What gets stored Entries an agent records on purpose: a decision, lesson, guardrail, note or task The agent's own memory: Markdown files in a git-backed filesystem (MemFS)
Who edits memory The agent records entries; people browse, edit and delete them on the Ledger page The agent edits its own memory with file tools, and background "dreaming" consolidates it
Search Postgres full-text search on words File search by default; keyword, semantic or hybrid search with a mod
MCP /mcp gives any MCP client brief, recall, record_entry, claim_task and retire_entry api.letta.com/mcp lets an MCP client create and message Letta agents
Self-hosting No, hosted only Yes: a local runtime and a self-hosted App Server; the harness is Apache 2.0
Free plan 300 new entries a month; recall unmetered 3 stateful agents, 5 MiB per memory repo, limited usage
First paid plan $9 a month: 3,000 new entries Pro, $20 a month: up to 20 agents, 50 MiB per memory repo
Team plan $49 a month: one shared ledger, 20,000 new entries Teams Pro, $20 a seat a month: shared agents and access control

Letta's figures are from its pricing page, docs, hosted MCP page and GitHub repository, checked on 22 October 2026. RepoMemory's are on our pricing page.

How the two work

Letta calls itself "the platform for building stateful agents" (checked 22 October 2026). A Letta agent is a persistent identity with its own memory, model settings, tools and message history. Its memory lives in MemFS, a git-backed set of Markdown files. Files at the root go into the agent's system prompt on every turn. The agent reads and edits them with ordinary file tools, and every edit is a git commit. Its memory page says the agent updates memory when it learns something durable, and background subagents "dream" over recent conversations to tidy it up. Letta's older V1 SDK also had memory blocks and archival memory, a vector store, both now listed under "V1 SDK (legacy)".

RepoMemory doesn't run an agent. It stores what your agents and people record, in one of five kinds, per project. A session starts with brief: every guardrail, the open tasks and the latest decisions. Before a change, the agent recalls with words about it:

curl -s https://api.repomemory.dev/v1/recall \
  -H "X-API-Key: $REPOMEMORY_KEY" -H "Content-Type: application/json" \
  -d '{"project":"acme/shop","query":"add a captcha to checkout"}'

Agents use the same operations as MCP tools. Because the memory sits outside the agent, Claude Code can record a lesson and Cursor can recall it an hour later. The docs show how to connect each client.

Where Letta is better

Where RepoMemory is better

Choose Letta if

Choose RepoMemory if

Comparing memory layers too? See our Mem0 alternative page.

Try it

The free plan needs no card. Sign in, create a key, and add the MCP server to Claude Code:

claude mcp add --transport http repomemory https://api.repomemory.dev/mcp --header "X-API-Key: $REPOMEMORY_KEY"

Cursor, VS Code and Claude.ai use the same URL. See the docs for each, and pricing for the plans.