Oğuz Toraman
Oğuz Toraman's work was selected for the XERJ Corpus Hub, the open reference memory AI coding agents search before they write code. When an agent meets the same problem, it gets this implementation back as a worked example, with the author and the repository attached.
Totals across every corpus @oguztoraman appears in; a commit selected for two corpora counts once. Files and lines count the selected commits; each corpus indexes the whole repository at its pinned commit.
What an agent can do with the libmagicxx corpus
oguztoraman/libmagicxx: A Modern C++23 Wrapper for libmagic
- Look up how libmagicxx implements cplusplus, libmagic, magic, with answers cited to file and line.
- Reuse a worked example: the commit “Magic: API CHANGE - Return FlagsMaskT from GetFlags().” (6 files · C++).
- Answer from libmagicxx's real C++ source instead of memory (API design and specification).
- Where does libmagicxx handle “Magic: API CHANGE - Return FlagsMaskT from GetFlags().”?
- How does libmagicxx implement cplusplus?
- What does tests do in libmagicxx?
Search the GitHub repository oguztoraman/libmagicxx with XERJ (https://hub.xerj.org/corpus/oguztoraman--libmagicxx). 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/oguztoraman/libmagicxx libmagicxx && git -C libmagicxx checkout a614178d70396e3fd7a76c723bd15a601675a914 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./libmagicxx --url http://127.0.0.1:9200 --prefix libmagicxx --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: LGPL-3.0. Read it for the approach only, do not copy code.
corpus oguztoraman--libmagicxx · API design and specification
Related corpora: thrift, flatbuffers, TheHPXProject/hpx, AmirHosseinCH/Tavoos
Search an OpenAPI spec from an agent · Case study: reference coding for agents
Selected work
oguztoraman/libmagicxx
The corpus is the whole repository at the pinned commit, not only the files of the selected commit.
Not installable yet: this corpus is not in the hub registry until its licence review passes, so xerj corpus add and xerj ask cannot fetch it. It becomes installable when this card says live in the hub.
Sign in with GitHub or Hugging Face to see more: every selected commit in full (commit date, every folder, licence review state, pin) and the pack builds of each corpus.
[](https://hub.xerj.org/contributors/oguztoraman)
Included with the author's permission (email, 2026-10-20), under each repository's own licence, with attribution. Want it removed? Reply to the email or open an issue on xerj-org/xerj.