AI red teaming is a structured testing effort, often using adversarial methods, to find flaws and vulnerabilities in an AI system, including unforeseen or undesirable behaviors and risks tied to misuse of the system. That is NIST's definition. A companion NIST definition adds that the work often happens in a controlled environment and in collaboration with the system's developers.
Red teamers probe a model or a full application, then document what broke so developers can fix it. OpenAI names four goals for external red teaming: discovering novel risks, stress testing mitigations, adding domain expertise to risk assessment, and independent assessment. Findings feed safety training and automated evaluations. In an Anthropic study, red team members picked the more harmful of two responses at each turn, and those choices trained a harmlessness preference model.
AI Red Teaming at a Glance
| Also called | Red teaming; external red teaming (outside testers); red teaming campaign (one scoped effort) |
|---|---|
| What it covers | Safety harms, such as hateful or violent content, and security attacks, such as prompt injection and data exfiltration, at the model and system level |
| Methods | Manual, automated and mixed testing, scoped by a threat model |
| The human role | Crafting adversarial prompts, simulating attack scenarios and judging outputs by risk type and severity |
| Related regulations | EU AI Act Article 55 (general-purpose AI models with systemic risk); NIST AI 600-1, the Generative AI Profile of the voluntary AI RMF |
What AI Red Teaming Covers
AI red teaming covers security and safety failures, the two main impact categories in Microsoft's AI red team ontology, in the model and in the system built around it.
- Security: Microsoft's AI red team tests for impacts such as data exfiltration and credential dumping, plus attacks on the model itself, such as prompt injection and model evasion.
- Safety: the same team relates safety impacts to the generation of illegal and harmful content, such as hate speech, violence and self-harm content.
NIST's Generative AI Profile lists 12 risks unique to or made worse by generative AI, including CBRN information, confabulation, data privacy, information security and harmful bias.
Scope depends on the deployment. The same model can be vulnerable to very different attacks inside different applications, and agentic systems with tool access widen the attack surface. Microsoft's team emulates both adversarial attackers and benign users who hit failures by accident.
How AI Red Teaming Is Done
AI red teaming is run as a scoped campaign: a threat model sets the targets, testers probe the system, and documented findings become fixes and evaluations.
Scoping and threat modeling
Microsoft's red team starts from potential downstream impacts and works backward to the paths an adversary could take. OpenAI pairs each testing area with motivating questions: risks of what, to whom, posed by whom or what.
Campaign steps
- Choose the cohort's composition based on the goals and priority domains.
- Decide which model or system versions testers can access.
- Provide interfaces, instructions and documentation guidance.
- Synthesize the data and create evaluations.
Access timing changes what a campaign learns. An early snapshot tested before safety mitigations shows base-level risk. Testing after mitigations can focus on unaddressed residual risk.
Documentation and review
OpenAI instructs testers to document findings, usually in a specific format, with common elements such as prompt and generation pairs or full conversations, the risk category, a risk level on a scale such as low, medium and high, and notes on how the level was decided.
Manual, automated and mixed methods
Manual testing has people craft prompts and judge outputs. Automated testing uses models or templates to generate adversarial inputs and sometimes a classifier to grade outputs. Mixed methods seed a dataset by hand, then scale it with generated prompts. Perez and colleagues note that human-written test cases are expensive, which limits their number and diversity. Microsoft's red team found that basic techniques often work as well as gradient-based attacks, and sometimes better.
Red Teamer Wellbeing
Red teamer wellbeing is part of AI red teaming design, because testers may be exposed to sensitive content. Anthropic researchers reviewed Trust and Safety literature and interviewed industry professionals before running a red team of crowdworkers. Their task instructions gave clear, specific warnings about sensitive content. Red team members chose topics within their own risk tolerance instead of being assigned sensitive ones. Through surveys and informal feedback, the researchers found that members enjoyed the task and did not experience significant negative emotions.
Regulations and Standards for AI Red Teaming
AI red teaming is defined in NIST publications, and the EU AI Act requires model evaluations from providers of general-purpose AI models with systemic risk. This section describes the rules, not legal advice.
- NIST: AI 600-1, the Generative AI Profile, is a companion to the AI Risk Management Framework, which is intended for voluntary use. Pre-deployment testing is one of the profile's four primary considerations.
- EU AI Act: providers of general-purpose AI models with systemic risk must assess and mitigate systemic risks, in particular by performing model evaluations (Article 55). The obligations apply from 2 August 2025. The Act sets a training compute threshold of 10^25 FLOP for classifying a model as having systemic risk.
- GPAI Code of Practice: published July 10, 2025, it is a voluntary tool. Its Safety and Security chapter applies only to providers subject to Article 55.
AI Red Teaming vs. Safety Benchmarking
AI red teaming searches for new failures in a specific system, while safety benchmarking measures a model against fixed datasets of known risks. Microsoft's red team says red teaming strives to push beyond model-level benchmarks by emulating real-world attacks against end-to-end systems. It also notes that benchmarks fall short for novel harms, because they measure preexisting notions of harm.
| Factor | AI red teaming | Safety benchmarking |
|---|---|---|
| Goal | Discover unknown risks and gaps in mitigations | Measure performance on known risks |
| Target | The model or the full deployed system | Usually the model |
| Method | Open-ended or scoped human and automated probing | Fixed test sets, repeated |
| Output | Documented findings and new test cases | Scores comparable across versions |
AI Red Teaming at Hugo
Hugo's work closest to AI red teaming sits in its preference alignment and post-training teams, where evaluators flag unsupported claims, unsafe outputs, reward hacking and behavioral drift across post-training cycles. Each team includes safety evaluators trained on the client's own policy and a QA and calibration lead who owns the standards. Every Hugo team runs on written guidelines, a calibration set and measured agreement. For more on the method, read how human evaluators find model failures.
Related Terms
- Large Language Model (LLM)
- Generative AI (GenAI)
- AI Model Training
- Prompt Engineering
- Data Annotation
- Natural Language Processing (NLP)
- AI Agent Evaluation
- Reward Hacking
AI Red Teaming FAQs
What is AI red teaming?
AI red teaming is structured, often adversarial testing that looks for flaws and vulnerabilities in an AI system. Red teamers try to make a model or application produce harmful outputs, leak data or behave in unintended ways. NIST's definition includes unforeseen or undesirable behaviors and risks associated with misuse. OpenAI lists four goals: discovering novel risks, stress testing mitigations, adding domain expertise and providing independent assessment. Before starting, decide which harms matter most. Microsoft's red team starts from downstream impacts, which makes findings tied to real-world risks more likely.
How does AI red teaming work?
AI red teaming works as a scoped campaign: pick the risks and testers, give them access to a model version, collect documented findings, then turn the findings into fixes and evaluations. OpenAI describes four steps: choosing the cohort, deciding which model or system versions testers can access, providing interfaces and instructions, and synthesizing the data into evaluations. Testers record prompt and output pairs, the risk category, a risk level and notes on how they judged it. Timing matters: an early snapshot shows base-level risk, while testing after mitigations can focus on residual risk.
What is the difference between AI red teaming and AI benchmarking?
AI red teaming hunts for new, unknown failures in a specific system, while benchmarking scores a model on fixed datasets of known risks. Microsoft's AI red team, after testing more than 100 generative AI products, lists "AI red teaming is not safety benchmarking" among its eight lessons, because benchmarks measure preexisting notions of harm. Red teaming also targets end-to-end systems, not just the model. The two connect: at OpenAI, red team findings can inform automated evaluations whose metrics monitor whether a behavior holds as models evolve. Use red teaming to find gaps and benchmarks to track them.
Can AI red teaming be automated?
AI red teaming can be partly automated, and OpenAI reports using manual, automated and mixed methods that inform one another. Automated red teaming uses a model or templates to generate adversarial prompts and sometimes a classifier to grade outputs. In a 2022 study by Perez and colleagues, a language model red team uncovered tens of thousands of offensive replies in a 280B parameter chatbot. The same study calls LM-based red teaming one tool among many needed, and Microsoft's red team lists the human element as crucial. One mixed pattern seeds a dataset by hand, then scales it with generated prompts.
Is AI red teaming required by law?
The sources reviewed here show no law that names AI red teaming, but the EU AI Act requires providers of general-purpose AI models with systemic risk to assess and mitigate systemic risks, in particular by performing model evaluations (Article 55). Those obligations apply from 2 August 2025. The General-Purpose AI Code of Practice, published July 10, 2025, is a voluntary tool providers can use to demonstrate compliance. In the US, NIST's AI Risk Management Framework, which its Generative AI Profile accompanies, is intended for voluntary use. Confirm your own obligations with counsel; this entry describes the rules and is not legal advice.
How much does AI red teaming cost?
None of the public sources reviewed here publishes a standard price for AI red teaming. The sources do name cost drivers. Perez and colleagues note that human-written test cases are expensive, which limits their number and diversity. OpenAI notes that some risk assessments require specific domain knowledge, in fields such as law and medicine. Microsoft points out that gradient-based attacks are computationally expensive and usually need full model access. Ask a provider to scope the price by risk areas, model versions tested, documentation format and review rounds.
When should you outsource AI red teaming?
Outsourcing AI red teaming fits when a team needs testers with domain, language or cultural expertise it lacks in-house, or wants an independent view of its risks. OpenAI says external red teamers bring context such as regional politics, law and medicine, and that independent assessment reduces real or perceived conflicts of interest. Internal teams still fit early scoping and cases where IP or legal considerations make outside testing impractical. External testers can include domain experts, academic groups and specialist organizations. Ask a partner how testers are trained on your policy, how findings are documented and what wellbeing safeguards apply.
Sources
- National Institute of Standards and Technology (NIST), Computer Security Resource Center. red teaming - Glossary | CSRC. Accessed November 9, 2026.
- National Institute of Standards and Technology (NIST), Computer Security Resource Center. artificial intelligence red-teaming - Glossary | CSRC. Accessed November 9, 2026.
- National Institute of Standards and Technology (NIST). Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile. NIST AI 600-1. Updated July 2024. Accessed November 9, 2026.
- Lama Ahmad, Sandhini Agarwal, Michael Lampe, Pamela Mishkin. OpenAI’s Approach to External Red Teaming for AI Models and Systems. arXiv. Updated November 21, 2024. Accessed November 9, 2026.
- Blake Bullwinkel, Amanda Minnich, Shiven Chawla, et al. (Microsoft). Lessons From Red Teaming 100 Generative AI Products. arXiv. Accessed November 9, 2026.
- Deep Ganguli, Liane Lovitt, Jackson Kernion, et al. (Anthropic). Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learned. arXiv. Accessed November 9, 2026.
- Ethan Perez, Saffron Huang, Francis Song, et al. Red Teaming Language Models with Language Models. arXiv. Updated February 7, 2022. Accessed November 9, 2026.
- European Commission, AI Office. General-Purpose AI Models in the AI Act, Questions & Answers. Accessed November 9, 2026.
- European Commission. The General-Purpose AI Code of Practice. Updated October 7, 2026. Accessed November 9, 2026.




