glassbox-mech

Mechanistic interpretability for transformers: causal circuit discovery, measured faithfulness, and draft EU AI Act Annex IV documentation

A new way for AI to search for data
View on GitHub
3GitHub stars

Python

What XERJ indexed

Snapshot

Whole repository

The whole repository at commit df7e073ce2 (2026-10-11).

Selected work

Ajay Pravin Mahale
@designer-coderajay

“end-to-end investigate + built-in RAG demo (report + eviden…”. 3 files, 682 lines in glassbox, tests.

Licence

The repository

NOASSERTION

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

The XERJ corpus

NOASSERTION, with credit

The author agreed by email on 2026-11-11. 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

alignmentexplainabilitygpt2mechanistic-interpretabilitypytorchattribution-patchingcircuit-discoverylogit-lens

Example questions

The prompt

Paste it into your AI agent. It clones designer-coderajay/glassbox-mech at the pinned commit and indexes it on your machine.

Search the GitHub repository designer-coderajay/glassbox-mech with XERJ (https://hub.xerj.org/corpus/designer-coderajay--glassbox-mech).
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/designer-coderajay/glassbox-mech glassbox-mech && git -C glassbox-mech checkout df7e073ce288cfa48c0a4f95dca77d79ba838106
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./glassbox-mech --url http://127.0.0.1:9200 --prefix glassbox-mech --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. Keep the copyright notice and credit the authors.

Related

Selected work and consent: the XERJ registry.