Repository navigation
DOC: Add a Learn AI Red Teaming guide and a FAQ - #4665
Merged
Roman Lutz (romanlutz) merged 22 commits intoNov 30, 2026
Merged
Roman Lutz (romanlutz) merged 22 commits into
Roman Lutz (romanlutz) merged 22 commits into
Conversation
Add a top-level docs section for people who are new to AI red teaming: - red_teaming/0_red_teaming.md: what AI red teaming is, questions to ask before starting, why to mix human-led and automated work, and a learn-by-doing exercise. - red_teaming/1_resources.md: curated videos, guides, papers, and practice labs. Link the section from the sidebar, the top nav, and the landing page, and add the cited papers to the bibliography. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Add a top-level FAQ with short answers to common questions about using PyRIT: getting started, models and providers, running attacks and reading results, scoring, versions and upgrading, and getting help. Each answer links to the page that covers the topic in depth. Link the FAQ from the sidebar and from the Learn AI Red Teaming page. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Add questions on database setup, .env location, agents and copilots, image/audio/video testing, reasoning effort, parallel execution, and a troubleshooting section. Extend the rate limit and Entra authentication answers. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- Merge the provider questions into one that explains the OpenAI* targets follow the OpenAI API, which many providers serve, and that Azure is not required. - Add a question on where to get an adversarial model, pointing to issue 791 with a non-endorsement note. - Add a terms-of-service reminder to the agents and copilots answer. - Generalize the reasoning question to model parameters. - Add an Error Messages section. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
List the hosted providers suggested in issue 791 in the adversarial model answer, with a callout stating that they are not endorsed and that any interaction is between the user and the provider. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- Add questions on optional dependencies and credentials, what a run can cost, and whether every target supports every attack and modality. - Extend the provider answer with LiteLLMChatTarget and a note that connecting does not guarantee feature parity. - Note that a local target alone does not make a run offline. - Add the WebSocket target and what an application target needs. - Expand the version guidance. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Add a section to the learning resources page that lists papers, blog posts, and talks by the Microsoft AI Red Team, plus related Microsoft research on attacks and defenses that PyRIT implements. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- Reduce the resources page to a starting list, guides and frameworks, Microsoft AI Red Team blog posts and talks, and places to practice. - Remove the Playground Labs, Gandalf, the paper lists, and the sections on other teams, critiques, keeping up, and PyRIT papers. - Add a non-endorsement note to the practice list. - Drop the bibliography entries that are no longer cited and update the pages that described the old list. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- Fold the resources list into the end of the Learn page and remove the separate resources page. - Move the Microsoft Learn hub link into the Microsoft AI Red Team list. - Remove the agentic taxonomy whitepaper link, which the listed blog post covers, and the BlueHat 2023 talk. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Add a completely manual column to the comparison table and describe human-led red teaming as expert-directed work with AI augmentation that bridges scale and subject matter expertise. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…/red-teaming-docs-section-afdba8
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The FAQ omits supported Python 3.15 and fails to distinguish configuration-file storage values from Python API values, which can cause initialization to fail.
2 open issues
What changed in this PR
Adds introductory documentation that bridges PyRIT’s landing page and its setup and framework guides, helping newcomers understand AI red teaming and find answers to common questions.
Changes:
- Adds a learning guide covering planning, human-led and automated testing, practice, and resources.
- Adds a FAQ covering setup, providers, results, scoring, and troubleshooting, including provider information that partially addresses #791.
- Connects the new pages through sidebar navigation, a top-nav Learn link, and the landing page.
| File | Description |
|---|---|
doc/red_teaming/0_red_teaming.md |
Adds the introductory guide and learning resources. |
doc/myst.yml |
Registers both pages and adds the Learn navigation link. |
doc/index.md |
Points newcomers to the learning guide before installation. |
doc/faq.md |
Adds common questions with answers and links to detailed documentation. |
Review effort: Balanced
- List Python 3.15 as supported. - Distinguish the memory_db_type values accepted by initialize_pyrit_async from the ones used in .pyrit_conf. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Richard Lundeen (richlundeen)
approved these changes
Nov 27, 2026
…page - Name threat modeling in the "What are you worried about?" question and link to Microsoft's threat modeling guidance for AI and ML systems. - Describe the adversarial side as prompt injection in the broadest sense: any consumed input that pushes the system to do something it is not supposed to do. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Open the "What AI Red Teaming Is" section with prompt injection in the broadest sense, then explain that the prompt need not be malicious, so failures that affect benign users are in scope too. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Roman Lutz (romanlutz)
deleted the
claude/red-teaming-docs-section-afdba8
branch
November 30, 2026 04:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
Adds two pages for people who are new to AI red teaming or to PyRIT: a field-level guide and a FAQ. Until now the docs went from the landing page straight into installation, and recurring questions were answered one at a time in Discord, issues, and discussions.
doc/red_teaming/0_red_teaming.md): what AI red teaming is and is not, questions to ask before starting, why to mix manual, human-led, and automated work, a learn-by-doing exercise, and a short list of learning resources. The practice list carries a non-endorsement note.doc/faq.md): short answers that each link to the page covering the topic in depth. Sections: getting started, models and providers, running attacks and reading results, scoring, troubleshooting, error messages, versions and upgrading, and getting help. Questions were collected from GitHub issues and discussions and from questions maintainers answer repeatedly.The strict docs build with link checks passes with both pages.
🤖 Generated with Claude Code