Rendered at 17:57:54 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
sablehouseltd 3 hours ago [-]
[dead]
csa7mdm 13 hours ago [-]
Hi HN,
I built a2a-gateway, a small Rust edge gateway for the Linux Foundation's Agent2Agent (A2A v1.0) protocol with a stateless MCP 2.0 (2026-07-28) discovery facade.
While testing a2aproject/a2a-rs (where I also opened PRs #624 for JSON Content-Type / CORS CSRF enforcement and #625 for deriving handler capabilities from the served Agent Card), I noticed a2aproject/a2a-gateway had been stale for months and wanted something lean enough to run alongside existing services on a free GCP e2-micro VM (953 MB RAM, no swap).
What is in v0.2.0 (cargo install a2a-gateway):
- Enforces application/json / application/*+json before body parsing (returns -32005 on text/plain or form POSTs).
- Dynamic /.well-known/agent-card.json aggregation across upstream agents.
- Zero-copy text/event-stream SSE proxying.
- Per-tenant token-bucket rate limiting and constant-time Bearer auth.
- Zero-PII JSONL telemetry (latency, status, method, byte counts; never logs bodies, headers, or IPs).
- Stateless POST /mcp (server/discover and tools/list) exposing healthy A2A skills to MCP 2.0 clients.
- Optional langextract-agent binary (--features langextract-agent) wrapping langextract-core v0.3.0 for zero-LLM-cost text cleaning, chunking, and snippet grounding.
Measured on e2-micro (300 concurrent SendMessage calls, concurrency 10): 973.6 RPS, p50 8.99 ms / p95 18.24 ms / p99 25.21 ms, 5.4 MB RSS idle (6.5 MB post-bench) for the gateway and 4.0 MB RSS idle (6.8 MB post-bench) for the agent.
Current limits: no JWS Agent Card signature verification yet, in-memory single-node rate limiting only, and no automated A2A TCK runner in CI yet. Happy to hear feedback or edge cases you hit.
I built a2a-gateway, a small Rust edge gateway for the Linux Foundation's Agent2Agent (A2A v1.0) protocol with a stateless MCP 2.0 (2026-07-28) discovery facade.
While testing a2aproject/a2a-rs (where I also opened PRs #624 for JSON Content-Type / CORS CSRF enforcement and #625 for deriving handler capabilities from the served Agent Card), I noticed a2aproject/a2a-gateway had been stale for months and wanted something lean enough to run alongside existing services on a free GCP e2-micro VM (953 MB RAM, no swap).
What is in v0.2.0 (cargo install a2a-gateway): - Enforces application/json / application/*+json before body parsing (returns -32005 on text/plain or form POSTs). - Dynamic /.well-known/agent-card.json aggregation across upstream agents. - Zero-copy text/event-stream SSE proxying. - Per-tenant token-bucket rate limiting and constant-time Bearer auth. - Zero-PII JSONL telemetry (latency, status, method, byte counts; never logs bodies, headers, or IPs). - Stateless POST /mcp (server/discover and tools/list) exposing healthy A2A skills to MCP 2.0 clients. - Optional langextract-agent binary (--features langextract-agent) wrapping langextract-core v0.3.0 for zero-LLM-cost text cleaning, chunking, and snippet grounding.
Measured on e2-micro (300 concurrent SendMessage calls, concurrency 10): 973.6 RPS, p50 8.99 ms / p95 18.24 ms / p99 25.21 ms, 5.4 MB RSS idle (6.5 MB post-bench) for the gateway and 4.0 MB RSS idle (6.8 MB post-bench) for the agent.
Live demo endpoint (try /.well-known/agent-card.json, POST /mcp, or POST /agents/langextract): https://a2a.35-209-222-203.sslip.io/.well-known/agent-card.j...
Current limits: no JWS Agent Card signature verification yet, in-memory single-node rate limiting only, and no automated A2A TCK runner in CI yet. Happy to hear feedback or edge cases you hit.