Spaces:
Running
Running
File size: 2,274 Bytes
29a876a 25d4a1f 29a876a 25d4a1f 96089ba 25d4a1f 96089ba 25d4a1f 96089ba 25d4a1f 96089ba 25d4a1f 96089ba 25d4a1f f8e975a 96089ba 25d4a1f 96089ba 25d4a1f 4c85691 de885a0 4c85691 96089ba 25d4a1f 96089ba 25d4a1f 96089ba | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | ---
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](https://patronus.studio). Come say hi.
|