Castor

The Universal 245K Agent Microkernel for Local LLMs

A new way for AI to search for data
View on GitHub
12GitHub stars
434commits on main
3forks
v1.4.0latest release, 2026-10-26

Rust 87.4%, Python 4.3%, HTML 3.6%, Batchfile 1.9% · created 2026-08-24 · last push 2026-10-27

What XERJ indexed

Snapshot

209 files · 5.8 MB

The whole repository at commit 94aa3e7ffc (2026-10-09). main is 62 commits ahead.

Selected work

ApatheticMioz
@ApatheticMioz

“harden tool truncation with disk spillover and org…”. 18 files, 364 lines in src/runner, benchmarks, src/tools.

Licence

The repository

AGPL-3.0

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

The XERJ corpus

Approach only

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

Inside the indexed corpus

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

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

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.