The A2A CLI on AWS: One Client for Lightsail, Bedrock AgentCore and Localhost
This article provides a step by step guide to running A2A agents on AWS and driving them with the A2A CLI. A Rust agent on the official A2A Rust SDK runs in an Amazon Lightsail container. A Strands agent on an Amazon Bedrock model runs in Amazon Bedrock AgentCore Runtime and hands its work to the Rust agent. Both also run on a laptop, and one set of a2a commands checks all four.…
This step-by-step guide explains how to run A2A agents on AWS and drive them with the A2A CLI. A Rust agent using the official A2A Rust SDK runs in an Amazon Lightsail container, while a Strands agent on an Amazon Bedrock model runs in the AgentCore Runtime. Both agents can also run on a laptop, and a single set of A2A commands checks all four endpoints.
The A2A CLI manages communication between the agents, handling protocol version differences and forwarding requests as needed. The Rust agent serves A2A 1.0, while the Strands agent uses A2A 0.3. The A2A CLI connects to both agents, reading their respective protocol versions and data. The workload for the agents is a Lucas-Lehmer test to find Mersenne prime numbers, with the results reported back to the user.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.