Use VAIL from Hermes Agent
Connect Hermes Agent to VAIL, then scan, probe, and harden an agent from the repository you have open. This also covers the Hermes Desktop assurance panel.
Before you start
- A VAIL account. Sign up at agents.projectvail.com; VAIL approves each new organization before its scans run. Accounts, approval, and tokens are explained in auth.md.
- The repository of the agent you want to test, open in Hermes Agent.
- A sandboxed copy of that agent, if you will probe it. Probes try to make it break its rules, and its tool calls are real.
Install the plugin
Install the portable VAIL plugin, and sign in:
hermes plugins install projectvail/vail-agent-assurance/plugins/vail-agent-assurance --enable hermes mcp login vail
In Hermes Desktop, you can instead click Authenticate on the
vailcard under Capabilities → Connectors.The tools appear as
mcp__vail__<tool>, and the skills asvail-agent-assurance:agent-assuranceandvail-agent-assurance:agent-improvement.
Older Hermes releases
Releases without portable-plugin OAuth support connect the server directly:
hermes mcp add vail --url https://agents.projectvail.com/mcp --auth oauth hermes mcp login vail
Optional: add the VAIL skills, which explain the workflow in more detail. VAIL's MCP server describes its own tools, so they are not required.
mkdir -p ~/.hermes/skills/agent-assurance ~/.hermes/skills/agent-improvement curl -fsSL https://raw.githubusercontent.com/projectvail/vail-agent-assurance/main/plugins/vail-agent-assurance/skills/agent-assurance/SKILL.md -o ~/.hermes/skills/agent-assurance/SKILL.md curl -fsSL https://raw.githubusercontent.com/projectvail/vail-agent-assurance/main/plugins/vail-agent-assurance/skills/agent-improvement/SKILL.md -o ~/.hermes/skills/agent-improvement/SKILL.md
The assurance panel for Hermes Desktop
vail-assurance-panel adds an Assurance page to Hermes Desktop: each Hermes profile with its VAIL results, a Scan with VAIL button that shows which files would be uploaded before sending them, and whether a profile changed since its last scan.
hermes plugins install projectvail/vail-agent-assurance/plugins/vail-assurance-panel --enable
Its backend runs outside an MCP session, so it uses a personal access token. Create a token under Access tokens. It acts as you, so keep it in your shell profile as VAIL_TOKEN, never in chat or a committed file. Enter it in the plugin's settings form, and switch on VAIL Assurance Panel under Capabilities → Plugins.
Check the connection
Ask Hermes Agent:
Which VAIL organization am I connected to?
It calls get_identity, which names your organization and whether it may scan yet. Until VAIL approves a new organization, it can create agents and upload source, but scans and probe generation wait.
Onboard your agent
Open the agent's repository in Hermes Agent, and ask:
Use VAIL to onboard the AI agent in this repository: create it in VAIL, upload its source, scan it for behaviors, and generate probes. Then summarize the vulnerability and control behaviors it found.
It creates the agent in VAIL, shows you the files it will upload, uploads them with its own shell tools, scans the agent, and generates probes. Scans take several minutes. You approve probes and schedule them against the running agent in the web app.
Test and fix the agent locally
The agent-improvement skill tests the agent's risks against a copy running on your machine, graded the way VAIL grades them, then fixes what the tests show and runs them again. It works for LangGraph, Hermes, and OpenClaw agents. Ask:
Use the agent-improvement skill to test this agent's VAIL behaviors against a local copy, and fix what fails.
You choose which risks to address and approve every change. The skill installs VAIL's grading package in a virtual environment of its own, and keeps results in .vail/ in the agent's repository. Keep that directory out of version control, since it holds the agent's replies.
Troubleshooting
vailis not authenticated: runhermes mcp login vailagain.- A tool returns
organization_not_approved: your organization is still pending. Uploads work; scans and probe generation start once VAIL approves it. Questions: contact@projectvail.com.
This guide is also available as Markdown, for coding agents.