Menu

1 / 5

The A2A CLI on AWS: One Client for Lightsail, Bedrock AgentCore and Localhost

DEV Community: aws·mech.app·10 days ago
#SlS99XuU
#devtoaws#devto#dev#agent#strands
Reading 0:00
15s threshold

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…

Continue reading — create a free account

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