Vigil · QE for AI features
Vigil is the part of Sahasa.AI built for the summarisers, copilots and agents inside your product. Evaluations, red teaming, A/B tests, drift and safety checks, run as a suite and reported with the same evidence states as everything else.
01 / Evaluations
Build a dataset from real traffic or write one. Score every response with an LLM-as-judge you can inspect and override. For agents, we follow the whole run: did it call the right tools, in the right order, and finish the task?
# 240 cases · judge: claude · seed 7 task_success v14 0.81 v15 0.88 Δ +0.07 p<0.01 tool_order_ok v14 0.93 v15 0.96 Δ +0.03 hallucinated_ref v14 0.04 v15 0.05 Δ +0.01 not significant pii_leak v14 0 v15 0 cost_per_case v14 $0.021 v15 $0.034 Δ +62% # verdict: ship v15 behind a 20% flag; watch cost
02 / Red teaming
Three phases: probe, escalate, confirm. Attacks are generated against your actual system prompt and tools, so the results are about your feature, not a generic model.
A crafted line in the "notes" field of an uploaded invoice caused the refund agent to call issue_refund with an attacker-supplied account. Confirmed in 6 of 10 attempts.
feature: invoice-assistant · phase 3 confirm · OWASP LLM01
Week-over-week refusal rate moved from 2.1% to 4.6% with no prompt change. Provider changelog shows a model revision on the same day.
03 / In production
Instrument with our SDK, OpenTelemetry, or the adapters for LangChain, LangGraph, CrewAI, Bedrock and OpenAI. Vigil watches quality move over time, checks every response for PII and toxicity, and shows what each feature costs.
| Feature | Quality (7d) | Safety | Cost / 1k | Status |
|---|---|---|---|---|
| support-agent | 0.88 ▲ | 0 PII · 0 tox | $34 | healthy |
| invoice-assistant | 0.79 ▼ | 1 injection | $19 | watch |
| search-summary | 0.91 ─ | 0 PII · 0 tox | $6 | healthy |
| onboarding-copilot | — | — | — | not instrumented |
Next step
A demo runs on your code, not ours. Forty-five minutes, one service, real findings. If it's useful, we go into a four-week pilot inside your CI.