What XERJ indexed
Snapshot
Only benchmark, include/clad/Differentiator, lib/Differentiator, test/Analyses, test/Gradient, test/Regressions at commit 6493bba139 (2026-10-14). master is 136 commits ahead.
Selected work

“Fix adjoint shape for objects”. 8 files, 255 lines in lib/Differentiator, test, include.
Also selected on this repository: @leetcodez (1fe56cde6d60), @ShresthSamyak (6de514f46318).
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-15. 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
clang-compilerdifferentiationgradientderivative-functionsllvm
Example questions
- How does clad implement clang-compiler?
- Where does clad handle “Fix adjoint shape for objects”?
- What does lib/Differentiator do in clad?
Inside the indexed corpus
- 641 files, 5.2 MB in total, about 8.2 KB per file.
- The selected commit changed 8 of those files (1.2%).
- Languages by size: C++ 59.8%, C 34.5%, Cuda 3.6%, CMake 1.4%, Python 0.7%.
- On GitHub since 2014-02-21, last push 2026-10-31, 2,289 commits on master.
- The pin is 136 commits behind master; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported LGPL-3.0 for vgvassilev/clad on 2026-10-31, but the LICENSE file at commit 6493bba139 was reviewed as NOASSERTION. The corpus is the pinned commit, so answers from it follow NOASSERTION.
Contributors
Vedant Goyal (@Vedant2005goyal) has 1 selected repository on the hub.
utsav (@leetcodez) was also selected on vgvassilev/clad and has 1 selected repository on the hub.
ShresthSamyak (@ShresthSamyak) was also selected on vgvassilev/clad and has 1 selected repository on the hub.
Using XERJ with clad
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
The prompt
Paste it into your AI agent. It clones vgvassilev/clad at the pinned commit and indexes it on your machine.
Search the GitHub repository vgvassilev/clad with XERJ (https://hub.xerj.org/corpus/vgvassilev--clad). 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/vgvassilev/clad clad && git -C clad checkout 6493bba139dea1417efe8a05eb144c57a983a632 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./clad --url http://127.0.0.1:9200 --prefix clad --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: check the LICENSE file. Read it for the approach only, do not copy code.
Related
Vedant GoyalAPI design and specification corporallhttpexec-software/exec-nil-frameworkflint-lang/flintcmichael-lehn/not-abc
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.