# LLM red teaming vs agent red teaming

LLM red teaming tests what a chat model says when garak sends it adversarial prompts; agent red teaming tests what a tool-using agent does with files, URLs and reports under the same attacks, and on NVIDIA Brev one garak Launchable covers each on one NVIDIA L40S 48GB GPU.

Updated: 2026-11-29

Published: 2026-11-22

Compared: NeMo Guardrails + garak LLM Security Lab; OpenShell + garak Agent Safety Lab

Disclosure: 9owls publishes both Launchables compared on this page. garak, NVIDIA NeMo Guardrails and NVIDIA OpenShell are upstream open-source projects that 9owls does not make. Each lab was checked in its own fresh-deploy smoke: the LLM lab on 2026-11-15, the agent lab on 2026-11-19.

![An LLM red team probes what a chat model answers; an agent red team probes which files, URLs and data its tools can reach.](https://www.9owls.com/assets/infographics/compare/llm-red-teaming-vs-agent-red-teaming-IG08.2720f3bd5b.svg "LLM red teaming vs agent red teaming: what gets attacked. In both 9owls labs garak sends jailbreak and prompt-injection probes. The LLM lab targets a chat model endpoint (Nemotron Nano 9B v2 on vLLM) in a raw and a guarded lane, with no sandbox, so the attack surface is what the model answers. The agent lab targets a HelpDesk sample agent (Nemotron 3.5 Lightning on vLLM) with the tools read_file, http_get and send_report, in RAW, GUARDED and GUARDED+SANDBOX lanes, where an NVIDIA OpenShell sandbox applies a deny-by-default network policy; its attack surface is the files read, URLs fetched and data sent out. Both labs run on 1x NVIDIA L40S 48GB, AWS g6e.xlarge. Source: the two Launchable READMEs and the garak, NeMo Guardrails and OpenShell repositories, read 2026-11-22.")

Video: LLM red teaming vs agent red teaming (4:35) - transcript below

Ship a chat model, and you need to know what it says under attack. Ship an agent with tools, and you need to know what it does. That is the difference between LLM red teaming and agent red teaming: the target.

In both labs, garak, the LLM vulnerability scanner, sends adversarial prompts on purpose, to check whether an application built on a language model can be made to fail in a way you do not want. Each attack runs raw, then behind NeMo Guardrails, and you compare the reports.

In LLM red teaming, the target is a chat model endpoint. The LLM Security Lab serves one chat model twice. In the raw lane, the model answers directly. In the guarded lane, NeMo Guardrails checks every prompt and answer. The question is what the model says.

In agent red teaming, the target is an agent that can call tools. The Agent Safety Lab runs a sample HelpDesk agent with three: read file, HTTP get and send report. The question: did an attack make it read a file, fetch a URL, or send data out? Three lanes run the same agent: raw, guarded, and guarded plus an NVIDIA OpenShell sandbox with a deny-by-default network policy.

Both labs send jailbreak and prompt-injection probes. In the LLM lab, the first scan sends DAN-style jailbreak prompts, jailbreak prompts collected in the wild, and prompt-injection hijacks. In the agent lab, the probes include garak's agent breaker probe.

What does a finding look like? garak writes a report of which probes got through. In the LLM lab, you compare the raw and guarded reports. In the agent lab, one report covers all three lanes: attack success per probe family, canary hits at a local attacker sink, and rows for requests the sandbox denied. Your own run produces the numbers.

The three open-source projects do different jobs. garak attacks, when you test, before or after a change. NeMo Guardrails defends, on every request the application serves, allowing or blocking prompts and answers. NVIDIA OpenShell runs the agent in a sandbox, and only the agent lab adds it.

Start with the lab that matches what you ship: a model behind a chat interface, or an agent that calls tools. If you ship both, you have two questions, and each lab answers one. The agent lab can also scan your own endpoint, with consent.

Both labs are Launchables on NVIDIA Brev: GPU, disk, container setup and ports in one link. Each runs on one NVIDIA L40S GPU of your own. Deploy, wait until the instance shows Running, then open garak reports or open safety lab. When you finish, delete the instance. Storage is billed while it is stopped.

LLM red teaming asks what a model says. Agent red teaming asks what an agent does with its tools. garak attacks, NeMo Guardrails defends, and OpenShell adds the sandbox. Scan only systems you own or are authorised to test.

www.9owls.com

## LLM red teaming vs agent red teaming: what is the difference?

The difference is the target: LLM red teaming scans a model endpoint for what it answers, and agent red teaming attacks an agent to see which tools it misuses. [garak](https://github.com/NVIDIA/garak), "the LLM vulnerability scanner", sends the adversarial probes in both Launchables below.

- LLM red teaming: garak sends jailbreak and prompt-injection prompts to a chat model and records what the model answers.
- Agent red teaming: garak attacks an agent that can call tools, and the result shows whether it read a file, fetched a URL or sent data out.
- Guardrails: [NVIDIA NeMo Guardrails](https://github.com/NVIDIA-NeMo/Guardrails) checks what goes into and out of the model in both labs.
- Sandbox: only the agent lab adds an [NVIDIA OpenShell](https://github.com/NVIDIA/OpenShell) sandbox with a deny-by-default network policy.

A Launchable is a reproducible, shareable environment configuration on NVIDIA Brev: GPU, disk, container setup and ports in one link ([NVIDIA Brev documentation, Launchables](https://docs.nvidia.com/brev/latest/concepts/launchables.md)).

## garak vs NeMo Guardrails: which does what?

They do different jobs and are used together: garak attacks, NeMo Guardrails defends.

| Question | garak | NVIDIA NeMo Guardrails |
|---|---|---|
| What is it? | An LLM vulnerability scanner | A layer that checks what goes into and out of a model |
| When does it run? | When you test, before or after a change | On every request the application serves |
| What does it produce? | A report of which probes got through | Allowed or blocked prompts and answers |
| Where is it in these labs? | Sends the probes in both labs | Sits in front of the guarded lane in both labs |

The NeMo Guardrails documentation describes using the two together in [LLM Vulnerability Scanning](https://docs.nvidia.com/nemo/guardrails/latest/evaluation/llm-vulnerability-scanning.html) (read 2026-11-28).

## How were the two Launchables compared?

These criteria come from what each Launchable deploys, as recorded in its README and its fresh-deploy smoke.

- Target: what garak attacks.
- Lanes: which setups run side by side.
- Guardrails and sandbox: what sits in front of the target.
- Results: where you read them.
- GPU, disk and price, each with its read date.

## What does each Launchable test?

The LLM lab compares one chat model raw and guarded; the agent lab compares a sample agent raw, guarded and sandboxed.

| Item | NeMo Guardrails + garak LLM Security Lab | OpenShell + garak Agent Safety Lab |
|---|---|---|
| Target | A chat model endpoint: `nvidia/NVIDIA-Nemotron-Nano-9B-v2` by default | A sample HelpDesk agent with the tools `read_file`, `http_get` and `send_report` |
| Lanes compared | Raw (port `8001`) and guarded (port `8000`) | RAW, GUARDED and GUARDED+SANDBOX |
| Guardrails | NeMo Guardrails 0.24.1 with `nvidia/Nemotron-3.5-Content-Safety` | NeMo Guardrails 0.24.1 with NemoGuard JailbreakDetect; content safety as the `jailbreak+content-safety` option |
| Sandbox | None | NVIDIA OpenShell v0.0.116, deny-by-default network policy |
| Language model | Nemotron Nano 9B v2 on vLLM v0.20.2 | NVIDIA Nemotron 3.5 Lightning on vLLM v0.27.1 |
| Scanner | garak 0.17.1 | garak 0.17.1 |
| Where you read results | `garak-reports` link, plus Open WebUI with `raw` and `guarded` models | `open-safety-lab` dashboard, one report for all three lanes |
| GPU | 1x NVIDIA L40S 48GB, AWS `g6e.xlarge`, 200 GiB disk | 1x NVIDIA L40S 48GB, AWS `g6e.xlarge`, 200 GiB disk |
| Last fresh-deploy smoke | 2026-11-15 | 2026-11-19 |

Versions are as of each lab's smoke date. Both labs run on the same instance type, AWS `g6e.xlarge`, at about $2.26/hr (Brev console, 2026-11-19). The agent lab pins OpenShell v0.0.116 because NemoClaw v0.0.144 accepts no newer version (as of 2026-11-19, per its setup script). Your own scans produce the numbers; this page quotes none.

## Which should I start with?

Start with the lab that matches what you ship: a model behind a chat interface, or an agent that calls tools.

- Start with the [NeMo Guardrails + garak LLM Security Lab](https://www.9owls.com/launchables/nemo-guardrails-garak/) to see how a chat model answers jailbreak and prompt-injection prompts, raw and guarded.
- Start with [OpenShell + garak Agent Safety Lab](https://www.9owls.com/launchables/openshell-garak-agent-safety-lab/) to see whether an attack can make an agent read files, fetch URLs or leak data.
- Use the agent lab to point garak at your own OpenAI-compatible endpoint: set `TARGET_URL`, `TARGET_MODEL` and `TARGET_API_KEY` at launch and tick the consent box.
- Use the agent lab to edit a guardrails config or an OpenShell policy, press the Replay button and compare the new run with the last one.

> **Warning:** Scan only systems you own or are authorised to test. garak sends adversarial prompts on purpose, and reports can contain harmful text produced by the model under test.

## Where are the deploy and stop steps?

Each guide holds its own steps; this page links to them instead of repeating them.

- Model scan, step by step: [how to run a garak LLM vulnerability scan with NeMo Guardrails](https://www.9owls.com/guides/run-a-garak-llm-vulnerability-scan-with-nemo-guardrails/).
- Agent red teaming, step by step: [red team an AI agent with garak and NeMo Guardrails](https://www.9owls.com/guides/red-team-an-ai-agent-with-garak-and-nemo-guardrails/).
- Stop, start and delete: [stop, start and delete an NVIDIA Brev instance](https://www.9owls.com/guides/stop-start-and-delete-an-nvidia-brev-instance/).
- Your own repository as a Launchable: [NightKeeper](https://www.9owls.com/nightkeeper/). More tools are on the [LLM security topic](https://www.9owls.com/topics/llm-security/).

## Which sources does this page use?

- [NeMo Guardrails + garak Launchable README](https://github.com/ashishsalve/gpu-launchables/blob/main/nemo-guardrails-garak/README.md), read 2026-11-22: target model, ports, reports and versions.
- [OpenShell + garak Agent Safety Lab README](https://github.com/ashishsalve/gpu-launchables/blob/main/openshell-garak-agent-safety-lab/README.md), read 2026-11-22: sample agent, three lanes, profiles, consent and versions; its setup script, read 2026-11-28 for the OpenShell pin reason.
- [garak on GitHub](https://github.com/NVIDIA/garak), read 2026-11-22: "the LLM vulnerability scanner".
- [NVIDIA NeMo Guardrails on GitHub](https://github.com/NVIDIA-NeMo/Guardrails) and [NVIDIA OpenShell on GitHub](https://github.com/NVIDIA/OpenShell), read 2026-11-22.
- [NeMo Guardrails LLM Vulnerability Scanning](https://docs.nvidia.com/nemo/guardrails/latest/evaluation/llm-vulnerability-scanning.html), read 2026-11-28.
- [NVIDIA Brev documentation, Launchables](https://docs.nvidia.com/brev/latest/concepts/launchables.md), read 2026-11-22.

## How was this page made?

- Publisher: 9owls, which also publishes both Launchables compared here. The page has no personal byline.
- Tested facts come from the fresh-deploy smokes of the two Launchables (2026-11-15 and 2026-11-19); the price is a Brev console read on 2026-11-19.
- What changed on 2026-11-28: added the vendor disclosure, the comparison criteria, smoke dates and a garak vs NeMo Guardrails answer; one dated price replaces two; deploy and stop steps now link to their guides. Report an error through the [contact page](https://www.9owls.com/company/#contact).

## Related pages

- [NeMo Guardrails + garak LLM Security Lab](https://www.9owls.com/launchables/nemo-guardrails-garak/)
- [OpenShell + garak Agent Safety Lab](https://www.9owls.com/launchables/openshell-garak-agent-safety-lab/)
- [How to run a garak LLM vulnerability scan with NeMo Guardrails](https://www.9owls.com/guides/run-a-garak-llm-vulnerability-scan-with-nemo-guardrails/)
- [Red team an AI agent with garak and NeMo Guardrails](https://www.9owls.com/guides/red-team-an-ai-agent-with-garak-and-nemo-guardrails/)
- [LLM security](https://www.9owls.com/topics/llm-security/)

[All comparisons](https://www.9owls.com/compare/)
