pi-native
A Rust-powered Pi coding-agent harness with native tools, fail-closed permission gates, token-efficient context management, and validated skills
What XERJ indexed
Snapshot
The whole repository at commit ff899954df (2026-10-19). main is 164 commits ahead.
Selected work

“add eslint-style severities and demote preference rules”. 12 files, 742 lines in extensions, tests, the project root.
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-25. 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
agent-harnesscoding-agentpirustpermission-gateaiai-agentscli
Example questions
- How does pi-native implement agent-harness?
- Where does pi-native handle “add eslint-style severities and demote preference rules”?
- What does extensions do in pi-native?
Inside the indexed corpus
- 633 files, 3.8 MB in total, about 6.2 KB per file.
- The selected commit changed 12 of those files (1.9%).
- Languages by size: HTML 66.3%, JavaScript 24.9%, TypeScript 5.2%, Rust 2.8%, Shell 0.3%.
- On GitHub since 2026-08-28, last push 2026-10-31, 507 commits on main.
- The pin is 164 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for nurmdrafi/pi-native on 2026-10-31, and the LICENSE file at commit ff899954df was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Nur Mohamod Rafi (@nurmdrafi) has 1 selected repository on the hub.
Using XERJ with pi-native
- A local search tool for Codex and Cursor pi-native is tagged coding-agent on GitHub.
- Local code search MCP that uses fewer tokens than grep
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
- ripgrep vs a code index for coding agents: 30 tasks
The prompt
Paste it into your AI agent. It clones nurmdrafi/pi-native at the pinned commit and indexes it on your machine.
Search the GitHub repository nurmdrafi/pi-native with XERJ (https://hub.xerj.org/corpus/nurmdrafi--pi-native). 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/nurmdrafi/pi-native pi-native && git -C pi-native checkout ff899954df0e5ff39e15745ebe0427f0dbd4a947 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./pi-native --url http://127.0.0.1:9200 --prefix pi-native --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
Nur Mohamod RafiAI, prompts and agents corporaxobotyi--cc-foundry-the-workflow-claude-mdxobotyi--cc-foundry-open-sourcexobotyi--cc-foundry-ai-helpers-prompt-engineeringRMRdeveloper/sideroom-piFrrrrred/SCIAutoHarnessagentscope-ai/QwenPaw
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.