DeepTeam is a framework to red team LLMs and AI agents.
Add Confident AI to deepteam docs in intros and frameworks sections
A-Vamshi1e3b1d2aa19a
diff --git a/docs/docs/frameworks-introduction.mdx b/docs/docs/frameworks-introduction.mdxindex 65286b57..a5137f9a 100644--- a/docs/docs/frameworks-introduction.mdx+++ b/docs/docs/frameworks-introduction.mdx@@ -14,8 +14,8 @@ DeepTeam supports multiple frameworks — from dataset-based testing (_BeaverTaiHere are the list of frameworks available in `deepteam`:- [OWASP](#owasp-top-10)- - OWASP Top 10 for Agents 2026- - OWASP Top 10 for LLMs 2025+ - [OWASP Top 10 for Agents 2026](#owasp-top-10-for-agents-2026)+ - [OWASP Top 10 for LLMs 2025](#owasp-top-10-for-llms-2025)- [NIST AI RMF](#nist-ai-rmf)- [MITRE ATLAS](#mitre-atlas)- [BeaverTails](#beavertails)diff --git a/docs/docs/frameworks-mitre-atlas.mdx b/docs/docs/frameworks-mitre-atlas.mdxindex 52a97494..75a0d0ae 100644--- a/docs/docs/frameworks-mitre-atlas.mdx+++ b/docs/docs/frameworks-mitre-atlas.mdx@@ -4,11 +4,25 @@ title: MITRE ATLASsidebar_label: MITRE ATLAS---+import BlogImageDisplayer from "@site/src/components/BlogImageDisplayer";+import VideoDisplayer from "@site/src/components/VideoDisplayer";+import { ASSETS } from "@site/src/assets";+The **MITRE ATLAS™ (Adversarial Threat Landscape for Artificial-Intelligence Systems)** framework provides a structured knowledge base of adversarial tactics, techniques, and procedures (TTPs) used against AI and ML systems.It extends the principles of [MITRE ATT&CK®](https://attack.mitre.org) to the **AI threat surface**, identifying how adversaries can manipulate, exploit, or misuse AI models throughout their lifecycle.DeepTeam's **MITRE ATLAS module** implements these adversarial mappings to test your AI or LLM application for security, privacy, and robustness vulnerabilities, across each phase of the AI attack lifecycle.+:::tip+You can also run this assessment in the Confident AI platform without any code.++<VideoDisplayer+ src={ASSETS.redTeamingOwaspTop10LlmPlatformVideo}+ confidentUrl="/docs/red-teaming/no-code-assessments/quickstart"+ label="Learn how to run framework assessments on Confident AI"+/>+:::+## OverviewIn DeepTeam, the MITRE ATLAS framework operationalizes AI-specific adversarial tactics to help organizations **detect**, **mitigate**, and **analyze** model exploitation risks.@@ -310,6 +324,36 @@ red_team(This stage ensures your system's final outputs and decisions remain aligned with **intended ethics, safety, and trust boundaries** — even under adversarial manipulation.+## Assessing Your Production Application with MITRE ATLAS++Red teaming your deployed applications is crucial to ensure your LLM applications are secure and compliant. You can run MITRE ATLAS-aligned assessments on your production application on Confident AI by directly connecting your application to the platform.++[Confident AI](https://www.confident-ai.com) allows you to directly chat with your deployed application through a postman style connection. This allows you to run MITRE ATLAS assessments against your production application:++<BlogImageDisplayer+ src={ASSETS.confidentSettingsProjectAiConnection}+ alt="AI Connection in Confident AI"+ caption="AI Connection in Confident AI"+/>++Confident AI also provides you with the full risk assessment report after running the assessment.++### Risk assessment reports and PDF export++After a run, Confident AI aggregates results into a **risk assessment** with CVSS-style severity, coverage, and per-test-case detail in the UI. You can also generate a **downloadable risk assessment report (PDF)** to share with security, compliance teams when you need a fixed artifact beyond the live dashboard.++<BlogImageDisplayer+ src={ASSETS.confidentRedTeamingRiskAssessment}+ alt="Risk assessment overview in Confident AI after a framework-based assessment"+ caption="Example: consolidated risk assessment in Confident AI after running a framework-based assessment."+/>++:::info+Setup [Confident AI](https://app.confident-ai.com) and run your first risk assessment in minutes. **It's free to get started.** _(No credit card required)_++Learn more [here](https://www.confident-ai.com)+:::+## Best Practices1. **Test across all six phases** to ensure lifecycle-wide resilience.diff --git a/docs/docs/frameworks-nist-ai-rmf.mdx b/docs/docs/frameworks-nist-ai-rmf.mdxindex a4d5a5c1..04eb1a55 100644--- a/docs/docs/frameworks-nist-ai-rmf.mdx+++ b/docs/docs/frameworks-nist-ai-rmf.mdx@@ -4,6 +4,10 @@ title: NIST AI RMFsidebar_label: NIST AI RMF---+import BlogImageDisplayer from "@site/src/components/BlogImageDisplayer";+import VideoDisplayer from "@site/src/components/VideoDisplayer";+import { ASSETS } from "@site/src/assets";+The **NIST AI Risk Management Framework (AI RMF)** is a structured methodology from the U.S. National Institute of Standards and Technology that guides organizations in identifying, evaluating, and mitigating risks in artificial intelligence systems.It promotes **trustworthy AI** by focusing on governance, measurement, and continuous risk tracking across the AI lifecycle.@@ -23,6 +27,16 @@ The framework is divided into four categories of measures:| **Measure 3** | Establish mechanisms for identifying, tracking, and managing emerging risks || **Measure 4** | Measure and correlate AI risk impacts with business and performance outcomes |+:::tip+You can also run this assessment in the Confident AI platform without any code.++<VideoDisplayer+ src={ASSETS.redTeamingOwaspTop10LlmPlatformVideo}+ confidentUrl="/docs/red-teaming/no-code-assessments/quickstart"+ label="Learn how to run framework assessments on Confident AI"+/>+:::+## Using the NIST Framework in DeepTeamYou can run a full NIST-based red team assessment in DeepTeam using:@@ -255,6 +269,36 @@ risk_assessment = red_team(This category ensures AI systems not only measure risks effectively but also **close the feedback loop** by aligning transparency, accountability, and business value.+## Assessing Your Production Application with NIST AI RMF++Red teaming your deployed applications is crucial to ensure your LLM applications are secure and compliant. You can run NIST AI RMF-aligned assessments on your production application on Confident AI by directly connecting your application to the platform.++[Confident AI](https://www.confident-ai.com) allows you to directly chat with your deployed application through a postman style connection. This allows you to run NIST AI RMF assessments against your production application:++<BlogImageDisplayer+ src={ASSETS.confidentSettingsProjectAiConnection}+ alt="AI Connection in Confident AI"+ caption="AI Connection in Confident AI"+/>++Confident AI also provides you with the full risk assessment report after running the assessment.++### Risk assessment reports and PDF export++After a run, Confident AI aggregates results into a **risk assessment** with CVSS-style severity, coverage, and per-test-case detail in the UI. You can also generate a **downloadable risk assessment report (PDF)** to share with security, compliance teams when you need a fixed artifact beyond the live dashboard.++<BlogImageDisplayer+ src={ASSETS.confidentRedTeamingRiskAssessment}+ alt="Risk assessment overview in Confident AI after a framework-based assessment"+ caption="Example: consolidated risk assessment in Confident AI after running a framework-based assessment."+/>++:::info+Setup [Confident AI](https://app.confident-ai.com) and run your first risk assessment in minutes. **It's free to get started.** _(No credit card required)_++Learn more [here](https://www.confident-ai.com)+:::+## Best Practices1. **Document testing procedures** — NIST emphasizes transparency and auditability.diff --git a/docs/docs/frameworks-owasp-top-10-for-agentic-applications.mdx b/docs/docs/frameworks-owasp-top-10-for-agentic-applications.mdxindex 9072f187..9a20e843 100644--- a/docs/docs/frameworks-owasp-top-10-for-agentic-applications.mdx+++ b/docs/docs/frameworks-owasp-top-10-for-agentic-applications.mdx@@ -4,6 +4,10 @@ title: OWASP Top 10 for Agents 2026sidebar_label: OWASP Top 10 for Agents 2026---+import BlogImageDisplayer from "@site/src/components/BlogImageDisplayer";+import VideoDisplayer from "@site/src/components/VideoDisplayer";+import { ASSETS } from "@site/src/assets";+The **OWASP Top 10 for Agentic Applications (ASI)** identifies the most critical security risks introduced by autonomous and semi-autonomous AI agents. Unlike traditional LLM applications, agentic systems combine reasoning, memory, tools, and multi-step execution, introducing new classes of vulnerabilities that extend beyond prompt-level attacks.The 2026 edition focuses on failures arising from goal misalignment, tool misuse, delegated trust, inter-agent communication, persistent memory, and emergent autonomous behavior.@@ -21,6 +25,13 @@ risk_assessment = red_team()```+You can also run this assessment in the Confident AI platform without any code.++<VideoDisplayer+ src={ASSETS.redTeamingOwaspTop10LlmPlatformVideo}+ confidentUrl="/docs/red-teaming/framework-policies"+ label="Learn how to run framework assessments on Confident AI"+/>:::## What Makes Agentic AI Different@@ -400,6 +411,36 @@ critical_assessment = red_team()```+## Assessing Your Production Application with OWASP ASI++Red teaming your deployed applications is crucial to ensure your LLM applications are secure and compliant. You can run OWASP Top 10 for Agentic Applications assessments on your production application on Confident AI by directly connecting your application to the platform.++[Confident AI](https://www.confident-ai.com) allows you to directly chat with your deployed application through a postman style connection. This allows you to run OWASP ASI assessments against your production application:++<BlogImageDisplayer+ src={ASSETS.confidentSettingsProjectAiConnection}+ alt="AI Connection in Confident AI"+ caption="AI Connection in Confident AI"+/>++Confident AI also provides you with the full risk assessment report after running the assessment.++### Risk assessment reports and PDF export++After a run, Confident AI aggregates results into a **risk assessment** with CVSS-style severity, coverage, and per-test-case detail in the UI. You can also generate a **downloadable risk assessment report (PDF)** to share with security, compliance teams when you need a fixed artifact beyond the live dashboard.++<BlogImageDisplayer+ src={ASSETS.confidentRedTeamingRiskAssessment}+ alt="Risk assessment overview in Confident AI after a framework-based assessment"+ caption="Example: consolidated risk assessment in Confident AI after running a framework-based assessment."+/>++:::info+Setup [Confident AI](https://app.confident-ai.com) and run your first risk assessment in minutes. **It's free to get started.** _(No credit card required)_++Learn more [here](https://www.confident-ai.com)+:::+## Best Practices for Agentic AI Security1. **Defense in Depth**: Implement multiple layers of security controls at the reasoning, tool, memory, and communication levelsdiff --git a/docs/docs/frameworks-owasp-top-10-for-llms.mdx b/docs/docs/frameworks-owasp-top-10-for-llms.mdxindex 75a04e08..d8241c5a 100644--- a/docs/docs/frameworks-owasp-top-10-for-llms.mdx+++ b/docs/docs/frameworks-owasp-top-10-for-llms.mdx@@ -4,6 +4,10 @@ title: OWASP Top 10 for LLMs 2025sidebar_label: OWASP Top 10 for LLMs 2025---+import BlogImageDisplayer from "@site/src/components/BlogImageDisplayer";+import VideoDisplayer from "@site/src/components/VideoDisplayer";+import { ASSETS } from "@site/src/assets";+The **OWASP Top 10 for Large Language Models (LLMs)** is a comprehensive list of the most critical security risks associated with LLM applications. This resource is designed to help developers, security professionals, and organizations identify, understand, and mitigate vulnerabilities in these systems, ensuring safer and more robust deployments in real-world applications.The 2025 edition reflects significant evolution in the LLM threat landscape, with new risks emerging from RAG systems, autonomous AI agents, and sophisticated attack methods.@@ -21,6 +25,14 @@ risk_assessment = red_team()```+You can also run this assessment in the Confident AI platform without any code.++<VideoDisplayer+ src={ASSETS.redTeamingOwaspTop10LlmPlatformVideo}+ confidentUrl="/docs/red-teaming/no-code-assessments/quickstart"+ label="Learn how to run framework assessments on Confident AI"+/>+:::## What's New in 2025@@ -381,6 +393,36 @@ print(f"Total test cases: {len(owasp_assessment.test_cases)}")print(f"Pass rate: {owasp_assessment.pass_rate:.1%}")```+## Assessing Your Production Application with OWASP++Red teaming your deployed applications is crucial to ensure your LLM applications are secure and compliant. You can run OWASP Top 10 assessments on your production application on Confident AI by directly connecting your application to the platform.++[Confident AI](https://www.confident-ai.com) allows you to directly chat with your deployed application through a postman style connection. This allows you to run OWASP Top 10 assessments against your production application:++<BlogImageDisplayer+ src={ASSETS.confidentSettingsProjectAiConnection}+ alt="AI Connection in Confident AI"+ caption="AI Connection in Confident AI"+/>++Confident AI also provides you with the full risk assessment report after running the assessment.++### Risk assessment reports and PDF export++After a run, Confident AI aggregates results into a **risk assessment** with CVSS-style severity, coverage, and per-test-case detail in the UI. You can also generate a **downloadable risk assessment report (PDF)** to share with security, compliance teams when you need a fixed artifact beyond the live dashboard.++<BlogImageDisplayer+ src={ASSETS.confidentRedTeamingRiskAssessment}+ alt="Risk assessment overview in Confident AI after an OWASP-style framework run"+ caption="Example: consolidated risk assessment in Confident AI after running a framework-based assessment."+/>++:::info+Setup [Confident AI](https://app.confident-ai.com) and run your first risk assessment in minutes. **It's free to get started.** _(No credit card required)_++Learn more [here](https://www.confident-ai.com)+:::+## Best Practices1. **Regular Testing**: Run OWASP assessments as part of your development cyclediff --git a/docs/docs/getting-started.mdx b/docs/docs/getting-started.mdxindex 0007cb76..f98e63ea 100644--- a/docs/docs/getting-started.mdx+++ b/docs/docs/getting-started.mdx@@ -5,6 +5,10 @@ sidebar_label: Quick Introduction---import Envelope from "@site/src/components/Envelope";+import BlogImageDisplayer from "@site/src/components/BlogImageDisplayer";+import { ASSETS } from "@site/src/assets";+import Tabs from "@theme/Tabs";+import TabItem from "@theme/TabItem";**DeepTeam** is an open-source framework to red team LLM systems. DeepTeam makes it extremely easy to incorporate the latest security guidelines and research to detect risks and vulnerabilities for LLMs, and was built with the following principles in mind:@@ -186,7 +190,30 @@ You'll be able to see each individual test case, the vulnerability and the type### Saving Results-Lastly, you can also save your risk assessment by using the `save()` method.+<Tabs>+<TabItem value="confident-ai" label="Confident AI">++Confident AI is the cloud solution for DeepTeam and DeepEval. It allows you to view your red teaming results in a centralized place, and also allows you to run red teaming on your production applications through the UI. To get started, simply run the following command:++```bash+deepteam login+```++You can also use the `CONFIDENT_API_KEY` environment variable for sending your red teaming results to Confident AI. After you're authenticated, all your red teaming results will now be automatically sent to the Confident AI platform.++<BlogImageDisplayer+ src={ASSETS.confidentRedTeamingRiskAssessment}+ alt="Risk assessment overview in Confident AI"+ caption="Risk profile overview in Confident AI platform along with the test cases, CVSS score, coverage, and more."+/>++Confident AI also provides you with the full risk assessment report in a downloadable PDF format after running the assessment. This is a professional report useful for **security reviews**, **compliance evidence**, and **stakeholders** who need a fixed artifact instead of the live UI. You can [learn more here](https://www.confident-ai.com).++</TabItem>++<TabItem value="locally" label="Locally to disk">++Save the in-memory `RiskAssessment` to a folder on disk:```python title="red_teaming_example.py"...@@ -194,6 +221,10 @@ Lastly, you can also save your risk assessment by using the `save()` method.risk_assessment.save(to="./deepteam-results/")```+</TabItem>++</Tabs>+## Customize Your AttacksYou'll notice when red teaming LLM systems, attack methods like prompt injection, ROT13, and gray box are randomly simulated. To control which attacks occur, simply specify a custom attack distribution to sample from. This will ensure only selected attacks are used while excluding others.diff --git a/docs/docs/red-teaming-introduction.mdx b/docs/docs/red-teaming-introduction.mdxindex 31bf38aa..d2a6929d 100644--- a/docs/docs/red-teaming-introduction.mdx+++ b/docs/docs/red-teaming-introduction.mdx@@ -6,6 +6,9 @@ sidebar_label: Introductionimport Tabs from "@theme/Tabs";import TabItem from "@theme/TabItem";+import BlogImageDisplayer from "@site/src/components/BlogImageDisplayer";+import VideoDisplayer from "@site/src/components/VideoDisplayer";+import { ASSETS } from "@site/src/assets";`deepteam` offers a powerful yet simple way for anyone to red team all sorts of LLM applications for safety risks and security vulnerabilities in just a few lines of code. These LLM apps can be anything such as RAG pipelines, agents, chatbots, or even just the LLM itself, while the vulnerabilities include ones such as bias, toxicity, PII leakage, misinformation.@@ -673,3 +676,49 @@ The attacks are fed into the LLM, and the resulting responses are evaluated usin:::tipIt's worth noting that using a synthesizer model like GPT-3.5 can prove more effective than GPT-4o, as more **advanced models tend to have stricter filtering mechanisms**, which can limit the successful generation of adversarial attacks.:::++`deepteam` is highly recommended to be used in development environments, but for users in production, **Confident AI** is the recommended way to run red teaming on your applications.++## Production Risk Assessments++[**Confident AI**](https://www.confident-ai.com) allows you to run red teaming on your production applications through the UI. You can connect your application to the platform by creating an AI Connection which allows Confident AI to ping your app via a HTTP request to communicate.++:::info+Production applications are the user facing applications you've deployed to the internet. It is very crucial to ensure that these applications are safe and secure against adversarial attacks and security vulnerabilities. **Confident AI** allows you to easily set up these production applications on the platform to run red teaming on them anytime and anywhere.+:::++### Connect Your Application++Confident AI has a built-in AI Connection feature that mimics the `model_callback` function in `deepteam` which allows the platform to communicate with your application. You can navigate to the "**AI Connections**" tab in your project settings and create a new AI Connection. There you can now configure the endpoint, payload, and output key path that's specific to your application.++<BlogImageDisplayer+ src={ASSETS.confidentSettingsProjectAiConnection}+ alt="AI Connection configuration in Confident AI"+ caption="A one-time AI Connection setup to enable communication with your application."+/>++### Select a Security Framework++There are many pre-defined safety frameworks like **OWASP**, **MITRE ATLAS**, **NIST AI RMF**, and more that you can choose from on Confident AI platform. You can also curate your own custom frameworks with different vulnerabilities and attacks to suit your AI's specific needs.++<BlogImageDisplayer+ src={ASSETS.confidentRedTeamingChooseFramework}+ alt="Choosing a security framework in Confident AI"+/>++### View Risk Reports++After creating a framework, you can now run a risk assessment on your application. Confident AI will generate adversarial inputs from your framework and use them against your application through the AI Connection before the entire test case is evaluated and scored.++You can also download a PDF report for each assessment for security reviews, compliance packets, and executive or stakeholder updates.++<BlogImageDisplayer+ src={ASSETS.confidentRedTeamingRiskAssessment}+ alt="Risk assessment dashboard in Confident AI"+/>++:::info+Setup [Confident AI](https://app.confident-ai.com) and run your first risk assessment in minutes. **It's free to get started.** _(No credit card required)_++Learn more [here](https://www.confident-ai.com)+:::diff --git a/docs/docs/what-is-llm-red-teaming.mdx b/docs/docs/what-is-llm-red-teaming.mdxindex a373fee2..c63230ce 100644--- a/docs/docs/what-is-llm-red-teaming.mdx+++ b/docs/docs/what-is-llm-red-teaming.mdx@@ -4,6 +4,9 @@ title: What Is LLM Red Teaming?sidebar_label: What Is LLM Red Teaming?---+import BlogImageDisplayer from "@site/src/components/BlogImageDisplayer";+import { ASSETS } from "@site/src/assets";+Large Language Model (LLM) red teaming refers to the practice of probing and attacking AI models in a controlled manner to uncover vulnerabilities and risky behaviors before malicious actors do. Unlike conventional software testing, which often focuses on code flaws, LLM red teaming specifically targets the model’s outputs and behavior under adversarial conditions.<div@@ -99,6 +102,18 @@ Manual testing involves expert researchers probing an LLM with adversarial prompHowever, manual red teaming is slow, expensive, and difficult to scale. It requires specialized expertize and lacks repeatability, making it unsuitable for most companies deploying pre-trained models. Even industry leaders rely on automation to cover more ground efficiently.+## Red teaming on Confident AI++[Confident AI](https://www.confident-ai.com) allows you to connect your production applications to the platform by creating an AI Connection, which allows the platform to communicate with the application via HTTP requests. This allows you to run risk assessments anytime within the UI itself.++Deployed models are always prone to vulnerabilities and security risks, which is why it is important to ensure that these applications are secure and compliant. Confident AI allows you to schedule recurring risk assessments on your production applications making it a scalable and repeatable workflow.++<BlogImageDisplayer+ src={ASSETS.confidentRedTeamingScheduledFramework}+ alt="Scheduled red teaming automation on Confident AI"+ caption="Scheduling automated risk assessments on Confident AI."+/>+## Model vs System WeaknessWe've covered what LLM red teaming is, how it works, and how to execute it effectively. Now, let's talk about the root causes of these vulnerabilities. When your LLM system is weak against an adversarial attack or security risk, the issue can stem from either the model itself or the system around it. Understanding this distinction helps determine the right mitigation strategies.