Benjamin Sergeant
Benjamin Sergeant'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 count @bsergean's own selected commits. The repositories belong to their maintainers; their stars are not counted here.
What an agent can do with @bsergean's commit to IXWebSocket
machinezone/IXWebSocket: websocket and http client and server library, with TLS support and very few dependencies
- Look up how IXWebSocket implements websockets, http, http-server, with answers cited to file and line.
- Reuse a worked example: the commit “Discard stale WebSocket state when reconnecting” (5 files · C++, C).
- Answer from IXWebSocket's real C++ source instead of memory (Networking, protocols and serialisation).
- Where does IXWebSocket handle “Discard stale WebSocket state when reconnecting”?
- How does IXWebSocket implement websockets?
- What does test do in IXWebSocket?
Search the GitHub repository machinezone/IXWebSocket with XERJ (https://hub.xerj.org/corpus/machinezone--ixwebsocket). 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/machinezone/IXWebSocket IXWebSocket --filter=blob:none --no-checkout && git -C IXWebSocket sparse-checkout set --no-cone /ixwebsocket/ /test/ && git -C IXWebSocket checkout 750341db5079750fee3f4bc9591736575b2722d0 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./IXWebSocket --url http://127.0.0.1:9200 --prefix ixwebsocket --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: BSD-3-Clause. Keep the copyright notice and credit the authors.
corpus machinezone--ixwebsocket · Networking, protocols and serialisation
Related corpora: aiohttp, caddy, brazier-tech/brazier, stratdev3/SimpleW
Case study: reference coding for agents
Selected work
Commit to machinezone/IXWebSocket
The corpus covers only the directories this commit changed (ixwebsocket, test). The repository is @machinezone's; this page credits @bsergean for this commit only.
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/bsergean)
Included with the author's permission (email, 2026-11-18), under each repository's own licence, with attribution. Own more repositories? Sign in with GitHub and add them. Want something removed? Reply to the email, withdraw it on /add, or open an issue on xerj-org/xerj.