DeepTeam is a framework to red team LLMs and AI agents.
{
"images": [
{
"file": "red-teaming-loop.svg",
"title": "The red-teaming loop",
"alt": "Four-step cycle around the DeepTeam logo: simulate adversarial attacks, probe the target LLM system, evaluate LLM outputs, then iterate based on the vulnerabilities detected",
"width": 2352,
"height": 1097,
"source": {
"urls": [
"https://deepteam-docs.s3.amazonaws.com/red-teaming-workflow.svg"
]
}
},
{
"file": "model-vs-system-weakness.svg",
"title": "Where model and system weaknesses occur",
"alt": "A bad actor sends input through guardrails into an LLM system of prompt template, model, embedding model, vector database and tools; the model is marked as where model weakness occurs and the whole system as where system weakness occurs",
"width": 2481,
"height": 1883,
"source": {
"urls": [
"https://deepteam-docs.s3.amazonaws.com/model-vs-system-weakness.svg"
]
}
},
{
"file": "test-case-creation.webp",
"title": "How a red-teaming test case is created",
"alt": "A vulnerability seeds a baseline attack, the attacker enhances it, the target LLM responds, and the result is stored as a red-teaming test case",
"width": 2400,
"height": 418,
"source": {
"urls": [
"https://deepteam-docs.s3.us-east-1.amazonaws.com/docs:red-teaming-process.png"
]
}
},
{
"file": "test-case-anatomy.webp",
"title": "Anatomy of a red-teaming test case",
"alt": "A red-teaming test case holds the vulnerability, vulnerability type, input, actual output and turns; the red-teaming metric evaluates it into a score, reason and error",
"width": 2400,
"height": 893,
"source": {
"urls": [
"https://deepteam-docs.s3.us-east-1.amazonaws.com/docs:red-teaming-test-case.png"
]
}
},
{
"file": "multi-turn-test-case.webp",
"title": "How a multi-turn test case is created",
"alt": "A vulnerability seeds a baseline attack, the attacker and target LLM exchange turns, and the conversation is stored as turns on the red-teaming test case, ready for evaluation",
"width": 2400,
"height": 801,
"source": {
"urls": [
"https://deepteam-docs.s3.us-east-1.amazonaws.com/docs:red-teaming-test-case-turns.png"
]
}
},
{
"file": "risk-assessment-structure.webp",
"title": "Structure of a risk assessment",
"alt": "A risk assessment holds an overview with the red-teaming overview, vulnerability type results and attack method results, plus every test case",
"width": 2000,
"height": 1130,
"source": {
"urls": [
"https://deepteam-docs.s3.us-east-1.amazonaws.com/docs:red-teaming-risk-assessment.png"
]
}
},
{
"file": "attack-synthesis.svg",
"title": "Attack synthesis",
"alt": "The attack synthesizer generates baseline attacks and enhances each one into an enhanced attack",
"width": 621,
"height": 143,
"source": {
"urls": [
"https://confident-bucket.s3.amazonaws.com/red_teaming_synthesis.svg"
]
}
},
{
"file": "attack-evaluation.svg",
"title": "Attack evaluation",
"alt": "Enhanced attacks are sent to the target LLM, each response is graded by a scorer, and the scores are combined into the final results",
"width": 884,
"height": 147,
"source": {
"urls": [
"https://confident-bucket.s3.amazonaws.com/red_teaming_evaluation.svg"
]
}
},
{
"file": "single-turn-customization.webp",
"title": "Single-turn attack customization",
"alt": "Multiple enhancements are chained from a one-shot enhancement such as roleplay or prompt injection into an encoding-based enhancement",
"width": 2400,
"height": 674,
"source": {
"urls": [
"https://deepteam-docs.s3.us-east-1.amazonaws.com/guides:single-turn-customization.png"
]
}
},
{
"file": "multi-turn-customization.webp",
"title": "Multi-turn attack customization",
"alt": "A one-shot enhancement such as roleplay or prompt injection is passed into a multi-turn progression, which can run multiple progressions",
"width": 2400,
"height": 674,
"source": {
"urls": [
"https://deepteam-docs.s3.us-east-1.amazonaws.com/guides:multi-turn-customization.png"
]
}
},
{
"file": "per-prompt-vs-aggregate.webp",
"title": "Each request snaps; the benchmark crawls",
"alt": "Three dashed curves show individual requests with per-attempt success probabilities of 3%, 0.3% and 0.03%; each rises from near 0% to near 100% over about two orders of magnitude of attempts. The solid curve averages five such requests and climbs smoothly and steadily across five orders of magnitude.",
"width": 2136,
"height": 1518
},
{
"file": "attack-budgets.webp",
"title": "The three attacker budgets, and where DeepTeam covers them",
"alt": "Three groups. Samples, or how many tries: Best-of-N, covered in DeepTeam today by encoding attacks such as Leetspeak, CharacterStream and ROT13 and by raising attacks per vulnerability type. Shots, or how much context: many-shot jailbreaking, partly covered by ContextFlooding. Turns, or how long a conversation: Crescendo and multi-turn human red teaming, covered by CrescendoJailbreaking, LinearJailbreaking and TreeJailbreaking.",
"width": 2136,
"height": 1995
}
]
}