Repository navigation
Source AWS Open Protocols 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 | 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.
- 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.jsonpins@strands-agents/sdk1.19.0. Its installed declarations exposeMcpClientfrom the package root andA2AAgent/A2AServerfrom thea2asubpath; the A2A declarations mark that protocol experimental. The exact TypeScript SDK details are also recorded in Source-Strands-Harness-SDK-Docs. -
createMaxHeightAgent()currently registers onlynewsTool,weatherTool, andwebSearchTool. 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-strandsand 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.
- Concept-Cloud-Only-Inference
- Concept-Budget-Ceiling
- Concept-Personality-Gate
- Concept-IP-And-Legal-Posture
- Concept-Supply-Chain-Discipline
- Concept-Graceful-Degradation
- Concept-Observability
- Concept-Testing-And-TDD
- Concept-Credential-Hygiene
Editing in the browser? Wiki edits are live and bypass wiki:lint. Read
Guide-Wiki-Contributing first.