Python

One command generates a ready-made safety wrapper for any Python agent.

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: Generate wrapper and integrate

# Generate the safety wrapper:
npx a2a-trustgate generate python

# Creates a2a_safety.py — use it in your agent:
from a2a_safety import safe_eval

result = safe_eval("pip install pandas")
# {"decision": "allow", ...}
Help

Help

Need help? Here are some quick links: