Patronus

Models that secure AI.
Right on the CPU.

Patronus Embedded Intelligence: specialized models that detect prompt injection, harmful content, sensitive data and risky tool calls, built into your product. All open on Hugging Face.

On Hugging Face

> 70,000
downloads in total
> 17,000
downloads in 30 days
> 85
likes

Wolf Defender runs in

  • Apache Camel
  • TrustyAI
  • Delphi Security
  • Wanaku
and three more products

01 · Edge first

The check runs inside your product.
No cloud inspection service, no GPU.

Your endpoint agent, gateway, DLP system or agent hook calls the models directly, on the CPU your product already has. What goes out is up to your policy.

Latency and memory in detail
Four layers stacked: your product, the Patronus models inside it as embedded intelligence, the Patronus Runtime Engine that runs them, and at the bottom your CPU.

Four layers, from your product down to the CPU. Hover over a layer to see what it does.

Your productAn endpoint agent, gateway, DLP system or agent hook. It sends prompts, documents and tool calls to the models and decides by its own policy.

Embedded IntelligenceThe Patronus models inside your product, one per task: prompt injection, content moderation or risky tool calls, for example. Each returns a signal, such as INJECTION or UNSAFE.

Patronus Runtime EngineRuns the models faster and with less memory than ONNX Runtime, above all on long inputs. Licensed; without it the models run freely on ONNX Runtime.

Your CPUThe CPU your product already has: on the endpoint, in the gateway or in the cloud. No GPU, x86 and ARM.

Wolf Defender Edge
58 MB
INT8 with INT4 embeddings
p50 latency
12 ms
Wolf Defender Small, ONNX FP32, AI-Parrot test
pure CPU inference
0 GPU
laptop, server, node
leave your environment
0 bytes
for the security decision

Wolf Defender Edge model card

03 · Patronus Runtime Engine

Up to 7.1× faster.
Long inputs, short waits.

The Patronus Runtime Engine runs the same models faster than ONNX Runtime: 1.6× to 7.1× at 2,048 tokens, depending on the chip. Long inputs are split into windows and checked one after another.

The Runtime Engine requires a license. With ONNX Runtime all models run freely, just slower.

Request a measurement on your hardware

Tested CPU families

Apple Silicon
M1, M1 Pro, M1 Max, M1 Ultra
Intel Xeon
Sapphire Rapids, Emerald Rapids, Granite Rapids
AMD EPYC
7002, 7003, 9004, 9005
AMD Ryzen
3000, 5000, 7000, 8000, 9000, Ryzen AI 300
AMD Threadripper
7000
Latency

7.1×

faster at 2,048 tokens

ONNX Runtime
7,320 ms
Runtime Engine
1,029 ms
ONNX RuntimeRuntime EngineTime savedInput length in tokens

Wolf Defender small · fp32 ONNX · batch 1 · Apple M1, MacBook in daily use, heavy background loadMedian, fp32, ONNX Runtime at its best settings. One thread: both runtimes with one thread per call.Model card Benchmarks

04 · Patronus Ark

The models as a library.
For Rust and Python.

Patronus Ark puts the models into your application. It splits inputs, combines rules and models, and runs only the checks a case needs; results come back structured, with evidence spans. Source public, community or commercial license.

A text is embedded once. Three levels share the result and decide how much depth a case needs.

Structured signals

Rules and checksums find secrets, identifiers and known injection patterns, with their location and without a model.

Non-Transformer Decision Blocks

Small heads on the embedding computed once make the first decision.

Lion Warden

Only cases where more context helps go to the large model. It screens seven security tasks in one pass.

06 · Working together

Already running our models?
Then we measure on your hardware.

When latency or memory get tight on your devices, the Patronus Runtime Engine runs the same models faster and with less memory. This is how a request works:

  1. Send the key facts

    Which models you run, on how many devices or instances, on which CPUs, and what you need for latency and memory. The form asks exactly that.

  2. Technical call

    We reply in person by email and suggest times. In about 30 minutes you walk through your setup with the people who build the models and the runtime, and agree on what to measure.

  3. Measurement on your hardware

    We measure ONNX Runtime against the Patronus Runtime Engine with your models and typical input lengths on your CPU family. You get latency and memory side by side.

  4. Offer and integration

    The written offer depends on the number of devices or instances and the term. Once it is signed, we help you integrate.