Writing as xbill on DEV Community, the author documents a Strands currency worker and a local caller in Strands to Strands over A2A on Bedrock AgentCore, With IAM as the Only Credential. The example follows two requests through the same IAM boundary: discovering what the worker can do and sending it a message.
Discovery and invocation need their own permissions
The caller first fetches an A2A agent card, a document that describes the worker's skills and endpoint. It then sends a JSON-RPC message. Both requests are signed with AWS Signature Version 4. The worker uses a tool to fetch reference exchange rates and calculate the result; the coordinator can call that worker using the same AWS credential session it uses for its own Bedrock model request.
In the author's deployment, the role with both GetAgentCard and InvokeAgentRuntime permissions scoped to the runtime and its endpoints could read the card and send a message. The role with both actions scoped to the runtime ARN alone received a denial that named the default endpoint. That matters for diagnosis because a caller that fetches the card first can fail during discovery while its message handler is still idle. AWS documents this agent card operation separately from runtime invocation.
Reusing a session changes latency and scheduling
The author's caller pins a session ID. In ten runs per condition, the median card read took 1.758 seconds with a new session and 0.244 seconds with a reused session. Those numbers describe one deployment in one region. A second experiment sent two simultaneous messages five times per condition. Each pair sharing a session produced one HTTP 409, while all ten messages sent in pairs across separate sessions succeeded.
The coordinator in the example repository serializes calls to its worker with a lock. That lets a conversation reuse the session across turns. The experiments give readers two separate checks to reproduce in their own integrations: whether the caller can complete discovery with its assigned role, and whether their workload needs parallel requests across independent sessions.