REST API
Evaluate any command with a single CLI call or HTTP request.
Step 1: Set up A2A TrustGate
Run the quickstart wizard — prints API key setup, MCP config, CLAUDE.md snippet, and wrapper generators:
npx a2a-trustgate quickstart # Then run the interactive setup: npx a2a-trustgate setup
Step 2: Evaluate commands
# Allowed — exit 0 npx a2a-trustgate eval "echo hello" # Blocked — exit 1 npx a2a-trustgate eval "rm -rf /" # Verify your connection a2a verify