// guide
Red team an AI agent with garak and NeMo Guardrails
OpenShell + garak Agent Safety Lab is a Launchable for NVIDIA Brev that red teams a sample tool-using AI agent with garak, then runs the same attacks through NVIDIA NeMo Guardrails and an NVIDIA OpenShell sandbox, and compares the raw, guarded and sandboxed runs in one report.
Updated
Published
On this page
What does this Launchable deploy?
It installs and configures third-party open-source projects on one GPU instance. It does not modify them.
- garak (external site), the LLM vulnerability scanner, sends adversarial probes, including its
agent_breakerprobe. - A sample HelpDesk agent with three tools,
read_file,http_getandsend_report, is the target. - NVIDIA NeMo Guardrails (external site) checks what goes into and out of the agent, with NemoGuard JailbreakDetect for jailbreak detection.
- NVIDIA OpenShell (external site) runs the agent in a sandbox with a deny-by-default network policy.
- vLLM (external site) serves NVIDIA Nemotron 3.5 Lightning on the same GPU.
- A local attacker sink and a fake key file show whether an attack leaked data.
- One Brev Secure Link named
open-safety-lab(port 8080) opens the lab dashboard.
How do the raw, guarded and sandboxed lanes compare?
The lab runs the same attacks against the same agent in three lanes and puts the results side by side in one report.
| Lane | What sits in front of the agent |
|---|---|
| RAW | Nothing: the model and its tools answer directly |
| GUARDED | NeMo Guardrails with jailbreak detection and safety checks |
| GUARDED+SANDBOX | NeMo Guardrails, plus an OpenShell sandbox with deny-by-default network policy |
The report shows attack success per garak probe family, canary hits at the local sink, and rows for the requests the sandbox denied. Your own run produces the numbers; this page quotes none.
Which GPU, disk and price does it use?
| Item | Value |
|---|---|
| GPU | 1x NVIDIA L40S 48GB (48 GB VRAM minimum) |
| Instance type | AWS g6e.xlarge |
| Disk | 200 GiB |
| Price | about $2.26/hr (Brev console, 2026-11-19) |
| Time to ready | about 30 minutes (fresh-deploy smoke, 2026-11-19) |
| Last fresh-deploy smoke | 2026-11-19, fresh deploy on AWS with 1x L40S |
How do I launch it, step by step?
Open the deploy page on NVIDIA Brev (external site) (Launchable ID
env-3MK1o9MUGMtZElFZvoYphMsZUmB). The general flow is in how to deploy a Launchable on NVIDIA Brev.Optionally pick
GUARD_PROFILE(jailbreak-detectorjailbreak+content-safety) andSCAN_PROFILE(quickorstandard), then deploy.Wait until the instance shows Running and setup has finished.
Click the
open-safety-lablink on the instance page.Wait for the readiness lights to turn green, then press the "Run all three lanes" button.
How do I scan my own endpoint, and what consent is needed?
You can point garak at your own OpenAI-compatible endpoint instead of the sample agent.
At launch, set
TARGET_URL,TARGET_MODELandTARGET_API_KEY.In the dashboard, tick the consent box.
Press the "Scan my endpoint" button.
Requests pass through a budget proxy with a hard cap: 200 requests for quick and 1000 for standard.
What can I try in the first hour?
The README of the Launchable suggests three tasks:
Red team the sample agent: run all three lanes and compare the report.
Scan your own endpoint, with consent, at the
quickorstandardprofile.Edit the guardrails config or the OpenShell policy, save, then press the Replay button and compare the new run with the last one.
How is this different from the NeMo Guardrails + garak lab?
Both use garak and NeMo Guardrails, but they test different targets.
| Launchable | Target | Sandbox |
|---|---|---|
| NeMo Guardrails + garak LLM Security Lab | A chat model endpoint, raw and guarded side by side | No |
| OpenShell + garak Agent Safety Lab | A tool-using agent that can read files, fetch URLs and send reports | Yes, OpenShell |
Pick the first to test what a model says. Pick this one to test what an agent with tools does. The model scan has its own guide, how to run a garak LLM vulnerability scan with NeMo Guardrails, and the two approaches are set side by side in LLM red teaming vs agent red teaming. More security tooling is listed under LLM security.
What happens after Stop and Start?
Stop pauses the instance and keeps its disk. If the lab does not come back after Start, open the Brev terminal and run sudo systemctl restart asl.service.
Which versions and licences does it pin?
Versions as of 2026-11-19, the date of the last fresh-deploy smoke.
| Component | Version | Licence |
|---|---|---|
| garak | 0.17.1 | Apache License 2.0 |
| NVIDIA NeMo Guardrails | 0.24.1 | Apache License 2.0 |
| NVIDIA OpenShell | v0.0.116 | Apache License 2.0 |
| vLLM | v0.27.1 | Apache License 2.0 |
| NVIDIA Nemotron 3.5 Lightning | as pinned in the README | OpenMDW License Agreement, version 1.1 |
| NemoGuard JailbreakDetect | as pinned in the README | NVIDIA Open Model License |
| snowflake-arctic-embed-m-long | as pinned in the README | Apache License 2.0 |
The optional content-safety model (GUARD_PROFILE jailbreak+content-safety) carries its own terms, listed in the README.
OpenShell is pinned to v0.0.116 because NemoClaw v0.0.144 accepts no newer version (as of 2026-11-19, per the Launchable's setup script), and the lab keeps the same OpenShell pin as the NemoClaw private agent guide. Newer OpenShell releases exist; the browser agent guide uses v0.1.9.
How does this relate to NightKeeper?
This Launchable is a finished environment you deploy yourself. NightKeeper is a separate 9owls product for your own code: it packages your repository as an NVIDIA Brev Launchable, proves it on a fresh GPU and keeps it running.
Which sources does this page use?
Launchable README (openshell-garak-agent-safety-lab) (external site), read 2026-11-21; its setup script, read 2026-11-28 for the OpenShell pin reason.
garak on GitHub (external site), NVIDIA NeMo Guardrails on GitHub (external site), NVIDIA OpenShell on GitHub (external site) and vLLM on GitHub (external site), read 2026-11-21.
Brev public Launchable record for
env-3MK1o9MUGMtZElFZvoYphMsZUmB, read 2026-11-21: instance typeg6e.xlarge, 1x L40S 48GB, 200 GiB, published.NeMo Guardrails + garak README (external site), read 2026-11-21.
How was this page made?
- Publisher: 9owls. The page has no personal byline.
- Tested facts (GPU, disk, time to ready, the three lanes and the dashboard) come from the Launchable's fresh-deploy smoke on 2026-11-19; the price is the Brev console deploy page read on 2026-11-19.
- Upstream facts come from the project repositories read on 2026-11-21.
- What changed on 2026-12-01: the title, heading and opening paragraph lead with the lab's name again.
- What changed on 2026-11-28: the title now names the OpenShell sandbox the lab adds, the price source is the console read, and the OpenShell pin reason was added. Report an error through the contact page.