What Is AI Red Teaming and How Does It Work?

Most testing checks whether a system works as expected. Red teaming does something different: testers deliberately search for ways to make the system fail.

Why would an AI company hire people to break its own safeguards?

AI Safety Lab Investigation 5 of 5

How AI systems identify risk, make safety decisions and still get things wrong.

Case being examined

A model passes its standard safety checks. A separate team is then asked to use unusual, misleading and adversarial approaches to discover weaknesses those checks missed.

Imagine a bank hiring security specialists to break into its own building.

The specialists might test the locks, approach employees with convincing stories and search for entrances ordinary visitors would never use.

The goal is not theft. The goal is to find weaknesses before a real attacker does.

AI red teaming follows the same basic logic.

Why is it called a red team?

The term comes from adversarial testing practices in fields such as military planning and cybersecurity.

One group represents the system or plan being defended. Another group plays the role of the adversary and tries to expose weaknesses.

In AI, red teamers examine how a model or wider AI product behaves under pressure.

They may try to:

  • bypass safety restrictions
  • produce harmful or disallowed outputs
  • extract sensitive information
  • confuse the system with conflicting instructions
  • manipulate a tool-using agent
  • find unfair or unreliable behavior
  • discover failures in unusual languages or contexts

The exact risks depend on what the system can do.

Standard testing and red teaming ask different questions

Testing approach Main question Typical method
Standard evaluation Does the system meet the expected requirement? Run prepared tests and measure the result.
Red teaming How can the system be made to violate the requirement? Adapt, probe and search for unexpected failure paths.

Standard testing checks known cases consistently.

Red teaming is more exploratory. The tester is encouraged to think of approaches the system’s designers may not have anticipated.

Step 1: Define the risk being tested

A red-team exercise needs a clear target.

“Try to break the AI” is too broad to produce useful results.

The team may instead investigate questions such as:

  • Can the model be persuaded to provide restricted assistance?
  • Can hidden instructions be extracted?
  • Can outside text override the system’s intended rules?
  • Can an agent be manipulated into using a tool incorrectly?
  • Can private information appear in an output?

A clear risk definition makes failures easier to record and compare.

Step 2: Design adversarial challenges

Red teamers do not limit themselves to direct requests.

They may vary:

  • the wording
  • the language
  • the conversation length
  • the fictional or professional context
  • the formatting
  • the order of instructions
  • the external documents supplied to the system

The purpose is to test whether the safety boundary depends too heavily on familiar patterns.

Red Team Report

Risk tested: Can the system be persuaded to ignore a safety restriction?

Method: Testers vary the wording, context and sequence of the conversation.

Result: Any successful bypass is recorded with enough detail for the development team to reproduce and investigate it.

Step 3: Record more than success or failure

A useful red-team report needs more than “we broke it.”

The team may record:

  • the exact conditions that produced the failure
  • whether the failure can be repeated
  • how severe the possible harm is
  • whether the problem affects one model or the wider product
  • which safeguards failed to detect it
  • how easily an ordinary user could reproduce it

A rare, unstable failure may require a different response from a reliable bypass that works across many prompts.

Step 4: Decide where the repair belongs

Red teamers often discover the problem, but they do not necessarily fix it themselves.

The appropriate change may involve:

Training

Add examples that teach the model to handle the failure pattern better.

Instructions

Clarify how the model should resolve conflicting requests.

Classifiers

Improve the components that inspect prompts or outputs.

Permissions

Reduce what the model can access or do without approval.

Interface design

Add confirmations, warnings or clearer user controls.

Monitoring

Detect similar behavior when the system is used after release.

This is important because not every AI failure is best solved by retraining the model.

If an agent has too much access, reducing its permissions may be more reliable than asking the language model to exercise better judgment.

Step 5: Test the system again

A repair may stop the original attack while creating a new problem.

For example, a stronger safeguard could block the discovered bypass but also increase refusals for harmless users.

The system should therefore be tested again for:

  • the original failure
  • similar variations
  • new false positives
  • changes to ordinary usefulness
  • unexpected effects on other capabilities

Red teaming belongs inside a repeated improvement cycle.

Choose a risk → Design challenges → Test the system → Record failures → Improve safeguards → Test again

Human and automated red teaming

Human testers are useful because they can reason about context, invent new strategies and adapt after seeing the model’s response.

Automated methods can produce large batches of prompt variations and search a wider space quickly. One model may be used to generate challenges for another model.

The two approaches have different strengths.

Human red teaming

Good at creative reasoning, specialist knowledge and adapting to the system’s behavior.

Slower and limited by what the testers think to try.

Automated red teaming

Good at generating many variations and repeating tests consistently.

May repeat familiar patterns or miss failures that require deeper human context.

Using both can improve coverage, but neither explores every possible attack.

Red teaming finds what the team manages to test

A successful red-team exercise does not prove that a system has no remaining weaknesses.

The testers may miss:

  • a language they did not cover
  • a specialist domain they did not understand
  • a long sequence they did not attempt
  • a tool interaction they did not have access to
  • a strategy invented after the test ended

Red teaming expands the set of known failures. It does not turn unknown failures into impossibilities.

The ethical lockpicker

A professional lockpicker can show that a lock resisted the methods they tried. They cannot prove that no person will ever discover another method.

Why red-team findings are not always published in full

Transparency can help outside researchers understand how a system was tested.

However, a detailed report may also reveal exactly how to reproduce a serious vulnerability.

Organisations may therefore publish:

  • a high-level summary
  • results after the weakness has been reduced
  • selected examples with sensitive details removed
  • more complete information to trusted researchers or authorities

This creates a real tension between public scrutiny and avoiding instructions that make exploitation easier.

Red teaming is part of a larger safety system

This week has examined five connected ideas:

  1. AI safety covers several kinds of risk.
  2. Safety systems can block harmless requests.
  3. Safer behavior can be shaped through training and feedback.
  4. Tests cannot represent every real-world situation.
  5. Red teams deliberately search for gaps that ordinary tests miss.

None of these layers is sufficient alone.

Training can miss unfamiliar situations. Classifiers can misread context. Tests can omit future attacks. Red teams can fail to think of the strategy a real attacker later discovers.

The purpose of combining layers is not perfection. It is to reduce the number of failures, catch them earlier and limit the consequences when they still occur.

Where the process can fail

A red-team report can create false confidence when people treat “we tested it” as meaning “nothing else can go wrong.” The result only covers the risks and methods that were actually examined.

Investigation result

Red teaming deliberately searches for failures before ordinary users or attackers find them. It improves safety coverage, but it can only discover the weaknesses that the testing process manages to reach.

One thing to remember

AI red teaming is not proof that a system is safe.

It is evidence that people actively tried to make the system fail, documented what they found and used those findings to improve the next round of protections.

Previous investigation: Why AI Can Pass Safety Tests and Still Fail in the Real World

AI Safety Lab complete

Review all five investigations to see how safety definitions, refusals, training, evaluation and red teaming fit together.

View All Five AI Safety Lab Investigations →

Comments

Readers Also Read

Why AI Gives Different Answers to the Same Prompt

Why Voice AI Mishears Certain Words

What Are AI Guardrails? How AI Systems Are Restricted in Real Time