A guardrail for AI agents. Paste anything an agent might read — a user message, an email, a web page, a tool result — and it decides in one forward pass whether it is benign, a prompt injection, a jailbreak or a harmful request.
Model time is measured on the server; total is measured in your browser. This demo runs on a 2-vCPU CPU — on a T4 GPU the same model takes ~34 ms.
| Text | Verdict | P(attack) | Model | Total |
|---|---|---|---|---|
| No checks yet. | ||||
| Model | F1 | AUROC | False blocks | T4 latency |
|---|---|---|---|---|
| Laya Agent Guard (this) | 0.88 | 0.97 | 7% | 34 ms |
| Jev (hosted API) | 0.78 | 0.92 | 17% | n/a |
| Llama Guard 3 1B | 0.65 | 0.81 | 19% | 98 ms |
| Laya base (no fine-tune) | 0.58 | 0.69 | 34% | 44 ms |
18,617 test prompts across 11 benchmarks, threshold 0.5. Weak spots: it trails Jev on XSTest, JailbreakBench and deepset. Full results →
Fine-tuned on 78k examples from 13 public datasets plus synthetic indirect injections, on free Kaggle GPUs.