past.dev (@pastdotdev) header
past.dev (@pastdotdev) profile picture

https://xitter.gq/t.co/AG5Mhe5gi2 is the most accurate long-term memory API for AI agents. #1 on BEAM, the largest public memory benchmark.

San Francisco
Joined August 2026
Photo by past.dev (@pastdotdev)
Measuring the long-term memory of the leading coding agents: Claude Code vs Codex vs Devin The past.dev team tested the memory of the 3 leading AI coding agents, Claude Code, Codex and Devin, each using its own harness and built-in memory, on DolphinBench's 600 tests. Key takeaways: ➤ Devin Memory ranks first. Devin's built-in memory scored 84.7%, 8.5 points ahead of Claude Code and 18.4 ahead of Codex. ➤ past.dev improves all three. With past.dev's plugin on top of their memory, Claude Code climbs from 76.2% to 89.7% and Codex from 66.3% to 85.8%. Devin with past.dev reaches 93.2%. ➤ past.dev cuts token costs. past.dev cut input tokens per test by 41% on both Claude Code and Codex, and more than halved Codex's cost per passed test ($0.119 → $0.055). ➤ Devin + past.dev reached 93.2%, the highest score in our runs, with no latency cost. Testing method: ➤ The benchmark was designed by mem0 and consists of 600 questions, 200 per person (Morgan, Alex, Riley). Questions are based on a history of 13,539 messages: 339 are memory questions and 261 require document generation based on memory. ➤ Answers were graded by the official grader in DolphinBench: gpt-5.6-sol with medium effort. ➤ Each agent built its own memory from the replayed history, as it would for a real user. Devin used its medium model on Devin cloud, Claude Code used Opus 5.5, and Codex 0.165 used Sol 6.1 with Memory v2.
5
10
4
23
4,852
You can install the past.dev plugin in Devin, Claude Code or Codex, or use the past.dev API with your own agent. Our coding-specific modules will be released soon. Stay tuned for more benchmarks.
1
28
Every agent built its own memory from the exact same 13,539 messages, then underwent the exact same 600 tests in fresh sessions, graded by the exact same judge. Then we added the past.dev plugin, our long-term memory layer, on top of Claude Code's, Codex's and Devin's built-in memory to see how much further each could go.
1
27
On Codex, across both models we tested, past.dev reduced input tokens by 41 to 55% and more than halved the cost per passed test. On Claude Code with Opus 5.5, past.dev cut input tokens per test by 41% (193,811 → 114,020) and cost per passed test by 41% ($0.449 → $0.264).
1
34
past.dev didn't replace the built-in memory but ran on top of it as a plugin. Before each request, the plugin recalls the memories that are most relevant to the task. The agent can then call past.dev to search for more.
1
32
Devin has the best built-in memory of the three: Devin Memory scored 84.7%, ahead of Claude Code on Opus 5.5 (76.2%) and Codex on Sol 6.1 (66.3%). Each memory links back to the session it originated from and Devin reopens that session when it needs the details.
1
47
DolphinBench, an open benchmark from mem0, measures the actions agents take instead of what they find. Each test gives the agent a request, a set of working apps (email, Slack, Discord, calendar, a CRM), and checks what it does with it.
1
1
55
Engineering is more than code. Engineers use their coding agent to plan migrations, fix bugs, write specs, answer teammates or post release notes. Much of what the agent needs to get things right is not in the codebase: it lives in Slack, meeting transcripts, emails, etc.
1
1
81
When developers keep long sessions going with their coding agents for days or weeks, memory becomes a central driver of their ability to execute tasks successfully and efficiently. Memory also has a real impact on cost: every token an agent reads to remember something is a token you have to pay for.
1
1
94
Replying to @mehdidjabri
Paste this into Claude Code, Codex or Cursor: Add past.dev memory to my app. Read the full instructions at past.dev/SKILL.md (with curl -fsSL when you can run commands) and follow them.
1
232
Replying to @mehdidjabri
Paste this into Claude Code, Codex or Cursor: Add past.dev memory to my app. Read the full instructions at past.dev/SKILL.md (with curl -fsSL when you can run commands) and follow them.
18
Replying to @mehdidjabri
Paste this into Claude Code, Codex or Cursor: Add past.dev memory to my app. Read the full instructions at past.dev/SKILL.md (with curl -fsSL when you can run commands) and follow them.
42
Replying to @mehdidjabri
Paste this into Claude Code, Codex or Cursor: Add past.dev memory to my app. Read the full instructions at past.dev/SKILL.md (with curl -fsSL when you can run commands) and follow them.
11
Replying to @mehdidjabri
Paste this into Claude Code, Codex or Cursor: Add past.dev memory to my app. Read the full instructions at past.dev/SKILL.md (with curl -fsSL when you can run commands) and follow them.
31
Replying to @mehdidjabri
Paste this into Claude Code, Codex or Cursor: Add past.dev memory to my app. Read the full instructions at past.dev/SKILL.md (with curl -fsSL when you can run commands) and follow them.
15
Replying to @mehdidjabri
Paste this into Claude Code, Codex or Cursor: Add past.dev memory to my app. Read the full instructions at past.dev/SKILL.md (with curl -fsSL when you can run commands) and follow them.
23
That's what we built past.dev for. One memory shared across all your coding agents, so a fix one agent learns is there for the others. Happy to set you up.
3
Replying to @venturetwins @a16z
Great map. We build memory for multiplayer agents at past.dev, so a team's agents share one memory and each person or agent only sees what they're allowed to see. 85.03% on BEAM 10M. #1 on dolphinbench.
10