graphite

Structured codebase context for LLMs

A new way for AI to search for data
View on GitHub
15GitHub stars
195commits on main
3forks
v2.12.0latest release, 2026-10-27

Kotlin 67.7%, Rust 26.9%, Python 2.3%, Java 1.6% · created 2026-01-24 · last push 2026-10-31

What XERJ indexed

Snapshot

549 files · 12.7 MB

The whole repository at commit 019f00247d (2026-10-01). main is 18 commits ahead.

Selected work

Johnson Lee
@johnsonlee

“Give compiler-numbered synthetic members a stable identity”. 17 files, 1,302 lines in frontend.

Licence

The repository

Apache-2.0

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

The XERJ corpus

Apache-2.0, with credit

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

androidbytecodecode-graphcypherdeveloper-toolsjvmmcpstatic-analysis

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported Apache-2.0 for johnsonlee/graphite on 2026-10-31, and the LICENSE file at commit 019f00247d was reviewed as Apache-2.0. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

Johnson Lee (@johnsonlee) has 9 selected repositories on the hub.

Their other repository pages: johnsonlee/sonatype-publish-plugin, johnsonlee/trace-parser, johnsonlee/playground, johnsonlee/retracer, johnsonlee/sandbox, johnsonlee/rustyman.

Using XERJ with graphite

The prompt

Paste it into your AI agent. It clones johnsonlee/graphite at the pinned commit and indexes it on your machine.

Search the GitHub repository johnsonlee/graphite with XERJ (https://hub.xerj.org/corpus/johnsonlee--graphite).
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/johnsonlee/graphite graphite && git -C graphite checkout 019f00247dc5e9c2da2ae7a77c6af9860583f547
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./graphite --url http://127.0.0.1:9200 --prefix graphite --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

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