Sahil Mathur
Sahil Mathur'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 @sahilmathur254's own selected commits. The repositories belong to their maintainers; their stars are not counted here.
What an agent can do with @sahilmathur254's commit to guardtrellis
sahilmathur254/guardtrellis: A lightweight Python SDK for local checks around LLM inputs, outputs, retrieval, and tool calls
- Look up how guardtrellis implements ai-safety, guardrails, llm, with answers cited to file and line.
- Reuse a worked example: the commit “Add optional Gemini callback with bounded free-tier smoke” (5 files · Python).
- Answer from guardtrellis's real Python source instead of memory (AI, prompts and agents).
- Where does guardtrellis handle “Add optional Gemini callback with bounded free-tier smoke”?
- How does guardtrellis implement ai-safety?
- What does tests do in guardtrellis?
Search the GitHub repository sahilmathur254/guardtrellis with XERJ (https://hub.xerj.org/corpus/guardtrellis--guardtrellis). 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/sahilmathur254/guardtrellis guardtrellis && git -C guardtrellis checkout d722ec2c044f5f84c8033c00b6f60bdd45515340 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./guardtrellis --url http://127.0.0.1:9200 --prefix guardtrellis --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.
corpus guardtrellis--guardtrellis · AI, prompts and agents
Related corpora: garak, bandit-plugins, mughalhere/prompt-protection, saintparish4/openscript
AI search and retrieval with XERJ · Case study: reference coding for agents
Selected work
Commit to sahilmathur254/guardtrellis
The repository is @sahilmathur254's and is in the hub with its owner's agreement; this page credits @sahilmathur254 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/sahilmathur254)
Included with the author's permission (email, 2026-10-15), 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.