# OpenShell + garak Agent Safety Lab

OpenShell + garak Agent Safety Lab red teams a tool-using agent on NVIDIA Nemotron 3.5 Lightning with garak, then compares raw, NeMo Guardrails guarded and NVIDIA OpenShell sandboxed runs, on your own GPU.

Updated: 2026-12-02

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

- 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 (README facts line), 2026-11-19
- Ports: safety lab 8080
- Last fresh-deploy smoke test: 2026-11-19
- Default model: NVIDIA Nemotron 3.5 Lightning 30B-A3B NVFP4
- Pinned versions: vLLM v0.27.1 (model); v0.20.2 (content safety option); NVIDIA Nemotron 3.5 Lightning 30B-A3B NVFP4 revision bee75962; garak 0.17.1; NeMo Guardrails 0.24.1; NVIDIA OpenShell v0.0.116; Python 3.12.16
- Licences: garak: Apache-2.0; NeMo Guardrails: Apache-2.0; NVIDIA OpenShell: Apache-2.0; vLLM: Apache-2.0; NVIDIA Nemotron 3.5 Lightning: OpenMDW-1.1; snowflake-arctic-embed-m-long: Apache-2.0; Nemotron 3.5 Content Safety (option): OpenMDW-1.1 and the Gemma Terms of Use
- Launchable ID: env-3MK1o9MUGMtZElFZvoYphMsZUmB

## What it runs

vLLM serves NVIDIA Nemotron 3.5 Lightning 30B-A3B NVFP4 on the same GPU. No hosted model endpoint is used.

The lab runs the same agent in three lanes. RAW calls the model directly. GUARDED adds NeMo Guardrails jailbreak detection and self-check rails. GUARDED+SANDBOX also runs inside an NVIDIA OpenShell sandbox with a deny-by-default network policy.

garak sends adversarial prompts to each lane. You can edit the guardrails config or the OpenShell policy, then press Replay to compare.

Per the README: garak, NeMo Guardrails, OpenShell and vLLM are Apache-2.0. Nemotron 3.5 Lightning is under the OpenMDW-1.1 licence. snowflake-arctic-embed-m-long is Apache-2.0. Nemotron 3.5 Content Safety (option) is under OpenMDW-1.1 and the Gemma Terms of Use.

## Production notes

- New to Launchables? [Deploy a Launchable on NVIDIA Brev](https://www.9owls.com/guides/deploy-a-launchable-on-nvidia-brev/) walks through the deploy steps, and [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/) walks through this one.
- The README states the expected time to ready. Open the `open-safety-lab` Secure Link, which serves port 8080, and wait for the five readiness lights.
- Scan only systems you own or are authorised to test. To scan your own endpoint, set the target parameters at launch and tick the consent box.
- A budget proxy puts a hard cap on the number of scan requests.
- For a guardrails lab without the agent sandbox, see [NeMo Guardrails and garak](https://www.9owls.com/launchables/nemo-guardrails-garak/).
- After Start, if the lab link shows an error, run `sudo systemctl restart asl.service` in the Brev terminal and wait for the readiness lights.
- [Stop, start and delete an NVIDIA Brev instance](https://www.9owls.com/guides/stop-start-and-delete-an-nvidia-brev-instance/) explains Stop and Delete. All agent Launchables are compared in [NVIDIA Brev agent Launchables](https://www.9owls.com/guides/nvidia-brev-agent-launchables/).

> Note: Disk storage is billed while the instance is stopped. Delete removes the instance and all data, and cannot be undone.

## Source

Public source folder: [https://github.com/ashishsalve/gpu-launchables/tree/main/openshell-garak-agent-safety-lab](https://github.com/ashishsalve/gpu-launchables/tree/main/openshell-garak-agent-safety-lab)

- [garak](https://github.com/NVIDIA/garak)
- [NeMo Guardrails](https://github.com/NVIDIA/NeMo-Guardrails)
- [NVIDIA OpenShell](https://github.com/NVIDIA/OpenShell)
- [vLLM](https://github.com/vllm-project/vllm)

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.
- [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.
- [NeMo Guardrails + garak LLM Security Lab](https://www.9owls.com/launchables/nemo-guardrails-garak/): 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.
