Benjamin Sergeant

Benjamin Sergeant

Corpus Hub contributor since 2026-11-18

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.

1corpus
1selected commit
5files
403lines

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

Example questions
Paste it into your AI agent. It clones the repo at the pinned commit and indexes it on your machine.
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

maintained by @machinezone
750341db50 Discard stale WebSocket state when reconnecting (#617)
selected commit: 5 files · 403 lines · C++, C · test, 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.

live on the hub · licence clearedcorpus machinezone--ixwebsocketNETBSD-3-Clausewebsocketshttphttp-serverwebsocket-clientwebsocket-servercpp agreed 2026-11-18
XERJ Corpus Hub contributor badge
[![XERJ Corpus Hub contributor](https://hub.xerj.org/contributors/bsergean/badge.svg)](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.