Comparisons · Red teaming

VAIL vs Promptfoo: security red teaming vs rule-keeping

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

Verdict

Promptfoo is an open-source tool for evaluating and red teaming LLM applications, with a security focus. VAIL tests whether an agent keeps the rules it was given, most of which involve no attacker; security teams use Promptfoo while the team building and operating the agent uses VAIL, so the two tools complement each other.

At a glance

VAIL Promptfoo
Where tests come from Derived from the agent’s definition (system prompt, instruction and skill files, tool schemas, subagents), citing each rule’s file and lines Selected red-team plugins and strategies generated from a written purpose description and optional policy rules, plus user-authored eval configs
How results are scored Mechanical, deterministic checks across 17 metric types (tool calls, arguments, routing, text checks, repeat consistency); no judge model Plugin-generated red-team graders (optionally fed OpenTelemetry trace summaries) plus deterministic and trajectory assertions (trajectory:tool-used, trajectory:tool-args-match, and others)
When it runs Before deployment (scan and local probing over MCP) and continuously on a schedule (hourly, daily, or weekly) against a sandboxed live agent On demand from the CLI or in CI pipelines for security red teaming and regression evals
What it needs from you The agent’s source definition (GitHub App or upload), a reachable staging/sandboxed endpoint or outbound connector for live probing, and human approval of probes A promptfooconfig.yaml with targets, a purpose description, chosen plugins and policies, and optional OpenTelemetry tracing for trajectory evidence
What it is best at Surfacing ordinary rule-keeping risks from written instructions early and tracking compliance consistency against a baseline over time Broad adversarial security red teaming (jailbreaks, access control, injection, exfiltration, multi-turn attack strategies) and open-source CLI evaluation
Tracks behavior over time Yes: fixed probes run on a schedule against the agent’s baseline, reporting per-rule failure rates, trends, and regressions Runs on demand or in CI when triggered; does not run scheduled baseline monitoring against a live agent out of the box

What Promptfoo does

Promptfoo is an open-source CLI and library for evaluating and red teaming LLM applications, with agent red-teaming plugins covering access control (rbac, bola, bfla), data leakage (pii, cross-session-leak, rag-document-exfiltration), memory poisoning (agentic:memory-poisoning), tool misuse (excessive-agency, tool-discovery, mcp), and goal hijacking (hijacking) (Promptfoo agent red-teaming docs). Attacks are generated from a purpose description of the agent, while a policy plugin accepts custom rules that the team specifies (Promptfoo agent red-teaming docs). When OpenTelemetry tracing is enabled, Promptfoo summarizes execution spans into a trajectory for red-team grading and supports trace-based assertions such as trajectory:tool-used, trajectory:tool-args-match, and trajectory:tool-sequence to check specific tool calls (Promptfoo agent red-teaming docs). OpenAI announced on March 9, 2026 that it will acquire Promptfoo and integrate its technology into OpenAI Frontier, and said the open-source project will continue (OpenAI announcement).

What VAIL does differently

VAIL Agent Assurance Engine treats two sources of behavior risk with equal weight: risk from the agent’s definition (before deployment) and risk from state and environment (when the model, memory, or reachable tools and data shift while the definition stays unchanged).

Derived vs configured

With Promptfoo, the team selects plugins, writes the agent’s purpose description, and authors custom policy rules or regression assertions in YAML. VAIL reads the agent’s source definition directly—system prompts, SKILL.md files, tool schemas, and subagents—proposes the behavior risks implied by those instructions, and cites the exact file and lines for every finding. In VAIL’s pre-ship hardening case study, scanning and probing from inside a coding agent over MCP confirmed 4 of 10 scanned risks across three models and caught a regression introduced by one of the fixes.

Rule-keeping as well as attacks

Promptfoo’s strength is adversarial security testing: finding whether a hostile input can bypass access controls, poison context, or hijack a goal. Most agent failures in day-to-day operation involve no attacker at all—an agent skips a required lookup, calls the wrong tool, drops a routing rule, or stops updating shared notes on ordinary requests. In VAIL’s 15-agent study, 144 of 153 discovered behavior risks (94%) were ordinary rule-keeping risks governed by model discretion rather than code defects.

Tracked over time

Promptfoo runs when an engineer or CI pipeline invokes it. VAIL runs approved, mechanically scored probes across 17 deterministic metric types (no judge model) on a recurring schedule against a sandboxed live copy and compares results against the agent’s baseline (operating manual). In VAIL’s model-swap case study across 913 scheduled runs (2,699 attempts), switching models with no definition change dropped compliance on a sensitive-lookup restriction from 94% to 50% while text-only checks stayed at 99% to 100%. On VAIL’s research agent Atlas, scheduled probes caught behavior changing around run 23 after the agent wrote a memory note to itself with no deploy (Agent Assurance briefing). Because agents with memory are meant to adapt, VAIL defines control probes—behaviors that must keep working while the rest adapts. Note VAIL’s limits 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). For plan details, see VAIL pricing.

Where Promptfoo is the better choice

  • Free and open source: Promptfoo’s CLI and library are open source and free to run locally or in CI.
  • Deeper adversarial attack coverage: Promptfoo provides extensive security plugins and iterative multi-turn attack strategies (crescendo, jailbreak:tree, jailbreak:meta, jailbreak:hydra) built specifically for adversarial testing (Promptfoo agent red-teaming docs).
  • Trace-based trajectory assertions: When OpenTelemetry tracing is instrumented, Promptfoo’s trajectory assertions can verify specific tool names, arguments, and sequences during security and regression runs (Promptfoo agent red-teaming docs).

Using them together

VAIL complements Promptfoo because security red teaming and ongoing rule-keeping test different failure modes. Security teams run Promptfoo to probe for jailbreaks, injection chains, privilege escalation, and data exfiltration before sign-off, while the team building and operating the agent runs VAIL to scan written instructions pre-ship and track rule-keeping consistency on a schedule across model updates and memory changes.

Where this is going

Roadmap (Enterprise, in progress): VAIL is building per-agent dynamic policy—integrating with Cisco Quarry—so live behavioral probe results can inform which runtime controls should apply to an agent as its state and environment change.

Related

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