Who it is forA developer who runs both Claude Code and Codex on the same project and keeps re-explaining past choices to each one.
The problemEach agent session starts empty, so the same decisions get explained again in every tool.
The outcomeBoth agents answer from one store of decision memories, and each answer points to the file it came from.
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 the setup step described in the README so the host agents use the shared store at AGENT_MEMORY_STORE.
- Run
mem recall "why files instead of a database"to see the ranked L0 list of matching memories. - Run
mem context "why files instead of a database"to get the top hits expanded in one call. - Open the same question in Codex and check that it returns the same memory paths.
Prompt for your agent
Use the agent-memory repo at <store path> to recall memories about <topic> with `mem recall` and `mem context`. Return the file paths and one-line abstracts that matched. Verify that the same paths come back when the query is run from Claude Code and from Codex.
Caveat. The README does not give a full setup command in the excerpt, so the first run depends on following the setup section of the README closely.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for tigerless-labs/agent-memory and "Share one memory of decisions across Claude Code and Codex"
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