Skip to content

Source AWS Open Protocols Strands Agents SDK

Reese Hodge edited this page Nov 19, 2026 · 2 revisions

Source: Open Protocols with the Strands Agents SDK

AWS's Open Protocols with the Strands Agents SDK uses a fictional grocery agent, Pantry, to explain four separate boundaries in an agentic application. The post is an architecture overview, not a Max Height implementation guide; its runnable examples are Python.

Protocol boundaries

Protocol Boundary described by the article Pantry example
MCP Tools, data, and context exposed to an agent Catalog search and inventory checks
A2A Discovery and delegation to peer agents that own longer-running tasks A substitutions specialist chooses an alternative
AG-UI Typed progress, message, tool-call, and shared-state events between an agent and a user interface The shopper follows and updates a live cart
x402 HTTP-native payment for a resource that returns 402 Payment Required A managed AgentCore Payments integration handles the payment flow

The useful distinction is invocation versus delegation: an MCP tool performs a bounded operation while the caller owns the workflow; an A2A peer can own a task, reason independently, and return its outcome. AG-UI addresses the user-facing event/state boundary, while x402 addresses paid resource access. The protocols compose; they do not replace one another.

What applies to Max Height

  • The article's code is Python, including its MCP client, A2A, AG-UI, and payment examples. Do not copy those API names or setup into the TypeScript agent without checking the pinned SDK.
  • packages/agent/package.json pins @strands-agents/sdk 1.19.0. Its installed declarations expose McpClient from the package root and A2AAgent/A2AServer from the a2a subpath; the A2A declarations mark that protocol experimental. The exact TypeScript SDK details are also recorded in Source-Strands-Harness-SDK-Docs.
  • createMaxHeightAgent() currently registers only newsTool, weatherTool, and webSearchTool. The browser-facing contract is the project's custom WebSocket frames in Contract-WebSocket-API. The current Node agent endpoint uses HTTP/SSE and does not yet stream incremental tokens, so the article's AG-UI example is not an existing integration or a drop-in replacement.
  • The post identifies ag-ui-strands and the AgentCore Payments Strands plugin as community integrations rather than core SDK features. Its x402 discussion also describes paid requests, so any future use would need a separate cost and security review.

This is a useful protocol map for future architecture discussions, but it does not change the TypeScript SDK decision or imply adoption of MCP, A2A, AG-UI, or x402 in Max Height.

Clone this wiki locally