Most testing checks that a system does what it should. Red teaming checks what it does when someone tries to make it misbehave. Testers act as hostile or careless users: they try to make a support assistant promise refunds it cannot give, coax an agent into revealing another customer's data, or slip hidden instructions into a document the system reads. For any AI system that faces the public or acts on business systems, red teaming is how a buyer learns the worst case before launch.
How it works
A red-team exercise usually starts by listing what would be harmful for this particular system: leaking personal data, taking an unauthorised action, giving dangerous advice, making commitments on the business's behalf, or producing offensive content. Testers then try to cause each one, using techniques such as:
- Jailbreaks, which coax the model past its instructions with role-play or persistence.
- Prompt injection, hiding instructions in emails, web pages or files the system processes.
- Probing for data, asking the system to reveal its prompt, other users' records or internal information.
- Abuse of tools, pushing an agent to call functions in ways nobody intended.
Successful attacks are recorded, fixed with better guardrails, tighter permissions or prompt changes, and added to the evals so that they are re-tested after every change.
What it means for cost
Red teaming adds effort to a build, and how much depends on exposure. An internal tool used by a few trained staff needs a light exercise. A public chatbot, a voice agent taking calls, or an agent that can send emails or change records needs a thorough one, sometimes by people outside the build team. That difference is one reason quotes for similar-looking systems can vary.
The cost of skipping it is harder to see until something goes wrong: a public embarrassment, a data incident, or an agent action that has to be reversed. Ask a builder:
- What are the worst things this system could do, and how have you tested for them?
- What can the system access, and could it be tricked into misusing that access?
- Will red-team findings be documented and added to regular tests?
Limiting what the system can do, for example read-only access where possible, often reduces risk more cheaply than testing alone.
Common questions
Is red teaming only for large companies?
No. Any system that talks to the public or takes actions can be misused. A small business can run a focused exercise on its own system, concentrating on the few failures that would hurt most.
Who should do red teaming, the builder or someone else?
The builder should test their own work, but they know how the system is meant to be used, which can blind them to other uses. For high-exposure systems, a second set of testers often finds problems the builder missed.
Does red teaming make a system completely safe?
No. It reduces known risks and shows how the system fails, but new attack techniques appear over time. It works best combined with limited permissions, monitoring and regular re-testing.