agent-relay
Keep Claude Code and Codex sessions moving when one account hits its usage limit: safe, transactional handoff across isolated profiles
What XERJ indexed
Snapshot
The whole repository at commit d8f66ea44e (2026-09-28). main is 44 commits ahead.
Selected work

“preserve opt-in profile status lines”. 4 files, 208 lines in crates/relay-provider-claude, crates/relay-cli.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-12. 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
ai-agentsanthropicclaude-codeclideveloper-toolsrustsession-managementaccount-switching
Example questions
- How does agent-relay implement ai-agents?
- Where does agent-relay handle “preserve opt-in profile status lines”?
- What does crates/relay-provider-claude do in agent-relay?
Inside the indexed corpus
- 174 files, 2.9 MB in total, about 17.3 KB per file.
- The selected commit changed 4 of those files (2.3%).
- Languages by size: Rust 99.2%, Shell 0.6%, Python 0.1%.
- On GitHub since 2026-09-18, last push 2026-10-31, 201 commits on main.
- The pin is 44 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported Apache-2.0 for RA1NM4KER/agent-relay on 2026-10-31, and the LICENSE file at commit d8f66ea44e was reviewed as Apache-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Kefas Aleck (@RA1NM4KER) has 1 selected repository on the hub.
Using XERJ with agent-relay
- A local search tool for Codex and Cursor agent-relay is tagged claude-code on GitHub.
- Local code search MCP that uses fewer tokens than grep
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
- Index a reference library for a coding agent
The prompt
Paste it into your AI agent. It clones RA1NM4KER/agent-relay at the pinned commit and indexes it on your machine.
Search the GitHub repository RA1NM4KER/agent-relay with XERJ (https://hub.xerj.org/corpus/ra1nm4ker--agent-relay). 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/RA1NM4KER/agent-relay agent-relay && git -C agent-relay checkout d8f66ea44edd39a86982bde7dbd067d2bdcccb33 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./agent-relay --url http://127.0.0.1:9200 --prefix agent-relay --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
Kefas AleckAI, prompts and agents corporaagentopsaidergriptapejazzyalex/agent-sessionssaaranshM/unsnoozepraxis-proxy/ai
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.