A2A Protocol Support for Kuadrant's MCP Gateway
Extended Kuadrant's Envoy-based MCP Gateway beyond MCP to the Agent2Agent (A2A) protocol, so inter-agent traffic (discovery, long-running tasks, streaming) runs inside the same AuthPolicy, RateLimitPolicy and observability plane as MCP tool calls. I worked with the maintainers from gap analysis through design, implementation and e2e tests.
- Design document: A2A vs MCP gap analysis, routing through ext_proc, federated agent cards in the broker, session handling and CRD design. #1114 ↗
- A2A test server: an e2e fixture covering the task lifecycle, streaming and agent cards, then hardened for request lifetime and task retention. #1200 ↗ #1366 ↗
- Router A2A passthrough: behind the experimental
--enable-a2aflag. It strips spoofed headers, parses only the JSON-RPC envelope, setsx-a2a-method/x-a2a-agentfor auth and telemetry, and rejects unparseable requests. #1371 ↗ #1333 ↗ - E2E coverage: agent discovery and task execution through the gateway. #1418 ↗
- Workshop fork: the full design proven end to end (federated card broker, task routing, CRD), then upstreamed in phases. A2A fork ↗