Guardrail tester
Run a sample through the Security Gateway before your rules meet real traffic
The guardrail tester runs a sample through the Security Gateway like a real tool call and shows what each stage did. Use it after every rule change, since edits go live on save.
Open Security → Guardrail tester. It appears once guardrails are enabled and uses your live configuration.
Run a test
- Paste a sample, ideally a real argument or result from Tool call logs, or pick a built-in one.
- Click Test guardrails.
- Read the feed.
Read the feed
- Entity scan: each matched entity or custom rule, badged Redact, Log, or Block
- Pre-run guardrail verdicts: badged Pass, Log, or Block
- Tool call: “Tool call ran” or “Tool call skipped”
- Post-run guardrail verdicts
- Outcome: “Response delivered” or the guardrail that blocked it
Evaluation failed means the guardrail returned no verdict. Rerun the sample.
What to test
For an AI Guardrail, test one violating sample and one that touches the subject innocently. If either result is wrong, rewrite the instruction.
Next: watch real traffic in Violations and alerts.