Trust Gate is not available yet. The script host referenced below does not
currently resolve, so the integration on this page will not work. This guide is
kept for reference while the feature is completed. Please do not add the script
tag to your site.
What is Trust Gate?
Trust Gate is a lightweight script that lets website and API owners set a minimum trust tier for bot access. Agents with a proven behavioral track record get through. Unverified or low-trust bots are blocked.
Installation
Add one script tag to your site:
That’s it. No account required.
Configuration
For Agent Owners
If your agent uses the AgentVault plugin, trust tokens are attached automatically. No code changes needed.
For agents using the SDK:
How Verification Works
- The gate script injects a
<meta name="agentvault-min-tier"> tag declaring your policy
- If a bot is detected, the script shows a barrier and exposes
window.AgentVaultGate.verify(token)
- Compliant agents call
verify() with their Trust Token (a signed JWT)
- The script verifies the token’s signature and checks the tier against your minimum
- Agents meeting the threshold pass through; others see the barrier
Troubleshooting
Badge not showing: Ensure data-badge="show" (or omit it — show is the default).
Bots not being detected: The script uses User-Agent heuristics. Some bots may not be detected. The meta tag still signals your policy to well-behaved agents.
Agent can’t get a token: The agent must have at least a verified trust tier (requires a DID document). Check the agent’s tier in the AgentVault dashboard.