omi-cpp-protocols
Deterministically code generated C++ protocols and exectuables that gather statistics and gap detection on common exchange protocols
What XERJ indexed
Snapshot
Only checks, cpp/advanced, cpp/classes, cpp/modern, executables/dump, executables/extractor, executables/statistics, executables/verify, tests at commit 0d5e44bf15 (2026-09-16). main is 18 commits ahead.
Selected work

“Add flex and regenerate”. 145 files, 7,094 lines in cpp, executables, tests.
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-14. 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
binary-protocolelectronic-exchange
Example questions
- How does omi-cpp-protocols implement binary-protocol?
- Where does omi-cpp-protocols handle “Add flex and regenerate”?
- What does cpp do in omi-cpp-protocols?
Inside the indexed corpus
- 2,735 files, 4.9 MB in total, about 1.8 KB per file.
- The selected commit changed 145 of those files (5.3%).
- Languages by size: C++ 98.7%, CMake 1.3%.
- On GitHub since 2026-03-06, last push 2026-10-31, 36 commits on main.
- The pin is 18 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for Open-Markets-Initiative/omi-cpp-protocols on 2026-10-31, and the LICENSE file at commit 0d5e44bf15 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
William Tegel (@WilliamTegel) has 1 selected repository on the hub.
Using XERJ with omi-cpp-protocols
- Index a monorepo so your agent stops reading the whole repo The pinned tree has 2,735 files.
- Index a reference library for a coding agent
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
The prompt
Paste it into your AI agent. It clones Open-Markets-Initiative/omi-cpp-protocols at the pinned commit and indexes it on your machine.
Search the GitHub repository Open-Markets-Initiative/omi-cpp-protocols with XERJ (https://hub.xerj.org/corpus/open-markets-initiative--omi-cpp-protocols). 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/Open-Markets-Initiative/omi-cpp-protocols omi-cpp-protocols && git -C omi-cpp-protocols checkout 0d5e44bf1590e1334aca2938a18ae227cdc19679 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./omi-cpp-protocols --url http://127.0.0.1:9200 --prefix omi-cpp-protocols --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
William TegelNetworking, protocols and serialisation corpora
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.