// comparison

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

Published

  • 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.
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.
LLM red teaming vs agent red teaming - 4:35
Transcript

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

On this page

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 (external site), "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 (external site) checks what goes into and out of the model in both labs.

  • Sandbox: only the agent lab adds an NVIDIA OpenShell (external site) 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 (external site)).

garak vs NeMo Guardrails: which does what?

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

garak vs NeMo Guardrails: which does what?
QuestiongarakNVIDIA NeMo Guardrails
What is it?An LLM vulnerability scannerA layer that checks what goes into and out of a model
When does it run?When you test, before or after a changeOn every request the application serves
What does it produce?A report of which probes got throughAllowed or blocked prompts and answers
Where is it in these labs?Sends the probes in both labsSits in front of the guarded lane in both labs

The NeMo Guardrails documentation describes using the two together in LLM Vulnerability Scanning (external site) (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.

What does each Launchable test?
ItemNeMo Guardrails + garak LLM Security LabOpenShell + garak Agent Safety Lab
TargetA chat model endpoint: nvidia/NVIDIA-Nemotron-Nano-9B-v2 by defaultA sample HelpDesk agent with the tools read_file, http_get and send_report
Lanes comparedRaw (port 8001) and guarded (port 8000)RAW, GUARDED and GUARDED+SANDBOX
GuardrailsNeMo Guardrails 0.24.1 with nvidia/Nemotron-3.5-Content-SafetyNeMo Guardrails 0.24.1 with NemoGuard JailbreakDetect; content safety as the jailbreak+content-safety option
SandboxNoneNVIDIA OpenShell v0.0.116, deny-by-default network policy
Language modelNemotron Nano 9B v2 on vLLM v0.20.2NVIDIA Nemotron 3.5 Lightning on vLLM v0.27.1
Scannergarak 0.17.1garak 0.17.1
Where you read resultsgarak-reports link, plus Open WebUI with raw and guarded modelsopen-safety-lab dashboard, one report for all three lanes
GPU1x NVIDIA L40S 48GB, AWS g6e.xlarge, 200 GiB disk1x NVIDIA L40S 48GB, AWS g6e.xlarge, 200 GiB disk
Last fresh-deploy smoke2026-11-152026-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 to see how a chat model answers jailbreak and prompt-injection prompts, raw and guarded.

  • Start with 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.

Where are the deploy and stop steps?

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

Which sources does this page use?

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.

All comparisons