Gantrly

Self-hostable project tracking for teams that build — on sites, not just in code.

On Hugging Face we publish the models behind Mobius Guard, our open-source firewall for LLM apps.

🏰 Fortress-XS: prompt-injection and harmful-request detection on a CPU

Fortress-XS v1
Model gantrly/fortress-xs: 81 MB INT8 ONNX, two outputs (attack, harmful), Apache-2.0
Try it Demo: the model runs in your browser, so your text never leaves the page
Speed 36 ms at 128 tokens, 183 ms at 512 on 4 CPU threads; no GPU, no torch
Held-out results 66% of attacks caught on average over 9 test families no compared detector trained on, at 1% false positives, against 44% for PIGuard and 29% for ProtectAI v2
Use it pip install "mobiusguard[onnx]", then classifier = "fortress-xs"

Fortress-XS: 66% average recall on 9 held-out attack families at 1% false positives, 183 ms on a CPU; PIGuard 44% and ProtectAI v2 29% at 1,151 ms

🏯 Fortress-Base: for documents, email and developer traffic

Fortress-Base v1
Model gantrly/fortress-base: DeBERTa-v3-base, 308 MB INT8 ONNX, two outputs (attack, harmful), Apache-2.0
Held-out results Against Fortress-XS on the same held-out sets: 68.5% of LLMail-Inject's injections in emails caught (47.4%), 70.5% of BIPIA's injections inside documents (12.9%), 6.0% of real developer messages blocked (10.6%)
Speed 104 ms at 128 tokens, 525 ms at 512 on 4 CPU threads: 2.9× Fortress-XS
Roles Reads each text with its role, user or tool result; each role has its own threshold
Use it Mobius Guard 0.3 or later: classifier = "fortress-base"

How we publish

Links

Mobius Guard on GitHub · PyPI · Docs · Results · Discussions · Report a bypass privately · Gantrly on GitHub