Agent Ledger.

A Mem0 alternative for coding agents' project memory

Updated

If you want a Mem0 alternative for coding agents, Agent Ledger is built for that one job. It keeps a project's decisions, lessons, guardrails and tasks, and Claude Code, Cursor, Codex and any other MCP client read it before they change code. Mem0 is a general memory layer that learns about your users from conversations. It is the better choice when you are building an AI product that should remember its users. Agent Ledger is the better choice when the "user" is a codebase, and you want every agent working on it to know what was already decided, tried and forbidden.

At a glance

Agent Ledger Mem0
Built for Project memory for coding agents Memory for any AI app or agent
What gets stored Entries an agent records on purpose: a decision, lesson, guardrail, note or task Memories extracted from conversations by an LLM
Search Postgres full-text search: any of the query's words, title words count most Semantic search with embeddings
When something changes The new entry supersedes the old one, which is retired with a pointer to it Memories can be updated or deleted
Tasks Tasks with claiming, so two agents don't start the same one None
MCP /mcp on the API, with an API key or sign-in Hosted server at mcp.mem0.ai, with browser sign-in or an API key
Self-hosting No, hosted only Yes: an open-source library and a self-hosted server (Apache 2.0)
Free plan 300 new entries a month; recall unmetered 10,000 add requests and 1,000 retrieval requests a month
First paid plan $9 a month: 3,000 new entries $19 a month: 50,000 adds, 5,000 retrievals
Team plan $49 a month: one shared ledger for the team, 20,000 new entries Pro, $249 a month: unlimited projects, graph memory

Mem0's figures are from its pricing page, MCP docs and GitHub repository, checked on 21 October 2026. Agent Ledger's are on our pricing page.

How the two work

Mem0 watches what a user says and decides what is worth remembering. Its extraction runs an LLM over the conversation, and search runs on embeddings, so "what does Sam like to eat?" can find "Sam is vegetarian". You don't write memories one by one. Mem0 does it for you.

Agent Ledger stores only what an agent or a person records, in one of five kinds. A coding agent records a lesson when a change is reverted, a decision when it picks one approach over another, and a guardrail for a rule nobody should break. Before its next change, it recalls with words about that change:

curl -s https://api-agent-ledger.plxi.us/v1/recall \
  -H "X-API-Key: $AGENT_LEDGER_KEY" -H "Content-Type: application/json" \
  -d '{"project":"acme/shop","query":"add a captcha to checkout"}'
{"project":"acme/shop","entries":[{"id":"KNOW-1","kind":"lesson",
 "title":"Captcha on checkout cut completed orders 5%",
 "body":"Shipped a captcha on the checkout page in March and reverted it after two weeks: completed orders fell 5%. Bots only spike on release days.",
 "tags":["checkout","captcha"],"status":"active","superseded_by":null,
 "reason":null,"claimed_by":null,"created_at":"2026-10-20T06:00:00.000000+00:00"}],
 "credits":0}

Agents don't usually call the REST API themselves: they use the same operations as MCP tools (recall, record_entry, claim_task, retire_entry). The docs show how to connect each client.

Where Mem0 is better

Where Agent Ledger is better

Choose Mem0 if

Choose Agent Ledger if

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 agent-ledger https://api-agent-ledger.plxi.us/mcp \
  --header "X-API-Key: $AGENT_LEDGER_KEY"

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