Spaces:
Running
title: README
emoji: π‘οΈ
colorFrom: indigo
colorTo: gray
sdk: static
pinned: false
π‘οΈ Patronus Protect
An on-device AI firewall. It watches the AI traffic going in and out of your apps β browsers, IDEs, native apps, MCP servers β and blocks what shouldn't get through: prompt injections, leaked secrets, shadow AI. Everything runs locally, nothing is sent to a cloud, and it works with any provider (Claude, OpenAI, Gemini, Copilot, Ollama, β¦).
Patronus Ark
Patronus Ark is the scanning engine underneath the app: a Rust core with Python bindings that scans in three escalating layers, so most traffic is resolved before a transformer ever runs.
| Layer | What runs | Cost |
|---|---|---|
| L1 | Native rule-based detectors | microseconds |
| L2 | Small classifiers sharing one encoder | milliseconds |
| L3 | Full quantized transformers, lazily loaded | only for the uncertain rest |
Across those layers it catches prompt injection and jailbreaks, PII, secrets and DLP leaks, sensitive documents, risky agentic tool use and MCP policy violations, plus routing and threat classification β all on the endpoint.
Ark will be open source (dual license available). It is not public yet β the repository link will appear here at launch.
The models π€
Our detectors, trained for the firewall and shared openly β use them, fine-tune them, benchmark against them, and tell us where they fall short:
- πΊ Wolf Defender β prompt-injection detection and threat classification (EN/DE)
- π« Orca Sonar β document classification for DLP and sensitive-document routing
- π¦ Lion Warden β one unified seven-head AI-security model
- π Husky (Sight / Paw / Nose) β agentic tool use: tool type, operation, data-flow risk
- π Panther Read β user-intent and request routing
- π¦ Shark Scent β PII detection
- GLiNER Edge β quantized zero-shot entity extraction (upstream GLiNER, Apache-2.0)
Deliberately small: ModernBERT under the hood, ONNX-quantized (INT8/INT4), a few hundred MB of RAM β they run happily on a laptop instead of a GPU rack.
The app, with downloads for macOS and Windows, lives at patronus.studio. Come say hi.