PyRIT
The Python Risk Identification Tool for generative AI (PyRIT) is an open source framework built to empower security professionals and engineers to proactively identify risks in generative AI systems
What XERJ indexed
Snapshot
Only doc/code/converters, frontend, pyrit/converter, pyrit/score, tests/end_to_end, tests/unit/converter, tests/unit/score at commit 83719c5950 (2026-10-16). main is 239 commits ahead.
Selected work

“FEAT: Add LSBImageStegoConverter and LSBImageStegoDecodeConverter (#3…”. 3 files, 676 lines in tests, pyrit.
Also selected on this repository: @juliosuas (921b5fd65c95), @u7k4rs6 (de521f46e326).
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-16. 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-red-teamgenerative-aired-team-toolsresponsible-ai
Example questions
- How does PyRIT implement ai-red-team?
- What does pyrit do in PyRIT?
- Show the generative-ai code in PyRIT.
Inside the indexed corpus
- 3,603 files, 149.0 MB in total, about 42.4 KB per file.
- The selected commit changed 3 of those files.
- Languages by size: Python 81.9%, TypeScript 17.6%, Shell 0.2%, JavaScript 0.2%, Bicep 0.1%.
- On GitHub since 2023-12-12, last push 2026-10-31, 2,603 commits on main.
- The pin is 239 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for microsoft/PyRIT on 2026-10-31, and the LICENSE file at commit 83719c5950 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Absarahmedofficial (@Absarahmedofficial) has 1 selected repository on the hub.
Julio César Suástegui (@juliosuas) was also selected on microsoft/PyRIT and has 1 selected repository on the hub.
u7k4rs6 (@u7k4rs6) was also selected on microsoft/PyRIT and has 1 selected repository on the hub.
Using XERJ with PyRIT
- Index a monorepo so your agent stops reading the whole repo The pinned tree has 3,603 files.
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
- Ask questions about a GitHub repo without cloning it
- Index a reference library for a coding agent
The prompt
Paste it into your AI agent. It clones microsoft/PyRIT at the pinned commit and indexes it on your machine.
Search the GitHub repository microsoft/PyRIT with XERJ (https://hub.xerj.org/corpus/microsoft--pyrit). 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/microsoft/PyRIT PyRIT && git -C PyRIT checkout 83719c5950d3fca71189f8ae06101475339781ea 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./PyRIT --url http://127.0.0.1:9200 --prefix pyrit --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
AbsarahmedofficialAI, prompts and agents corporaadalflowhaystackcognitaa2aproject/a2a-pythonaws-samples/sample-governed-agentic-companionAlsehli/YOEAI
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.