Lean, production-grade Rust A2A (Agent2Agent v1.0) Edge Gateway engineered for low-memory VMs (such as GCP Always Free e2-micro ), featuring:
Strict Edge Media-Type / CSRF Defense: Enforces application/json or application/*+json (including application/a2a+json ) before body parsing, blocking cross-origin text/plain and form-encoded CORS simple requests with JSON-RPC -32005 ( CONTENT_TYPE_NOT_SUPPORTED ).
Constant-Time Auth & Per-Tenant Rate Limiting: Optional Bearer token verification + lightweight token-bucket rate limiter per tenant ( /{tenant}/agents/{agent_id} ).
Dynamic Agent Discovery & Aggregated Card: Discovers upstream /.well-known/agent-card.json endpoints and serves a deterministic aggregated A2A v1.0 Agent Card.
Zero-Copy SSE Streaming Passthrough: Proxies SendStreamingMessage / text/event-stream responses chunk-by-chunk with no buffering.
Zero-PII Mizan Telemetry: Emits structured JSONL metrics ( ts_ms , tenant , agent_id , rpc_method , status , streaming , latency_ms , bytes_in , bytes_out…