This article provides a step by step guide to connecting two Strands agents over the Agent2Agent (A2A) protocol on Amazon Bedrock AgentCore Runtime, with AWS IAM as the only credential. The worker runs on AgentCore with IAM inbound auth, the caller signs every request with SigV4, and one IAM policy decides who may call it.
Repository: https://github.com/xbill9/strands-agentcore-a2a-iam
What Is A2A on AgentCore?
A2A is an open protocol for one agent to call another: the caller reads the other agent's card from /.well-known/agent-card.json , then sends JSON-RPC messages to it. AgentCore Runtime can host an A2A server and put it behind the AWS API front door.
With IAM inbound auth turned on, every request to the agent, the card included, has to carry a SigV4 signature from an IAM identity that is allowed to call that runtime.…