carvalab
carvalab'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 @carvalab 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 pi-zgrep corpus
carvalab/pi-zgrep: Semantic code search for the pi coding agent. One tool, four routes (hybrid, BM25, vector, ripgrep), auto-indexed. Powered by zg
- Look up how pi-zgrep implements ai-agents, bm25, cli, with answers cited to file and line.
- Reuse a worked example: the commit “Add Windows support and ship the pi-zgrep-search skill” (8 files · TypeScript, JavaScript).
- Answer from pi-zgrep's real TypeScript source instead of memory (AI, prompts and agents).
- Where does pi-zgrep handle “Add Windows support and ship the pi-zgrep-search skill”?
- How does pi-zgrep implement ai-agents?
- What does src do in pi-zgrep?
Search the GitHub repository carvalab/pi-zgrep with XERJ (https://hub.xerj.org/corpus/carvalab--pi-zgrep). 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/carvalab/pi-zgrep pi-zgrep && git -C pi-zgrep checkout 64795a40e22f1317c0d07606e497c0651365b72f 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./pi-zgrep --url http://127.0.0.1:9200 --prefix pi-zgrep --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.
corpus carvalab--pi-zgrep · AI, prompts and agents
Related corpora: xerj-blogposts, dunorth595--ai-agent-memory, xerj-org/xerj, Qinling-Melon-Farmers/dsh-memoir
AI search and retrieval with XERJ · Case study: reference coding for agents
Selected work
carvalab/pi-zgrep
The corpus is the whole repository at the pinned commit, not only the files of the selected commit.
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/carvalab)
Included with the author's permission (email, 2026-10-16), 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.