Skip to content

DOC: Add a Learn AI Red Teaming guide and a FAQ - #4665

Merged
Roman Lutz (romanlutz) merged 22 commits into
microsoft:mainfrom
romanlutz:claude/red-teaming-docs-section-afdba8
Nov 30, 2026
Merged

Roman Lutz (romanlutz) merged 22 commits into
microsoft:mainfrom
romanlutz:claude/red-teaming-docs-section-afdba8

Conversation

@romanlutz

Copy link
Copy Markdown
Contributor

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.

  • Learn AI Red Teaming (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.
  • FAQ (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 FAQ answer on where to get an adversarial model lists the hosted providers suggested in DOC Adversarial model doc page #791 with a note that they are not endorsed and that any interaction is between the user and the provider. This covers part of DOC Adversarial model doc page #791.
  • Navigation: both pages are in the sidebar, the Learn page is in the top nav, and the landing page links to it.

The strict docs build with link checks passes with both pages.

🤖 Generated with Claude Code

Roman Lutz (romanlutz) and others added 19 commits November 18, 2026 22:32
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>
Copilot AI balanced review requested due to automatic review settings November 26, 2026 15:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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

Comment thread doc/faq.md Resolved
Comment thread doc/faq.md Resolved
- 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>
…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>
@romanlutz
Roman Lutz (romanlutz) added this pull request to the merge queue Nov 30, 2026
Merged via the queue into microsoft:main with commit c09da05 Nov 30, 2026
105 of 106 checks passed
@romanlutz
Roman Lutz (romanlutz) deleted the claude/red-teaming-docs-section-afdba8 branch November 30, 2026 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants