Who it is forAn engineer picking up a project after weeks away who needs the reason behind a design choice and whether it changed.
The problemOld decisions are hard to reconstruct, and a later edit can hide what was true at the time.
The outcomeThe engineer gets the current memory, the outline of its file, and the version that was valid on the chosen date.
What you need first
- Python environment able to install the agent-memory package, as described in the README
- Claude Code or Codex CLI installed on the machine
- A store directory set as AGENT_MEMORY_STORE
- Shell access to run the mem commands
Steps
- Run
mem recall "why files instead of a database"to find the matching memory path. - Run
mem read --level outlineto see its headings before opening the full text. (inferred, check the README) - Run
mem recall "why files instead of a database" --as-of <date>to check what was valid on that date. (inferred, check the README) - Run
mem traceto see the cited raw messages behind the memory when the summary is not enough.
Prompt for your agent
Use the agent-memory repo at <store path> to find the memory about <decision topic>, then show its outline and the version valid on <date>. Expected output: the memory path, its outline, and the as-of answer. Verify that the as-of answer differs from the current file when the memory was superseded.
Caveat. The as-of date syntax is not shown in the README excerpt, so the date argument in the step above is inferred and should be checked against the CLI help.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for tigerless-labs/agent-memory and "Recover why a past decision was made and what it said then"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer