Source: AWS Machine Learning Blog — 2026-07-01
Summary
AWS published a reference architecture and sample code for a serverless gateway that hosts many Agent-to-Agent (A2A) protocol agents behind a single domain, using path-based routing so standard A2A clients work without modification. It targets the integration sprawl that shows up once an organization moves from a handful of agents to dozens or hundreds.
Key Takeaways
- Three-layer architecture: a Management layer (centralized agent registry with semantic search), a Control layer (JWT-scoped access enforced via a Lambda authorizer), and an Execution layer (single-domain routing, OAuth backend auth, SSE streaming).
- Terraform-provisioned, meant to be deployed as-is rather than as a conceptual pattern only.
- Directly addresses point-to-point integration sprawl as agent counts scale within an org.
- Full sample code published at
aws-samples/sample-a2a-gatewayon GitHub.