r/ClaudeCode • u/themightychris • 2h ago
Tips & Workflows A CLI that turns your Claude Code session history into memory your agent can search
Every Claude Code session is already logged as JSONL in ~/.claude/projects. agent-recall-axi lets your agent search all of it across every project, then zoom in: sessions, turns, events, one entry in full.
It is built to the AXI standard (Agent eXperience Interface): a plain CLI designed for an agent to drive through the shell, with no MCP server to run. Here that means three things:
- Output is compact TOON, so reading history costs few tokens.
- Every row has a stable id the agent can cite or come back to.
- Every listing ends with the exact command to go back, forward or deeper, so the agent never guesses the next step.
Read-only, local files only, no network, no server, no database. MIT.
npx -y agent-recall-axi sessions
https://github.com/JarvusInnovations/agent-recall-axi
Install the global session hook to make every Claude Code session start knowing it's there and how to use it:
agent-recall-axi setup hooks
•
u/AutoModerator 2h ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/calunicornia 2h ago
seems pretty cool, have you considered making it so multiple machines can share the memories?
1
u/calunicornia 2h ago
This code helps write hand offs much much faster, gracias!