# NeMo Guardrails + garak LLM Security Lab

NeMo Guardrails and garak, both from NVIDIA, form a lab where you red team a chat model and see what guardrails change, on your own GPU.

Updated: 2026-12-02

[Launch on Brev](https://brev.nvidia.com/launchable/deploy?launchableID=env-3M8bOSWcMAZsaOnuaytHUvAEC0v)

- GPU: NVIDIA L40S
- VRAM: 48 GB
- Disk: 200 GiB
- Instance: AWS g6e.xlarge
- Approximate cost: about USD 2.26 per hour, Brev console list price for AWS g6e.xlarge, 2026-11-19
- Ports: guarded API 8000; raw API 8001
- Last fresh-deploy smoke test: 2026-11-15
- Default model: nvidia/NVIDIA-Nemotron-Nano-9B-v2
- Pinned versions: NeMo Guardrails 0.24.1 (nemoguardrails[server]==0.24.1); garak 0.17.1 (garak==0.17.1); vLLM v0.20.2 (vllm/vllm-openai:v0.20.2, pinned by digest); Open WebUI v0.13.3 (ghcr.io/open-webui/open-webui:v0.13.3)
- Licences: NeMo Guardrails: Apache-2.0; garak: Apache-2.0; vLLM: Apache-2.0; Open WebUI: Open WebUI License; nvidia/NVIDIA-Nemotron-Nano-9B-v2: NVIDIA Open Model License; nvidia/Nemotron-3.5-Content-Safety: OpenMDW License Agreement, version 1.1; Qwen/Qwen3-8B: Apache-2.0
- Launchable ID: env-3M8bOSWcMAZsaOnuaytHUvAEC0v

## What it runs

garak, the LLM vulnerability scanner from NVIDIA, is licensed under Apache-2.0.

NeMo Guardrails, the guardrails framework from NVIDIA, is licensed under Apache-2.0. It uses the NVIDIA safety model nvidia/Nemotron-3.5-Content-Safety in front of the chat model nvidia/NVIDIA-Nemotron-Nano-9B-v2.

vLLM (Apache-2.0) serves the models. Open WebUI, distributed under the Open WebUI License, is the chat interface. Model licence notices ship in the public source folder.

## Production notes

- Step-by-step guide: [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/).
- To red team a tool-using agent instead of a chat model, see [OpenShell + garak Agent Safety Lab](https://www.9owls.com/launchables/openshell-garak-agent-safety-lab/).
- Open WebUI opens through the compare-raw-vs-guarded link, so you can compare the raw and guarded model.
- Two OpenAI-compatible APIs run on the instance: guarded on port 8000 and raw on port 8001.
- The garak report page serves only after its first scan.
- Stopping the instance removes the lab's containers; everything under ~/workspace is kept. Starting it again recreates the containers automatically, usually within a few minutes.
- Models, reports and chats are kept across a stop. Storage is still billed while the instance is stopped.
- Delete the instance when you are finished. This removes the instance and all of its data, including downloaded models, reports and chat history.

## Responsible use

garak sends adversarial prompts on purpose. Scan only models and endpoints you own or are allowed to test. Reports can contain harmful text produced by the model under test.

## Where do I learn more?

- First Launchable? [How to deploy a Launchable on NVIDIA Brev](https://www.9owls.com/guides/deploy-a-launchable-on-nvidia-brev/) walks through the deploy link and opening the web app.
- [Serve an OpenAI-compatible API with vLLM](https://www.9owls.com/guides/serve-an-openai-compatible-api-with-vllm/) explains the vLLM server behind the guarded and raw APIs and how to keep an API private.
- [Run Open WebUI with vLLM on a cloud GPU](https://www.9owls.com/guides/run-open-webui-with-vllm-on-a-cloud-gpu/) explains what Open WebUI and vLLM each do in a chat stack.
- [How to stop and delete an NVIDIA Brev instance](https://www.9owls.com/guides/stop-start-and-delete-an-nvidia-brev-instance/) covers what a stop keeps and what a stopped instance still costs.
- [Compare GPUs for LLM inference](https://www.9owls.com/compare/nvidia-l4-vs-l40s-for-llm-inference/) to see the NVIDIA L40S this lab runs on next to a smaller NVIDIA GPU.
- [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/) runs garak against a tool-using agent and compares raw, guarded and sandboxed runs.

## Source

Public source folder: [https://github.com/ashishsalve/gpu-launchables/tree/main/nemo-guardrails-garak](https://github.com/ashishsalve/gpu-launchables/tree/main/nemo-guardrails-garak)

- [NeMo Guardrails](https://github.com/NVIDIA-NeMo/Guardrails)
- [garak](https://github.com/NVIDIA/garak)
- [Open WebUI](https://github.com/open-webui/open-webui)
- [vLLM](https://github.com/vllm-project/vllm)
- [Nemotron 3.5 Content Safety](https://huggingface.co/nvidia/Nemotron-3.5-Content-Safety)

The README there covers quick facts, deploying in three steps, settings, data persistence, stop, start and delete, troubleshooting and an FAQ.

## Keep it running

Have your own stack like this? NightKeeper packages your repository as an NVIDIA Brev Launchable, proves it on a fresh GPU and keeps it running.

Your Brev API key stays in your repository's GitHub secrets. NightKeeper never sees it.

[Create your Launchable](https://www.9owls.com/nightkeeper/start/) or [read about NightKeeper](https://www.9owls.com/nightkeeper/).

## Related Launchables

- [Nemotron Chat with Open WebUI and vLLM](https://www.9owls.com/launchables/nemotron-chat/): Nemotron Chat is a private chat assistant on your own GPU: vLLM serves an NVIDIA Nemotron model and Open WebUI is the browser chat interface.
- [Open WebUI + vLLM](https://www.9owls.com/launchables/open-webui-vllm/): Open WebUI + vLLM is a private chat assistant on your own GPU: vLLM serves an open-weight model through an OpenAI-compatible API, and Open WebUI gives you the browser chat interface.
- [OpenHands Coding Agent on Nemotron](https://www.9owls.com/launchables/openhands-nemotron/): OpenHands is an open-source coding agent that writes, runs and fixes code; here it runs with an NVIDIA Nemotron model served by vLLM, as a private AI software engineer on your own GPU.
