modex
Modex: an open, Codex-App-style desktop coding agent (Electron + React) with a CLI, on a shared TypeScript agent engine
What XERJ indexed
Snapshot
Only apps/desktop/e2e, apps/desktop/src/main, apps/desktop/src/renderer/components, apps/desktop/src/shared, apps/desktop/test, docs at commit f8f75125a6 (2026-10-05). main is 251 commits ahead.
Selected work

“Discover coding CLIs and validate executable overrides”. 14 files, 295 lines in apps/desktop.
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-06. 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
Example questions
- Where does modex handle “Discover coding CLIs and validate executable overrides”?
- What does apps/desktop do in modex?
Inside the indexed corpus
- 233 files, 10.3 MB in total, about 45.1 KB per file.
- The selected commit changed 14 of those files (6.0%).
- Languages by size: TypeScript 86.7%, JavaScript 5%, Swift 3.8%, CSS 3.6%, HTML 0.3%.
- On GitHub since 2026-09-25, last push 2026-10-31, 333 commits on main.
- The pin is 251 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for TypeSafeAI/modex on 2026-10-31, and the LICENSE file at commit f8f75125a6 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Val Alexander 👑 (@BunsDev) has 1 selected repository on the hub.
Using XERJ with modex
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
- Ask questions about a GitHub repo without cloning it
- Index a reference library for a coding agent
The prompt
Paste it into your AI agent. It clones TypeSafeAI/modex at the pinned commit and indexes it on your machine.
Search the GitHub repository TypeSafeAI/modex with XERJ (https://hub.xerj.org/corpus/typesafeai--modex). 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/TypeSafeAI/modex modex && git -C modex checkout f8f75125a6c0276b295fbab5ea591d59a403a716 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./modex --url http://127.0.0.1:9200 --prefix modex --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: MIT. Keep the copyright notice and credit the authors.
Related
Val Alexander 👑Web and frontend platform corpora
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.