Skip to content

DeepTeam is a framework to red team LLMs and AI agents.

update docs

A-Vamshi353b279d18f6
diff --git a/docs/docs/frameworks-eu-ai-act.mdx b/docs/docs/frameworks-eu-ai-act.mdx
index e63d9b16..f7bb50a9 100644
--- a/docs/docs/frameworks-eu-ai-act.mdx
+++ b/docs/docs/frameworks-eu-ai-act.mdx
@@ -22,6 +22,42 @@ You can also run this assessment in the Confident AI platform without any code.
/>
:::
+## About the EU AI Act
+
+The EU AI Act (Regulation (EU) 2024/1689) was adopted in 2024 and is the world's first horizontal law dedicated to AI. It applies to providers and deployers of AI systems that affect people in the EU — regardless of where the provider is based — and takes a **risk-based** approach, assigning obligations according to the harm an AI system can cause.
+
+The Act groups AI systems into four tiers:
+
+| Tier | What it means | Examples |
+| --------------------- | --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| **Unacceptable risk** | Banned outright under **Article 5** | Social scoring, subliminal manipulation, untargeted scraping of facial images |
+| **High risk** | Permitted but subject to strict requirements under **Annex III** and Chapter III | Recruitment, credit scoring, biometric ID, critical infrastructure, law enforcement |
+| **Limited risk** | Allowed with **transparency duties** only | Chatbots, deepfakes, emotion recognition (outside prohibited use) |
+| **Minimal risk** | Allowed with no additional obligations | Spam filters, AI in video games |
+
+On top of these tiers, the Act adds dedicated rules for **general-purpose AI (GPAI) models**, including extra obligations for models posing systemic risk.
+
+### What DeepTeam's EU AI Act framework covers
+
+DeepTeam operationalises the parts of the Act that can be stress-tested with red teaming:
+
+- **Article 5** — all six families of prohibited practices
+- **Annex III** — all eight high-risk use cases
+
+For each category, DeepTeam provides vulnerabilities and attack strategies that probe whether your system's behaviour is consistent with the Act's requirements.
+
+### What it does not cover
+
+The EU AI Act also contains obligations that are **governance, documentation, and process-driven** rather than behavioural. DeepTeam does not, and cannot, replace these. In particular, the framework does not directly assess:
+
+- **Transparency duties** for limited-risk systems (e.g. disclosing AI-generated content)
+- **GPAI model obligations** — technical documentation, copyright policies, and systemic-risk assessments (Articles 51-55)
+- **Provider obligations** — conformity assessments, quality management systems, CE marking, and EU database registration (Articles 16-29)
+- **Post-market monitoring, incident reporting, and human oversight** procedures (Articles 14, 72-73)
+- **Fundamental rights impact assessments** for high-risk deployers (Article 27)
+
+Use DeepTeam to generate evidence on how an AI system behaves under adversarial conditions, and combine it with your existing governance, documentation, and compliance workflows to meet the Act in full.
+
## Overview
In DeepTeam, the EU AI Act framework maps each prohibited practice and high-risk use case to concrete red-teaming vulnerabilities and attack strategies.
@@ -577,10 +613,72 @@ red_team(
/>
:::
+## Regulatory obligations beyond adversarial testing
+
+DeepTeam is built to probe how your model behaves under stress for **Article 5** and **Annex III** scenarios. That exercise surfaces technical weaknesses you can fix before deployment — but the EU AI Act also expects **organisational**, **procedural**, and **documentation** controls that no red-team run can replace.
+
+:::warning
+**Adversarial testing alone does not equal compliance.** Satisfying DeepTeam checks or clearing a one-off assessment does **not** discharge your duties under the Regulation: you still need the right technical documentation, risk-management artefacts, transparency measures, human oversight, and post-market processes where they apply. Skipping those layers can leave you exposed to market surveillance, contractual liability, and the Act’s administrative fines — even if your model “passes” in the lab.
+:::
+
+### Documentation and traceability
+
+Expect to maintain evidence regulators and customers can inspect, including:
+
+- A **risk management system** that runs across design, validation, deployment, and major updates — not a one-page checklist.
+- **Technical documentation** that explains the system’s purpose, data, architecture, and performance in enough depth for conformity assessment or internal verification (depending on your pathway).
+- **Operational logging and records** where the Act requires traceability of behaviour in production.
+- **Instructions for use** that tell deployers how to operate the system safely and within its intended context.
+
+### Transparency toward users and the public
+
+Depending on how your system is presented and classified, you may need to:
+
+- **Disclose machine interaction** so people know they are dealing with an AI capability, not only a human service.
+- **Label or otherwise disclose AI-generated outputs** where the Regulation (and implementing rules) require synthetic-media transparency.
+- **Invest in detection and mitigation** for deceptive synthetic content where your product sits in scope for deepfake-related expectations.
+
+### Human oversight and meaningful control
+
+High-risk and sensitive deployments are expected to keep humans in charge of outcomes, not just names on an RACI chart:
+
+- **Intervention paths** that let qualified staff correct, reject, or override model-led recommendations before they cause harm.
+- **Stop, override, or decommission mechanisms** that work in practice under incident conditions, not only in documentation.
+- **Structured human review** for decisions that materially affect rights, safety, or access to essential services.
+
+### Quality management and post-market vigilance
+
+After go-live, the Act assumes you continue to govern the system:
+
+- **Post-market monitoring** to catch drift, misuse, and emerging failure modes in real environments.
+- **Incident handling and reporting** aligned with serious-incident triggers and timelines in the Regulation.
+- **Conformity and compliance assessment** appropriate to your role (provider vs deployer) and the conformity route you follow.
+
+### Administrative fines for infringements
+
+National authorities can impose **administrative fines** tied to the severity of the breach and your worldwide turnover. Indicative upper bands under the Act include:
+
+- **Prohibited practices (Article 5):** up to **€40 million** or **7%** of global annual turnover, whichever is higher.
+- **Breaches of obligations for high-risk AI systems:** up to **€15 million** or **3%** of global annual turnover, whichever is higher.
+- **Supplying incorrect, incomplete, or misleading information** to notified bodies or regulators: up to **€7.5 million** or **1%** of global annual turnover, whichever is higher.
+
+Exact caps depend on the company category (SME vs non-SME) and the specific infringement — always verify against the consolidated legal text and competent authority guidance.
+
+### Phased application of the Regulation
+
+The EU AI Act takes effect in **stages** from the date of application (check the official journal dates for your planning window). At a high level:
+
+- **Early phase (~6 months):** rules on **prohibited AI practices** under Article 5.
+- **~12 months:** **general-purpose AI (GPAI)** obligations for relevant models and systemic-risk providers.
+- **~24 months:** core **high-risk AI** duties for systems listed in **Annex III** (subject to specific exceptions in the legal text).
+- **~36 months:** extended deadlines for certain **Annex III** use cases and components as specified in the Regulation.
+
+Timelines can be adjusted by corrigenda or delegated acts — treat the [official text](https://artificialintelligenceact.eu/) and Commission notices as the source of truth for your compliance calendar.
+
## Best Practices
1. **Start from your risk tier.** If your system is prohibited under Article 5, remediation (not mitigation) is required; for Annex III systems, run the full set of relevant categories.
-2. **Combine red teaming with governance.** EU AI Act obligations cover both technical robustness and documentation — use DeepTeam alongside your risk management system.
+2. **Combine red teaming with governance.** EU AI Act obligations cover both technical robustness and documentation — use DeepTeam alongside your risk management system (see [Regulatory obligations beyond adversarial testing](#regulatory-obligations-beyond-adversarial-testing)).
3. **Test fairness across protected traits.** Cover `Bias`, `Fairness`, and `Ethics` jointly for Annex III categories that affect fundamental rights.
4. **Pair with NIST AI RMF.** NIST RMF gives you measurable governance metrics; the EU AI Act gives you the regulatory scope — run them together.
5. **Re-assess after any material change** — new training data, new deployment context, or a new downstream use case can change your risk tier.