Deployment architecture
FastAPI application
Create your production entrypoint:Docker
Available endpoints
| Endpoint | Method | Description |
|---|---|---|
/a2a/intercept | POST | Primary verification gateway — accepts AgentMessage, returns VerificationVerdict |
/a2a/health | GET | Service health check with version |
/a2a/metrics | GET | Aggregated intercept metrics |
Health check response
Metrics response
Environment variables
| Variable | Description | Default |
|---|---|---|
SENTRY_DSN | Sentry error tracking DSN | (disabled) |
QWED_LOG_LEVEL | Logging level (DEBUG, INFO, WARNING, ERROR) | INFO |
QWED_A2A_BLOCK_ON_ERROR | Block on internal errors (true/false) | true |
Monitoring
Sentry integration
QWED A2A includes built-in Sentry integration for error tracking:Structured logging
All intercepts are logged with structured fields:CI/CD integration
GitHub Actions
Mergify auto-merge
Integration with QWED ecosystem
QWED Core
A2A uses the same verification principles as the core QWED engine — deterministic, symbolic, and provable.
QWED MCP
MCP provides tool-level verification. A2A provides agent-to-agent communication verification. They complement each other.
QWED Finance
The A2A finance guard uses the same Decimal arithmetic patterns as QWED Finance, adapted for inter-agent payloads.
Agent Specification
The QWED-Agent spec defines trust levels and budget enforcement. A2A implements the verification gateway described in the spec.