The A2A (Agent-to-Agent) CLI solves a specific problem: you want to run the same agent code on your laptop, in a Lightsail container, and inside Bedrock AgentCore Runtime, then call them all with identical commands. The CLI handles authentication, protocol version mismatches, and cross-environment routing so you can test locally and deploy without rewriting your orchestration layer.
This is not a managed service. It is a command-line client that speaks A2A protocol versions 0.3 and 1.0, carries agent-to-agent calls between environments, and abstracts the differences between localhost HTTP, Lightsail public endpoints, and Bedrock AgentCore's Cognito-gated runtime.
What the A2A CLI Does
The CLI is a single binary that:
Discovers agent capabilities by fetching the agent card (A2A's service descriptor).
Invokes agent tasks over JSON-RPC or REST, depending on what the agent advertises.
Handles authentication tokens for Bedrock AgentCore Runtime (Cognito session headers).
Proxies agent-to-agent calls when…