esc
  • WorkflowsPages
  • Case studiesPages
  • Machine Learning FoundationsLearn
  • AI EngineeringLearn
  • AI Guardrails & Red TeamingLearn
  • UI/UXLearn
  • Design SystemsLearn
  • Production System DesignLearn
  • AI papersPages
  • Interview KitPages
  • Book a callContact
  • Download ResumeContact
Let’s talk

I’ll build the agent for it.

Automated vs Human Red Teaming

When automated red teaming is the right tool, when people are, and how to combine them, explained simply for your AI interview.

In short

Automated red teaming uses a model or script to write attacks and a judge to score the replies, so it runs at scale. Human red teaming uses people who think like attackers to find new harms and judge context. Strong teams use both, with people starting the work and checking the results.

11 min readIntermediateCommon · estimateFacts checked 26 November 2026

Say it out loud

Read it once, then say it without looking. Start with the short one; use the long one when they ask you to go deeper.

Automated red teaming means a model or script writes the attacks and a judge scores the replies. It runs thousands of tests, but it only finds what it was built to look for. Human red teaming means people who think like attackers. They find new kinds of harm and read context well, but they are slow and costly. I would use both: people write the first attacks, machines multiply them, and people check the judge, because the judge can be wrong too.

What are automated and human red teaming, in plain words?

Red teaming means attacking your own AI system on purpose, before someone hostile does. You want the bad replies, leaked data and broken rules found while you can still fix them.

There are two ways to run it. Human red teaming uses people who think like attackers. Automated red teaming uses a model or a script to write the attacks, and a judge to score each reply.

Think of a bank checking its branch security. It hires a tester who walks in and tries new ideas on the vault door. It also runs a night scanner that rattles every door it knows about. The tester finds what nobody listed. The scanner covers what the tester has no time to try. The same split applies to the assistant in the scenario below: its fraud team tries it by hand, while a script runs two thousand generated variants overnight.

Key words

Red team
People or a tool that attack a system on purpose to find its weak spots.
Seed attack
A starting test written by a person, which a machine can then vary.
Judge
The scorer, often another model, that marks each reply safe or unsafe.
Coverage
How much of the set of possible attacks your tests actually reach.

How does automated red teaming work?

In 2022, Perez and colleagues proposed using one language model to write test cases for another. Hand-written tests are expensive to produce, so there are fewer of them. A model can write many more.

  1. 1

    Start from seeds

    A person writes a few dozen attacks that reflect real risks, such as a customer trying to get a refund without a case number.

  2. 2

    Generate variants

    A model rewrites each seed in many styles, languages and tones, so one idea becomes hundreds of tries.

  3. 3

    Run them on the bot

    A script sends every variant to the system under test and records each reply.

  4. 4

    Judge each reply

    The judge marks each reply safe or unsafe. Judges are often models too, so they can make mistakes.

  5. 5

    Send the flags to people

    Flagged replies go to a fix list. Passed replies are only assumed safe until someone checks them.

  • “human annotation is expensive, limiting the number and diversity of test cases.”

    Perez and colleagues, 2022

  • “This increase in volume and the expanded scope of AI red teaming have rendered fully manual testing impractical, forcing us to scale up our operations with the help of automation.”

    Microsoft researchers, 2025

Anthropic describes a similar path in its write-up. Experts probe the model by hand first, then a language model generates the variations, and the process moves from ad hoc human testing to more thorough, automated testing. The model does the volume, and people set the direction.

Automated and human red teaming in one loop

Testers write seeds

40 attacks from real risks

Model makes variants

2,000 tries from the seeds

Automatic scoring

Bot replies

the system under test

Judge marks it

flags replies as unsafe

People audit

read flags and a sample of passes

Fix and retest

the bot is tested again

  1. 1The starting attacks go to the model, which multiplies them.
  2. 2The model turns each seed into many variants and sends them to the bot.
  3. 3The bot's reply goes to the judge for a safe or unsafe mark.
  4. 4Flagged replies go to people, who read them and a sample of passes.
  5. 5People send the fixes back, and the fixed bot is tested again.
  6. 6Fixes and new attacks from the audit become seeds for the next round.
Testers write seeds, a model multiplies them, and the bot answers. A judge marks each reply, then people audit the flags and a sample of passes. Fixes and new seeds start the next round.

Tip

Automated tests are cheap to repeat, so run them on every change. Their value is repetition and reach. Judgement stays with people.

What can people do that automation cannot?

Automation finds the attacks it was built to find. People do the parts that need judgement. Microsoft's red team says human judgement and creativity are needed to prioritise risks, design whole-system attacks and define new kinds of harm.

  • Choose what matters

    Decide which risks matter most for this product and its users, such as a wrong fee quote or a private balance shown to the wrong person.

  • Invent new attacks

    Write attacks nobody has listed yet, such as a new scam wording that the team saw in a customer complaint.

  • Read the context

    Judge whether a polite reply still hurts someone in a particular situation, like a customer who has just lost a card.

  • Check the judge

    Read the replies the judge passed, and catch the ones it scored safe by mistake.

  • Automated

    Wide, fast, blind to context

    Thousands of tries a night. It only finds what someone taught it to see, and its judge can be wrong.

  • Human

    Deep, slow, costly

    Finds new kinds of harm and reads context well. It cannot cover thousands of tries, and people tire.

How do you combine them?

Use each for what it does well. People set the direction and check the results, and machines do the volume. Microsoft's documentation for its AI red teaming agent makes the same point.

  • “The most effective strategies for risk assessment combine automated tools that surface potential risks with expert human analysis for deeper insights.”

    Microsoft's AI red teaming agent documentation

  • “only human operators can assess the full range of interactions that users might have with AI systems in the wild”

    Microsoft researchers

Keep going until the loop stops finding new failures, so your coverage keeps growing. A zero from a judge nobody has checked tells you very little.

How would you run it for a bank's support assistant?

This is a made-up bank with made-up numbers. A mid-size bank is about to launch an assistant that answers fee and refund questions. One wrong promise becomes a complaint and a regulator's question, so the team agrees the plan before launch.

  1. 1

    Week one: people write seeds

    The fraud and complaints teams write forty attacks, because they know how real customers and scammers talk.

  2. 2

    Overnight: the tool multiplies them

    The model turns the forty seeds into 2,000 variants, in plain, tricky and multilingual styles.

  3. 3

    The judge flags 137 replies

    The team reads all 137 and fixes the instructions behind each bad reply.

  4. 4

    Sample the passes

    They read 50 of the 1,863 passes at random. Six are unsafe, so the judge missed about 12 in every 100 in this sample.

  5. 5

    Retune and repeat

    If that rate holds, about 220 unsafe replies got through. Six in 50 is a small sample, so the real number could be much higher or lower. The judge is retuned, a larger sample is read again, and real complaints become new seeds.

Launch waits until the miss rate is low enough for the bank's risk team to accept. After that, the same loop runs again after every model or prompt change.

What does the interviewer want to hear?

A strong answer covers

  • A plain definition of each: a model at scale, or people who think like attackers.
  • The trade-off: automation gives reach and repeatability, people give judgement and new ideas.
  • The judge is often a model too, so it needs its own checks.
  • Seeds from people, variants from machines, and a human read of the flags and a sample of passes.
  • A zero result only means the judge found nothing.
  • Red teaming repeats after every change, and it starts before launch.

Common traps

  • Trap"Automated red teaming replaces people."

    BetterIt multiplies people. Humans still write the seeds, check the judge and decide what counts as harm.

  • Trap"Zero failures means the system is safe."

    BetterIt means the judge flagged nothing. Check a sample of its passes before you believe it.

  • Trap"People are always more accurate than machines."

    BetterAt volume people tire over thousands of replies, so machines cover the bulk and people check it.

Can you spot the weak testing report?

Spot the weak report

Four teams report their testing before launch. Which one shows the weakest testing?

Quick check

A bank has three testers and one week before launch. Which plan gives the best mix of reach and judgement?

Can you answer these from memory?

Flash cards · tap a card to flip it

1 / 6

What will they ask next?

  1. Q221What is red teaming?10 min
  2. Q223Guardrail tools (Llama Guard, NeMo Guardrails, cloud filters)?10 min
  3. Q224What is a policy classifier layer?12 min
  4. Q201What is prompt injection?12 min
  5. Q227How do you secure an agent that reads email?13 min

Learn it in depth

Last updated on 26 November 2026

Setting up red teaming for an AI product?

I design and build AI products and agents, including the test loop behind them: people writing the first attacks, automated runs and judge checks. Book a short call and tell me what you need to test.