GitHub
claude-mem: retrieval for an agent's own memory, in three calls that each cost less than the last
thedotmack/claude-mem stores what a coding agent did, then serves it back through search, timeline and get_observations; the interesting part is the retrieval contract and its size caps, which you can copy for any RAG system.