opencodex
Universal provider proxy for OpenAI Codex & Claude Code: use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama…) with Codex CLI, App, SDK, and Claude Code
What XERJ indexed
Snapshot
Only docs-site/src/content/docs/guides, docs-site/src/content/docs/reference/configuration, docs-site/src/content/docs/tr/guides, scripts/test-layout, src/claude, src/protocols, src/server, structure, tests/claude-integration, tests/fixtures, tests/helpers, tests/responses at commit 7e3e37a651 (2026-10-05). main is 950 commits ahead.
Selected work

“redact terminal reset-replacement errors”. 7 files, 308 lines in tests, src/server.
Also selected on this repository: @vadymhimself (b670ddb3ebbb).
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-12. 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
ai-toolsclaudecodexgeminillmopenaiproxytypescript
Example questions
- How does opencodex implement ai-tools?
- Where does opencodex handle “redact terminal reset-replacement errors”?
- What does src/server do in opencodex?
Inside the indexed corpus
- 11,570 files, 196.2 MB in total, about 17.4 KB per file.
- The selected commit changed 7 of those files.
- Languages by size: TypeScript 97.1%, Rust 1%, CSS 0.6%, JavaScript 0.4%, Swift 0.3%.
- On GitHub since 2026-06-18, last push 2026-10-31, 13,463 commits on main.
- The pin is 950 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for lidge-jun/opencodex on 2026-10-31, and the LICENSE file at commit 7e3e37a651 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Epinephrine (@luvs01) has 1 selected repository on the hub.
Vadym O. (@vadymhimself) was also selected on lidge-jun/opencodex and has 1 selected repository on the hub.
Using XERJ with opencodex
- A local search tool for Codex and Cursor opencodex is tagged codex on GitHub.
- Local code search MCP that uses fewer tokens than grep
- Index a monorepo so your agent stops reading the whole repo The pinned tree has 11,570 files.
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
The prompt
Paste it into your AI agent. It clones lidge-jun/opencodex at the pinned commit and indexes it on your machine.
Search the GitHub repository lidge-jun/opencodex with XERJ (https://hub.xerj.org/corpus/lidge-jun--opencodex). 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/lidge-jun/opencodex opencodex && git -C opencodex checkout 7e3e37a6512c9c3bc843a2d46b7db649bf118287 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./opencodex --url http://127.0.0.1:9200 --prefix opencodex --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
EpinephrineAI, prompts and agents corporagriptapeaiderxobotyi--cc-foundry-rustwoojubb/robotaEverMind-AI/Ravenfelipesotero/opencode-hard-limit
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.