Comparisons · Category guide

Evals vs tracing vs red teaming vs guardrails vs probing: what each catches

Last checked: 2026-12-01 · Read in Markdown

Quick answer

Evals check whether an agent is capable on curated test cases, tracing records what happened in real user conversations, red teaming probes for adversarial exploits, guardrails filter or block individual requests inline, and behavioral probing derives deterministic tests from the agent’s own written rules and runs them on a schedule against a live baseline.

Each layer catches failures the others miss: a model swap can leave text-only evals green while breaking tool rules, and tracing only reports a failure after a user hits it. Production agent teams combine layers—using probing for rule-keeping risks predictable from the agent’s definition and observability for what could not be anticipated.

The five approaches

Approach What it is When it runs What it catches What it misses Example tools
Evals Curated datasets scored with code checks, LLM-as-a-judge, or human review Before release, in CI, or during model selection Capability regressions, answer quality drops, accuracy changes on known cases Unwritten edge cases, silent drift between releases, and tool- or memory-layer rule breaks if grading only final text Braintrust, DeepEval
Tracing and observability Recording every span, prompt, tool call, latency, and error from live traffic Continuously on production traffic, inspected after the fact What actually happened in real conversations, latency spikes, errors, unexpected user inputs Failures before traffic arrives; rule breaks no user has triggered yet; consistent pass rates on fixed inputs LangSmith, Arize, Langfuse
Red teaming Adversarial attacks targeting security, access control, data leaks, and hijacking On demand, before security sign-off, or in periodic audits Prompt injection, jailbreaks, privilege escalation, unauthorized tool access, data exfiltration Ordinary non-adversarial rule-keeping slips and gradual behavioral drift on routine prompts over time Promptfoo, LangSmith Red Teaming
Guardrails Inline input/output filters and policy checks sitting in the request path At request time, on every live turn Disallowed content, PII exposure, blocked patterns, or policy triggers on a single turn Multi-step workflow omissions, subtle tool-argument drift, and whether the underlying agent is becoming less compliant over time Guardrails AI, NVIDIA NeMo Guardrails
Behavioral probing Fixed probes derived from the agent’s own rules, executed against a live agent and scored mechanically Before deployment and on a recurring schedule against a sandboxed live copy Broken written rules, wrong or missing tool calls, routing slips, memory-driven shifts, and compliance drops after model updates Answer substance and prose quality (mechanical checks cannot judge whether an explanation is accurate), plus novel user inputs never covered by a probe VAIL Agent Assurance Engine, TestMu AI Agent Assurance

After the fact vs early

Tracing-based tools and behavioral probing look at the problem from opposite ends of the timeline. Tracing and observability watch live production traffic, surface failures after they happen, and feed real failing conversations back into offline eval datasets. That loop is essential because real users always find inputs no one wrote down ahead of time.

Behavioral probing works early: it reads the agent’s own definition—system prompts, instruction and skill files, tool schemas, and subagents—to surface the ways the agent could break the rules it was given before a user hits them, and then runs the same deterministic checks on a schedule so a drop in compliance shows up when the model, memory, or environment shifts.

Both are needed. Probe for what can be predicted from the agent’s instructions and must stay consistent over time; observe production traffic for everything that could not be predicted from the definition alone.

Two kinds of risk

VAIL Agent Assurance Engine addresses two distinct sources of behavior risk and treats them with equal weight:

Risk from the agent’s definition Risk from state and environment
What changes Nothing. The risk is latent in what was written. The model behind the endpoint, the memory the agent has written, or the tools and data it reaches. The definition stays the same.
How VAIL finds it Scans the definition (system prompt, instruction and skill files, tool schemas, subagents) and derives the ways the agent could break its own rules. Runs the same probes against the live agent on a schedule and compares results with the agent’s baseline.
When Before deployment Continuously
What it feeds Fixes to instructions and harness Which controls should apply to this agent now (roadmap)

Empirical evidence illustrates why both columns matter:

  • Definition risk: Across 153 behavior risks discovered in 15 agents across 5 harnesses, 144 of 153 (94%) depended on the model choosing to follow written instructions rather than on a code or configuration defect (model-discretion case study).
  • State-and-environment risk: Across 913 scheduled runs (2,699 attempts) before and after swapping an internal agent’s model with no instruction change, compliance with a sensitive-lookup restriction fell from 94% to 50% and shared-memory writes fell 93% while text-only output checks stayed at 99% to 100% (model-swap case study).
  • Drift with no deploy: On VAIL’s own research agent Atlas, scheduled probes caught the agent changing behavior around run 23 after writing a memory note to itself, with no code deploy or prompt edit (Agent Assurance briefing).

Consistency is also not the same as correctness. Agents with memory are meant to adapt over time. In VAIL, control probes—behaviors that must keep working while the rest of the agent adapts—anchor the rules that should never slip. Keep VAIL’s boundaries in mind as well: mechanical checks cannot judge whether an answer is right in substance, a person approves probes before they run, and while scanning works on all public platforms, live probing currently supports LangGraph, Hermes, OpenClaw, and HTTP endpoints (operating manual).

Which do you need?

  • You are about to ship a new agent (no production traces yet): Start with evals on representative tasks for answer quality, plus a definition scan and local behavioral probing before deployment. In VAIL’s pre-ship hardening case study, scanning and probing confirmed 4 of 10 scanned risks across three models and caught a regression introduced by a fix in one session. Add red teaming if the agent faces untrusted external inputs.
  • You are changing the backing model or inference provider: Run your offline eval suite for capability, and run identical deterministic behavioral probes across multiple attempts before and after the switch to catch tool, routing, and memory regressions that text checks hide. Pair with Model Assurance if you need to verify which model is serving the endpoint.
  • Your agent writes to memory or updates its own context: Release-gated CI evals will not run when memory shifts behavior between deploys. Keep scheduled behavioral probes running against a sandboxed copy alongside production tracing so silent behavioral drift surfaces early.
  • You operate a regulated or high-consequence workflow: Combine inline guardrails for hard request-time blocks, production tracing for audit trails of what users experienced, security red teaming for adversarial threats, and scheduled behavioral probing for repeatable, rule-citing evidence that the agent stays within its written instructions over time.

Related

← All comparisons · Markdown version · About Agent Assurance · Pricing