openscript
Security gateway for LLM agents. A policy pipeline that blocks prompt injection, redacts PII and secrets, firewalls tool calls and holds risky actions for human approval. Nine pure-local policies, measured against labelled corpora. The live demo runs the real package in your browser via WebAssembly: nothing leaves the tab
What XERJ indexed
Snapshot
The whole repository at commit 9a890559f2 (2026-10-14). master is 44 commits ahead.
Selected work

“AgentDojo can be run with a model, and the harness is checked a…”. 6 files, 1,136 lines in evals, 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-15. 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
ai-agentsai-safetyguardrailsllm-securityprompt-injectionpyodidepythonwebassembly
Example questions
- How does openscript implement ai-agents?
- What does evals do in openscript?
- Show the ai-safety code in openscript.
Inside the indexed corpus
- 188 files, 7.4 MB in total, about 40.2 KB per file.
- The selected commit changed 6 of those files (3.2%).
- Languages by size: Python 71.4%, Java 11.1%, TypeScript 7%, CSS 3.6%, JavaScript 3%.
- On GitHub since 2026-01-28, last push 2026-10-20, 96 commits on master.
- The pin is 44 commits behind master; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported Apache-2.0 for saintparish4/openscript on 2026-10-31, and the LICENSE file at commit 9a890559f2 was reviewed as Apache-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Sharif Parish (@saintparish4) has 1 selected repository on the hub.
Using XERJ with openscript
- 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
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
The prompt
Paste it into your AI agent. It clones saintparish4/openscript at the pinned commit and indexes it on your machine.
Search the GitHub repository saintparish4/openscript with XERJ (https://hub.xerj.org/corpus/openscript-ai--openscript). 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/saintparish4/openscript openscript && git -C openscript checkout 9a890559f2a04d7808db3e7ff0a923a5ee875373 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./openscript --url http://127.0.0.1:9200 --prefix openscript --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: Apache-2.0. Keep the copyright notice and credit the authors.
Related
Sharif ParishAI, prompts and agents corporagarakmesh-patternsguardrailswardenbot-ai/pytest-wardenbotpatronus-protect/decision-model-guardaggrete/aggrete
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.