Structured signals
Rules and checksums find secrets, identifiers and known injection patterns, with their location and without a model.
Patronus builds specialized models that detect prompt injection, harmful content, sensitive data and risky tool calls. All open on Hugging Face.
01 · Edge first
The text passes through the model first, then on to the AI. What goes out is up to your application's policy.
Latency and memory in detail02 · Models
Each model takes on one task and returns a signal to your application. Licensed under Apache 2.0 or MIT.
On Hugging Face
03 · Patronus Runtime Engine
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 hardwareWolf Defender small · fp32 ONNX · batch 1
AWS mac2-m2.metal, macOS
64 tokens
1.4× faster
128 tokens
1.8× faster
256 tokens
1.9× faster
512 tokens
2.3× faster
1,024 tokens
2.8× faster
2,048 tokens
3.2× faster
Median, fp32, ONNX Runtime at its best settings. One thread: both runtimes with one thread per call.Model card Benchmarks
04 · Patronus Ark
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.
Rules and checksums find secrets, identifiers and known injection patterns, with their location and without a model.
Small heads on the embedding computed once make the first decision.
Only cases where more context helps go to the large model. It screens seven security tasks in one pass.
Install
pip install patronus-arkcargo add patronus-ark05 · Research
We are building an encoder designed for the CPU from the start. It is meant to become the shared backbone of future security models.
06 · Working together
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:
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.
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.
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.
The written offer depends on the number of devices or instances and the term. Once it is signed, we help you integrate.
A partnership or another question? Go to the contact form