Get the plugin
The plugins come with a widar workspace: widar’s sales team provides them, with a guide for your engine. One plugin per engine, on Python 3.9 or later: vLLM 0.10.2 or later, SGLang 0.4.8 or later, Hugging Face Transformers 4.50 or later.
Start your server with the key
Set
WIDAR_PLUGIN_KEYon the server and add the plugin where your model generates, as its guide shows: one flag onvllm serve; for SGLang, custom logit processors switched on and the plugin’s processor named in each request; for Transformers, the plugin’sgeneratein place ofgenerate(). The plugin registers the install and starts marking. The policy and the classifier rules come from widar.Environment export WIDAR_PLUGIN_KEY=wd_plg_ptQE28XYkSjJEh2XRndeENGSTzrwJkOmfVjWC33fCheck one response
Send a response your server generated to a check. The finding names your system and company.
CLI curl -s localhost:8000/v1/completions \ -H "Content-Type: application/json" \ -d '{"prompt": "Write a short welcome note.", "max_tokens": 200}' \ | jq -r ".choices[0].text" > reply.txt widar verifications create --text "$(cat reply.txt)"
What the plugin does
- Marks every response as your server generates it, streamed or not, with the same result either way: retries, several completions per request and regenerations are all marked.
- Applies the system’s classifier rules: in a prose answer, fenced code blocks are left unmarked and the prose around them is marked. An enforced JSON schema or grammar is never broken.
- Pins the key and the policy version at the start of each request, so a request is never marked half one way and half another.
- Reports usage every minute: outputs and tokens marked, outputs skipped by reason, its version and its health. Never a prompt or an output.
- Picks up a rotated key or a new policy within 15 minutes, without a restart.
When it cannot mark
If the plugin cannot fetch its keys (the plugin key was revoked, or the plan ended) or meets a request it cannot mark, the policy decides: fail closed (the default) refuses the request with an error your server returns; fail open serves it unmarked and counts it. Either way widar sends marking.failed.
Watch your installs
Each running plugin is an install, with its host label, engine and version, when it last reported and its usage in the last 24 hours. An install silent for 24 hours is marked not reporting and sends install.not_reporting. See Installs.
{
"id": "ins_6Tm3pVz8KwQd",
"object": "install",
"system_id": "sys_8Hn3vLp6YdQa",
"kind": "vllm",
"host_label": "lumen-chat-pod-1.ams1",
"runtime": "vLLM 0.10.2",
"version": "0.1.0",
"latest_version": "0.1.0",
"state": "reporting",
"first_seen_at": "2026-11-19T10:31:00Z",
"last_seen_at": "2026-12-03T09:41:00Z",
"usage_24h": {
"outputs_marked": 48213,
"tokens_marked": 13547853,
"skipped": 2216
},
"plugin_key_id": "key_5Lr8wNc2QxTj"
}