Castor
The Universal 245K Agent Microkernel for Local LLMs
What XERJ indexed
Snapshot
The whole repository at commit 94aa3e7ffc (2026-10-09). main is 62 commits ahead.
Selected work

“harden tool truncation with disk spillover and org…”. 18 files, 364 lines in src/runner, benchmarks, src/tools.
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-10. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: approach only
agent-harnessast-grepcordismcpqwen38-27brtx3090sandboxingspeculative-decoding
Example questions
- How does Castor implement agent-harness?
- What does src/runner do in Castor?
- Show the ast-grep code in Castor.
Inside the indexed corpus
- 209 files, 5.8 MB in total, about 28.5 KB per file.
- The selected commit changed 18 of those files (8.6%).
- Languages by size: Rust 87.4%, Python 4.3%, HTML 3.6%, Batchfile 1.9%, JavaScript 1.4%.
- On GitHub since 2026-08-24, last push 2026-10-27, 434 commits on main.
- The pin is 62 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported AGPL-3.0 for ApatheticMioz/Castor on 2026-10-31, and the LICENSE file at commit 94aa3e7ffc was reviewed as AGPL-3.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
ApatheticMioz (@ApatheticMioz) has 1 selected repository on the hub.
Using XERJ with Castor
- Code search MCP for Claude Code: cite file:line, not grep Castor is tagged mcp on GitHub.
- What is an MCP memory server?
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
- ripgrep vs a code index for coding agents: 30 tasks
The prompt
Paste it into your AI agent. It clones ApatheticMioz/Castor at the pinned commit and indexes it on your machine.
Search the GitHub repository ApatheticMioz/Castor with XERJ (https://hub.xerj.org/corpus/usecastor--castor). 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/ApatheticMioz/Castor Castor && git -C Castor checkout 94aa3e7ffcd81e22dd9d36d0f9527951f8cafb15 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./Castor --url http://127.0.0.1:9200 --prefix castor --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: AGPL-3.0. Read it for the approach only, do not copy code.
Related
ApatheticMiozAI, prompts and agents corporaatoma-run--atomaanything-llmNehanth/pooledyuhp/opencode-models-discoveryAdarGit008/mcgyvr
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.