Retrieved article excerpt
Open article · Retrieved 2026-11-24T07:22:49.491200+00:00
# The Agent Memory Tarpit
By [Nishaanth Reddy](https://morethanamachine.com/authors/nishaanth-reddy/) · November 23, 2026
Three Spider-Men standing knee-deep in black tar pointing at each other, labeled memory-mcp (132 repos), mcp-memory (104 repos), and memory-mcp-plus ($/month), behind a wooden sign reading Agent Memory Tar Pit, Pop. ~8,000.
## [00] Startup Tarpits
**Agent Memory is a startup tarpit. Please do not create another one!**
Y Combinator defines a [tarpit idea](https://www.ycombinator.com/library/LH-tarpit-ideas-the-sequel) as a concept that sounds obvious, pulls in waves of founders with the same pitch, and repeatedly fails because nothing structural has changed. Classic examples are note-taking apps and “social networks for making plans”.
Agent memory is the AI-era version, most visibly through Model Context Protocol (MCP) servers. I know this space from working on graphs and embeddings (an agent memory system was my starter project too). Most of those ~8,000 repos reuse the same three storage backends, sit at zero stars, and stall within a month. Building one is a great way to learn extraction and retrieval, but standalone consumer products lose to hosts that ship memory directly.
## [01] The GitHub Census
On Nov 12, 2026, searching public non-fork GitHub repos with both `mcp` and `memory` in the name returned **1,530 repos**. Broadening the search to names, descriptions, and topics returned **13,509 repos**. Hand-labeling a random sample of 200 confirmed **118** primary agent-memory projects (59.0%), which puts the pool at roughly **7,970 agent memory MCPs** (full sampling details are in [the appendix](https://morethanamachine.com/posts/agent-memory-tarpit/#0a-appendix-dataset-and-sampling)).
That estimate is a floor. Requiring both keywords in repo metadata misses **9 of the 13 largest** memory projects that ship an MCP server, including:
1. [claude-mem](https://github.com/thedotmack/claude-mem) (116,633 stars)
2. [Mem0](https://github.com/mem0ai/mem0) (68,898)
3. [Hindsight](https://github.com/vectorize-io/hindsight) (60,745)
4. [Graphiti](https://github.com/getzep/graphiti) (32,787)
5. [Supermemory](https://github.com/supermemoryai/supermemory) (31,606)
Together, all 13 high-star MCP memory projects total **506,637 stars** (full table in [the appendix](https://morethanamachine.com/posts/agent-memory-tarpit/#0a-appendix-dataset-and-sampling)).
### The Naming Shift
If we count only literal repo names, creation peaked in April 2026 at 132 repos.
**Monthly new repos** literal name vs. full metadata pool (exact, separate axes)
Literal name · `mcp memory in:name`
0
50
100
150
Apr 26 · 132
91
Nov 24
May 25
Nov 25
May 26
Oct 26
Full pool · `in:name,description,topics`
0
600
1,200
1,800
Oct 25 · 136
Oct 26 · 1,676
Nov 24
May 25
Nov 25
May 26
Oct 26
GitHub Search API · pulled Nov 12, 2026 · 24 full months shown (partial Nov 1 to 12 added 41 literal and 612 full-pool repos) · zero-based axes
People kept writing memory MCPs and started naming them after neuroscience terms and Greek mythology instead:
| Exact Repo Name | Public Repos In Pool | Share With 0 Stars | Top Starred Repo |
| --- | --- | --- | --- |
| `memory-mcp` | 132 | 72.7% | 100 |
| `mcp-memory` | 104 | 75.0% | 223 |
| `engram` | 98 | 46.9% | 8,075 |
| `cortex` | 47 | 36.2% | 76 |
| `agent-memory-mcp` | 39 | 61.5% | 45 |
| `mnemo` / `mnemosyne` / `mneme` / `mnemos` | 90 | 44.4% | 223 |
### Attention And Lifespan
I checked star counts across the 118 confirmed repos and pulled push dates and commit counts on Nov 23, 2026 for the **113 repos** at least 30 days old.
**Confirmed agent-memory sample** attention vs. active lifespan (exact)
GitHub stars · n = 118 confirmed repos
0 stars**57.6% (68)**
1 to 5 stars**29.7% (35)**
6 to 20 stars**6.8% (8)**
21 to 100 stars**4.2% (5)**
Over 100 stars**1.7% (2)**
0%50%100%
Active push span · n = 113 repos ≥30 days old
1 day or less**31.9% (36)**
2 to 7 days**8.8% (10)**
8 to 30 days**15.0% (17)**
31 to 90 days**11.5% (13)**
Over 90 days**32.7% (37)**
0%50%100%
Stars pulled Nov 12, 2026 (n = 118) · push dates pulled via GitHub GraphQL Nov 23, 2026 (n = 113 created ≤ Oct 25)
Across the 118 confirmed repos, the median sits at **0 stars** (87.3% have 5 or fewer). Across the 113 repos at least 30 days old, **55.8%** stopped seeing pushes within 30 days (median active span 18.2 days), while only **29.2%** had any push between Oct 24 and Nov 23, 2026. Among the 112 with a default branch, 30.4% have 5 commits or fewer.
## [02] The Third Party Tax
Even with a solid storage layer, putting memory behind an MCP server adds real friction inside someone else’s host. Suppose in March you tell an agent, “I live in Austin.” In June you say, “I moved from Austin to Seattle.” In July you ask, “Find a dentist near me.”
- **Probabilistic reads and writes** mean the model can skip `save_memory` in June or `search_memory` in July because, as I argued in [Discover Agents, Not Tools](https://morethanamachine.com/posts/discover-agents-not-tools/), listing a tool doesn’t guarantee invocation.
- **Tool schemas and extra round-trips** add overhead on every turn, costing 200 to 500 tokens per tool before turn 1 (one sampled repo exposes 38 memory tools) plus another inference call per lookup.
- **Dynamic tool outputs** work against Key-Value (KV) prefix caching. As covered in [An Intro to the KV Cache](https://morethanamachine.com/posts/intro-to-kv-cache/), hosted providers discount cached prefixes roughly 10×. Native memory sits in a stable session-start prefix across turns, while MCP returns variable payloads on demand that have to be prefilled fresh.
- **No passive capture** leaves pure MCP blind between calls, so it can’t record turns automatically when a session ends.
**One prompt, two memory paths** *“Find a dentist near me” · schematic*
Third-Party Memory MCP
**1. Load tool schemas**6 to 38 MCP definitions in prompt
↓
**2. Probabilistic recall**model may skip search\_memory
↓
**3. Extra round-trip**tool call + uncached payload prefill
↓
**4. Probabilistic write**forgets to save unless hooks exist
**protocol friction**extra latency, fragile triggers, blind between calls
First-Party Native Memory
**1. Stable prefix**bounded summary loaded at session start
↓
**2. Direct turn-1 answer**zero recall round-trip needed
↓
**3. Passive capture**host sees full transcript natively
↓
**4. Async consolidation**updates profile outside critical path
**host advantage**owns prompt prefix, lifecycle, and background sync
The largest coding-agent memory repos already work around the capture limit. Both [claude-mem](https://github.com/thedotmack/claude-mem) and [OpenViking](https://github.com/volcengine/OpenViking) rely on **harness-specific lifecycle hooks** (`Hooks + MCP`) to capture turns automatically and use MCP mainly for search. That workaround only works in local developer CLIs that expose hook APIs, not in consumer apps like ChatGPT or Claude web and mobile where third parties only get tool calls. Even across coding harnesses, hook events and config formats aren’t standardized, so a portable MCP server turns back into a stack of host-specific plugins.
## [03] Built In Platform Memory
The major hosts now ship built-in memory, while MCP itself ships a reference server in [`@modelcontextprotocol/server-memory`](https://github.com/modelcontextprotocol/servers/tree/main/src/memory).
| Host (Nov 2026) | Manual Layer | Built-In Auto-Memory | Capture Mechanism | Cross-Host Portability |
| --- | --- | --- | --- | --- |
| **ChatGPT** | Custom Instructions | [Saved Memories & Chat History](https://help.openai.com/en/articles/8590148-memory-in-chatgpt) | Passive background synthesis + explicit saves | Low (account-bound) |
| **Claude** | Profile & Project Instructions | [Built-In Memory](https://support.claude.com/en/articles/11817273-use-claude-s-chat-search-and-memory-to-build-on-previous-context) + [import tool](https://support.claude.com/en/articles/12123587) | Automatic across web, desktop, and mobile | One-way import in |
| **Claude Platform API** | Developer System Prompt | [Memory Tool (`/memories`)](https://platform.claude.com/docs/en/agents-and-tools/tool-use/memory-tool) & [Memory Stores](https://platform.claude.com/docs/en/managed-agents/memory) | Client-side file ops or hosted sandbox store | App-controlled |
| **Claude Code** | `CLAUDE.md` | [Auto Memory (`MEMORY.md`)](https://code.claude.com/docs/en/memory) | Automatic local notes (first 200 lines / 25 KB loaded) | Low (`~/.claude/`) |
| **OpenAI Codex** | [`AGENTS.md`](https://learn.chatgpt.com/docs/agent-configuration/agents-md) | [Local Memories](https://learn.chatgpt.com/docs/customization/memories) (opt-in) | Workspace rules + optional local store | High for `AGENTS.md` |
| **Cursor** | Project & Team Rules | Shifted toward explicit rules & team context | Repository and workspace configs | Reads `AGENTS.md` |
Claude and ChatGPT both support third-party connectors, with external memory servers listed right in Claude’s directory, so external memory MCPs work today.
Memory is a strong retention lock-in for consumer AI apps, which is why Anthropic built an importer to pull preferences out of competing chats. I don’t see why OpenAI or Anthropic would put effort into keeping an external memory MCP as fast or as tightly wired into prompt caching as their own built-in memory.
## [04] Graph, Vector, And Filesystem
Even if you try to beat built-in memory on the storage layer, almost every repo in the pool uses one of three backends or a hybrid of them. Let’s run that same Austin-to-Seattle update through all three to see how each behaves.
**Same state update, three backends** *schematic*
March“I live in Austin”
→
June“Moved to Seattle”
→
July prompt“Find a dentist near me”
Vector Store 30.5%
**Stored after June**2 embeddings: Austin + Seattle
↓
**July recall**returns both cities
**where it breaks**similarity keeps superseded facts next to new ones
Knowledge Graph 10.5%
**Stored after June**Austin expired, Seattle active
↓
**July recall**Seattle (if aliases merged)
**where it breaks**extra LLM calls on write + alias drift
Files / SQLite 14.3% · 18.1%
**Stored after June**2 lines in MEMORY.md
↓
**July recall**loads whole file (grep misses)
**where it breaks**stale notes bloat context unless pruned
Mention rates from n = 105 confirmed agent-memory repos with descriptions or topics (13 had none) · categories overlap because hybrids mix backends
**Vector stores** show up most often (30.5% of described repos). Cosine similarity matches by topic instead of recency, so “I live in Austin” and “I moved from Austin to Seattle” embed close together and both come back in July. Switching embedding models also forces a full re-index.
**Knowledge graphs** show up in 10.5% of described repos, including MCP’s reference [`@modelcontextprotocol/server-memory`](https://github.com/modelcontextprotocol/servers/tree/main/src/memory), [Graphiti](https://github.com/getzep/graphiti), and [Cognee](https://github.com/topoteretes/cognee). Expiring the March Austin edge in June takes bi-temporal tracking (separating *valid time* from *transaction time*, as in [Zep’s Graphiti paper](https://arxiv.org/abs/2501.13956)) plus entity resolution so “home,” “current city,” and “location” map to the same relation. That adds LLM extraction calls on every write, plus roughly double the context tokens and triple the p95 search latency for a 1.56-point gain in [Mem0’s LoCoMo ablation](https://arxiv.org/abs/2504.19413) (full comparison in [the appendix](https://morethanamachine.com/posts/agent-memory-tarpit/#benchmark-limits)).
**Filesystem and SQLite** designs (14.3% Markdown or files, 18.1% SQLite or Full-Text Search 5 (FTS5)) keep state readable and easy to debug. That matches [Anthropic’s context engineering guide](https://www.anthropic.com/re