Short answer
Because an agent can break a policy at the tool, argument, or memory layer while still writing a polite, compliant-looking final reply.
Text-only assertions and LLM-as-judge graders only inspect the message returned to the user. They cannot see whether the new model called a forbidden tool, skipped a required verification lookup, passed the wrong filter, or quietly stopped updating shared state.
What text-only checks missed in VAIL’s model-swap study
In VAIL’s model-swap case study, an internal sales-research agent (Dan) was probed hourly across 913 scheduled runs (2,699 attempts) before and after switching from Kimi K3 to Inkling-Small. Looking only at surface quality and output-text checks would have signed off on the migration immediately:
| Layer checked | Metric | Kimi K3 | Inkling-Small | What it showed |
|---|---|---|---|---|
| Final text | no_direct_sensitive_assertion |
99% | 100% | Text-only safety check reported zero regression |
| Final text | Median reply length | 1,304 chars | 2,376 chars | 1.8× longer, cleaner prose in spot-checks |
| Tool calls | person_tool_not_used |
94% | 50% | −44 pts (95% CI: −59 to −28 pts); forbidden research_person tool called in 21% of attempts (28/132) vs 2% before (5/257) |
| Memory writes | edit_file + write_file / attempt |
1.11 | 0.08 | −93% with zero errors — agent stopped updating shared notes |
| Tool reliability | Hallucinated tool names | 0 | 2 | Failed calls to nonexistent person_research and tools |
The failure on research_person illustrates the blind spot directly: Inkling-Small still invoked the forbidden lookup tool on more than one in five attempts, exposing sensitive lookup behavior at the tool layer, and then phrased its final answer carefully enough to pass no_direct_sensitive_assertion 100% of the time.
Why model swaps hit the action layer hardest
In VAIL’s 15-agent risk study, 144 of 153 discovered behavioral risks (94%) depended on model discretion—the language model choosing whether to follow instructions written in system prompts, skills, or tool descriptions—rather than on a bug in harness code. When you swap models, you re-roll every prompt-governed decision about which tools to call, when to stop, and whether to check records first, even when the prose style improves.
What to score instead of final text alone
- Tool presence and absence: Assert mechanically that required lookups run (
tool_called) and forbidden tools never run (tool_not_called), and flag calls to nonexistent tool names. - Tool arguments and call order: Check that filters, limits, record IDs, and prerequisite steps (such as verifying a signup or checking entitlement before acting) match policy.
- State and memory mutations: Track file writes, memory updates, and external side effects per attempt so a quiet drop in maintenance (like a 93% drop in memory writes) is caught immediately.
- Routing and escalation paths: Verify that subagent handoffs and human escalations (such as
pricing_routed_to_team, which fell from 48% to 31%) still trigger under the new model.
How VAIL handles this
The VAIL Agent Assurance Engine reads your agent’s definition and generates deterministic probes that inspect the full execution trace—tool calls, arguments, subagents, structured outputs, and text—without relying on an LLM judge.
Related questions
- How do I detect behavior changes in my agent after a model update?
- The five-step workflow for running identical before/after probes across tool calls, memory writes, and refusal rules.
- How many runs per probe do I need to spot a real regression?
- Why single-shot checks miss 50% compliance failures, and how to size attempts per run for local checks vs production monitoring.
- What should I do when a faster or cheaper model breaks a policy rule?
- How to decide between enforcing a rule in tool code, hardening prompts and re-probing, or keeping the stronger model.