claude-mem

Persistent Context Across Sessions for Every Agent, Captures everything your agent does during sessions, compresses it with AI, and…

A new way for AI to search for data
View on GitHub
119,360GitHub stars

TypeScript

What XERJ indexed

Snapshot

Whole repository

Only src/launcher, tests/launcher at commit 8a502b1acb (2026-11-02).

Selected work

Rei
@REI-330

“rebuild a launcher the OS killed instead of keeping it…”. 4 files, 281 lines in tests, src/launcher.

Licence

The repository

Apache-2.0

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

Apache-2.0, with credit

The author agreed by email on 2026-11-04. Same terms as the repository. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution

aiai-agentsai-memoryanthropicartificial-intelligenceclaudeclaude-agent-sdkclaude-agents

Example questions

The prompt

Paste it into your AI agent. It clones thedotmack/claude-mem at the pinned commit and indexes it on your machine.

Search the GitHub repository thedotmack/claude-mem with XERJ (https://hub.xerj.org/corpus/thedotmack--claude-mem).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/thedotmack/claude-mem claude-mem && git -C claude-mem checkout 8a502b1acb8abd792795236b314b9fea198f3825
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./claude-mem --url http://127.0.0.1:9200 --prefix claude-mem --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: Apache-2.0. Keep the copyright notice and credit the authors.

Related

Selected work and consent: the XERJ registry.