VAIL Agent Assurance
v0.1.0Scan an AI agent's instructions and tools for behavior risks and generate probes that test them.
Use the VAIL Agent Assurance Engine from your coding agent to check and harden the AI agents you build. Upload or collect an agent's source, scan it for vulnerability and control behaviors, classify risks against security taxonomies, generate probes that test those behaviors, and retrieve the results—without leaving your editor. From there, you can either run server-side steering experiments and promote a winning configuration as a draft GitHub PR, or test and fix the agent's source locally with VAIL's deterministic grading package. Sign up for a VAIL organization at .
Summary extracted from the README.
VAIL Agent Assurance
Use the VAIL Agent Assurance Engine from your coding agent to check and harden the AI agents you build. Upload or collect an agent's source, scan it for vulnerability and control behaviors, classify risks against security taxonomies, generate probes that test those behaviors, and retrieve the results—without leaving your editor. From there, you can either run server-side steering experiments and promote a winning configuration as a draft GitHub PR, or test and fix the agent's source locally with VAIL's deterministic grading package.
The plugin bundles:
- a connection to VAIL's hosted MCP server at
https://agents.projectvail.com/mcpauthenticated via OAuth 2.1, - the
agent-assuranceskill, which walks your coding agent through source collection, scanning, behavior classification, probe generation, steering experiments, and draft PR promotion, and - the
agent-improvementskill, which tests behavior risks against a local copy of the agent and proposes source fixes, each of which you approve.
Supported platforms
Coding platforms
- Claude Code (CLI, VS Code, Desktop) and Claude on the web / Cowork (
claude.ai) - OpenAI Codex (CLI, IDE extension, ChatGPT desktop app) and ChatGPT (Web & Work)
- Hermes Agent and Hermes Desktop (portable Agent Plugins v1)
- OpenCode and Cursor (connect
https://agents.projectvail.com/mcpvia OAuth 2.1 and optionally copyskills/)
(Note: uploading local source files and running the agent-improvement local grading loop require a coding agent with local shell access, such as Claude Code, Codex CLI/Desktop/IDE, OpenCode, Cursor, or Hermes. In cloud-only chat surfaces such as claude.ai or ChatGPT web, you can inspect organizations and agents, start scans or probe generation on already-connected source, and review behaviors and probes.)
Target AI agent frameworks
- Source scanning & probe generation:
langgraph(LangGraph),hermes(Hermes Agent),openclaw(OpenClaw),pi(Pi),agentforce(Salesforce Agentforce),servicenow(ServiceNow), andhttp(custom HTTP agents). - Local probe execution & grading (
vail-grading): LangGraph, Hermes, and OpenClaw.
Before you start
Sign up for a VAIL organization at https://agents.projectvail.com. No API keys or environment variables are needed: when you connect the plugin, your browser opens VAIL so you can approve access for your account. You can view and revoke connected apps any time under Access tokens at https://agents.projectvail.com/settings/tokens.
Install
Claude Code
/plugin marketplace add projectvail/vail-agent-assurance
/plugin install vail-agent-assurance@vail-agent-assurance
Run /mcp, select vail, and finish signing in through your browser.
Codex
codex plugin marketplace add projectvail/vail-agent-assurance
Restart Codex, run /plugins to install vail-agent-assurance, and sign in to vail from /mcp (or Settings → MCP servers).
Hermes Agent
hermes plugins install projectvail/vail-agent-assurance/plugins/vail-agent-assurance --enable
hermes mcp login vail
OpenCode & Cursor
- OpenCode: run
opencode mcp add vail --url https://agents.projectvail.com/mcpandopencode mcp auth vail. - Cursor: add
"vail": { "url": "https://agents.projectvail.com/mcp" }to~/.cursor/mcp.jsonand click Connect in Cursor's MCP settings.
Then ask your coding agent, for example: "Scan the agent in ./support-bot with VAIL and show me the behaviors it finds." Or, after a scan: "Fix the behavior risks VAIL found in ./support-bot."
What the plugin sends and downloads
The plugin runs no background process and installs nothing when it is enabled. Everything below happens only when you ask your coding agent to do it.
Sent to VAIL
- Every MCP call goes to
https://agents.projectvail.com/mcpauthenticated with your OAuth 2.1 token (acting as your VAIL user in your organization). - Your agent's source code. When you ask to scan or upload an agent, your coding agent uploads that agent's source files (or one
.tar.gz/.tgz/.tararchive of them) to VAIL via the temporary staging URLs returned byprepare_source_upload, or instructs VAIL to collect a committed revision from an already-authorized GitHub repository viacollect_github_source. The skill instructs the coding agent to send prompts, tool definitions, code, and relevant docs, and to leave out secrets (.envfiles, keys), lockfiles, build output, and data dumps. VAIL still receives whatever is uploaded, so ask to see the file list before anything is sent if you want to check it. - Direct endpoint connections and steering experiments (when requested). If you ask to connect a direct test endpoint via
prepare_agent_connection, your coding agent posts the returned ticket and optional endpoint credential directly from a local environment variable or key file (never through MCP tool arguments or chat text), and VAIL sends one verification message before saving. Runningrun_experimentsends reviewed experiment probes to your connected test agent and (for automatic steering) calls VAIL's proposal model within your configuredlimit_usdbudget. Callingpublish_promotionafter reviewingpreview_promotionopens a draft PR on your connected GitHub repository; VAIL never merges a PR or deploys code.
Downloaded to your machine
- Results and steering setup files. Behaviors, classifications, probes, experiment drafts, reports, and execution traces come back as JSON (or as a short-lived download URL verified by SHA-256 when large).
get_steering_setupreturns portable text templates and reference docs for declaringvail-steering.jsoncontrols. - The grading package (
agent-improvementskill only). To grade local test runs the way VAIL does, the skill callsget_grading_package, downloads VAIL's Python wheelvail-gradingfrom the URL it returns, checks its SHA-256, and installs it withpipinto a dedicated virtual environment (for example.vail/grading/in your agent's repository), separate from your agent's environment.pipalso installs the package's dependencies (pydanticandjsonpath-ng) from PyPI. The coding agent then runspython -m vail_gradingfrom that environment.
Run and written locally (agent-improvement skill only)
- To test a behavior risk, your coding agent runs your agent locally and sends it the test messages after you approve the number of runs. Your agent then does whatever it normally does, including calling its model provider with your own credentials. The skill asks before any test that would use a tool with real side effects, and never points a test at production systems.
- Test results, which can include your agent's replies, are written to
.vail/improvement/in your agent's repository. Before the first write, the skill checks whether git ignores.vail/and recommends adding it to.gitignoreif not. The results stay on your machine: the skill does not upload them to VAIL. - Every code change proposed waits for your approval.
Tools (all 33 MCP tools)
Identity, agents, source, scanning, and probes (14 tools)
| Tool | What it does |
|---|---|
get_identity |
Who the connection acts as, and what your organization may do. |
list_agents |
List your organization's agents with their stable IDs, platforms, and stages. |
create_agent |
Create a new agent in your organization and return its agent_id. |
get_agent_status |
Report one agent's stage, collected source, result freshness, steering links, and allowed next_actions. |
prepare_source_upload |
Start a staged source upload session and return temporary upload URLs per file. |
complete_source_upload |
Validate staged files and publish them as the agent's complete new source. |
scan_agent |
Asynchronously generate context and discover vulnerability and control behaviors. |
classify_behaviors |
Classify or re-classify discovered vulnerability behaviors against Cisco, OWASP Agentic, OWASP LLM, MITRE ATLAS, and NIST AI 100-2 taxonomies. |
generate_probes |
Asynchronously write vulnerability and control probes plus shared option pools. |
get_operation_status |
Poll queued, running, succeeded, or failed state for scan_agent, classify_behaviors, or generate_probes. |
set_generation_limits |
Update how many vulnerability and control probes subsequent generations write. |
get_behaviors |
Retrieve the complete current vulnerability and control behavior artifacts (plus classifications) as JSON or a verified download. |
get_probes |
Retrieve the complete current probe catalogs and referenced option pools as JSON or a verified download. |
get_grading_package |
Get the temporary download descriptor for vail-grading, to grade local test runs (LangGraph, Hermes, or OpenClaw). |
Steering setup, endpoint connection, experiments, and Promote (19 tools)
| Tool | What it does |
|---|---|
get_steering_setup |
Return the steering setup skill, schema, runtime helpers, and starter contracts for an agent's platform. |
validate_steering_contract |
Statically validate a proposed vail-steering.json contract against the agent's platform without saving it. |
collect_github_source |
Collect a committed GitHub repository revision through your organization's VAIL GitHub App authorization for Promote provenance. |
get_agent_connection |
Read an agent's connection state, supported platform_config fields, and auth schemes without returning stored secrets. |
prepare_agent_connection |
Issue a short-lived ticket URL to test and save a direct agent endpoint connection without putting credentials in MCP arguments. |
list_experiments |
List an agent's steering experiments, revisions, and frozen runs. |
create_experiment |
Create a new experiment draft from the agent's generated probes (or copy a prior frozen experiment) with a proposal budget. |
get_experiment |
Retrieve an experiment's draft cases, review status, revision, controls, profiles, progress, and budget. |
save_experiment_case |
Review, edit, or add one draft experiment case with completion checks and action authorization. |
remove_experiment_case |
Remove an unwanted case from an unfrozen experiment draft. |
set_experiment_profiles |
Configure manual candidate profiles and comparison repetition counts on an experiment. |
run_experiment |
Launch an experiment job (baseline, full steering baseline + optimization, or manual comparison). |
get_experiment_job |
Poll progress and status for a running or completed experiment job. |
pause_experiment |
Pause a running experiment job at the next safe boundary while retaining completed evidence. |
get_experiment_report |
Retrieve experiment scores, fresh-baseline comparisons, winning profile, and measurement limits. |
get_experiment_execution |
Retrieve one recorded probe execution's full response, tool trace, scoring, and applied-profile receipt. |
get_promotion |
Check whether a winning profile qualifies for GitHub PR promotion or read its existing PR receipt. |
preview_promotion |
Prepare an immutable GitHub diff, score evidence, and plan_id for a qualifying winner without publishing. |
publish_promotion |
Publish a reviewed plan_id from preview_promotion as a draft GitHub pull request (never merges or deploys). |
Approving catalog probes for recurring scheduled monitoring and managing schedules happen in the VAIL web app, as do initial organization signup and GitHub App installation.
Support and license
Homepage: https://agents.projectvail.com. Documentation and other harnesses: https://github.com/projectvail/vail-agent-assurance. Privacy Policy: https://agents.projectvail.com/privacy. Terms of Service: https://agents.projectvail.com/terms. Questions: contact@projectvail.com.
Copyright © 2026 Project VAIL. All rights reserved. See LICENSE.