Installation
QWED A2A requires Python 3.10+. The
cryptography and PyJWT packages are installed automatically for JWT attestation support.Configure a signing key
QWED A2A signs every verdict with a persistent ECDSA P-256 key so attestations remain verifiable across restarts. SetQWED_A2A_SIGNING_KEY_PEM before importing qwed_a2a — without it the interceptor fails closed on the first call.
Your first verification
1
Import the interceptor
2
Create an interceptor
- All verification engines enabled
- Crypto attestation enabled (if packages available)
default_allow=Truetrust boundary
3
Build a test message
4
Run verification
5
Check the output
Try different scenarios
Block a hallucinated total
Block a hallucinated total
Block dangerous code
Block dangerous code
Catch logical contradictions
Catch logical contradictions
Run the FastAPI gateway
QWED A2A includes a ready-to-use HTTP gateway:Next steps
- Architecture deep-dive — understand the full pipeline
- Trust boundary — configure zero-trust policies
- Crypto attestations — understand JWT signing
- Production deployment — Docker, monitoring, CI/CD