Menu

1 / 5

GitHub - csa7mdm/a2a-gateway: Lean, production-grade Rust A2A Edge Gateway with strict JSON/CSRF defense, SSE streaming proxy, Mizan zero-PII telemetry, and MCP 2.0 discovery.

Hacker News·about 6 hours ago
#BcA5tukl
#hackernews#technology#github#agent#json
Long article (486 words) — no AI summary yet.
Reading 0:00
15s threshold

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…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.