otari
Open-source, OpenAI-compatible LLM gateway you run yourself. One endpoint for 40+ providers, with virtual keys, budgets, and usage tracking
What XERJ indexed
Snapshot
Only alembic/versions, docs/public, src/gateway/api/routes, src/gateway/core, src/gateway/models, tests/integration, tests/unit, web at commit 756dc4757f (2026-10-05). main is 647 commits ahead.
Selected work

“capture provider-reported latency for Groq and Ollama (#1…”. 17 files, 478 lines in tests, src/gateway, web.
Also selected on this repository: @jigjigjig (4fe759f2112f).
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-05. 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
aigatewayllmai-gatewayanthropicapi-key-managementbudgetscost-tracking
Example questions
- How does otari implement ai?
- What does src/gateway do in otari?
- Show the gateway code in otari.
Inside the indexed corpus
- 2,049 files, 31.5 MB in total, about 15.8 KB per file.
- The selected commit changed 17 of those files (0.8%).
- Languages by size: Python 67.5%, TypeScript 31.5%, CSS 0.7%, HTML 0.2%, JavaScript 0.1%.
- On GitHub since 2026-04-02, last push 2026-10-31, 1,968 commits on main.
- The pin is 647 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported Apache-2.0 for mozilla-ai/otari on 2026-10-31, and the LICENSE file at commit 756dc4757f was reviewed as Apache-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Amir Fathi (@AmirF194) has 1 selected repository on the hub.
Their other repository pages: mozilla-ai/otari.
Fede (@jigjigjig) was also selected on mozilla-ai/otari and has 1 selected repository on the hub.
Using XERJ with otari
- Index a monorepo so your agent stops reading the whole repo The pinned tree has 2,049 files.
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
- 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 mozilla-ai/otari at the pinned commit and indexes it on your machine.
Search the GitHub repository mozilla-ai/otari with XERJ (https://hub.xerj.org/corpus/mozilla-ai--otari). 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/mozilla-ai/otari otari && git -C otari checkout 756dc4757f9504f6ee1c6ed478d9864053822402 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./otari --url http://127.0.0.1:9200 --prefix otari --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
Amir FathiAI, prompts and agents corporaagentopsaidergriptapesakura-sky/tollgatetareq199923/invinciblekittors/CliRelay
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.