သဘောတရား · AIF-C01 အပေါ် ဆက်လေ့လာရန်
Agent protocols and multi-agent patterns
MCP connects agents to tools, A2A connects agents to agents, and Strands has four patterns.
ဒီသင်ခန်းစာကို မြန်မာဘာသာ မပြန်ရသေးလို့ အင်္ဂလိပ်လို ပြထားပါတယ်။
AI Practitioner မှ သင်သိပြီးသားများ
- MCP is an open standard that connects agents to tools and data. A server exposes tools and an agent is the client.
- A supervisor agent can split a task and hand parts to worker agents.
MCP
- Between
- An agent and tools or data
- Use it for
- One standard way to call tools and read resources
A2A
- Between
- One agent and another agent
- Use it for
- Teams and frameworks that must cooperate
Multi-agent collaboration
- Between
- Supervisor and collaborators
- Use it for
- Managed teams in Agents Classic
| Idea | Between | Use it for |
|---|---|---|
| MCP | An agent and tools or data | One standard way to call tools and read resources |
| A2A | One agent and another agent | Teams and frameworks that must cooperate |
| Multi-agent collaboration | Supervisor and collaborators | Managed teams in Agents Classic |
Agents as tools
- Who sets the path
- The orchestrator model
- Pick it when
- One agent needs a few specialists
Workflow
- Who sets the path
- Tasks with dependencies
- Pick it when
- The steps are known
Graph
- Who sets the path
- Your edges and conditions
- Pick it when
- You need routing and loops
Swarm
- Who sets the path
- The agents themselves
- Pick it when
- Open exploration
| Strands pattern | Who sets the path | Pick it when |
|---|---|---|
| Agents as tools | The orchestrator model | One agent needs a few specialists |
| Workflow | Tasks with dependencies | The steps are known |
| Graph | Your edges and conditions | You need routing and loops |
| Swarm | The agents themselves | Open exploration |
1 / 2
Agents as tools
- Who sets the path
- The orchestrator model
- Pick it when
- One agent needs a few specialists
Workflow
- Who sets the path
- Tasks with dependencies
- Pick it when
- The steps are known
Graph
- Who sets the path
- Your edges and conditions
- Pick it when
- You need routing and loops
| Strands pattern | Who sets the path | Pick it when |
|---|---|---|
| Agents as tools | The orchestrator model | One agent needs a few specialists |
| Workflow | Tasks with dependencies | The steps are known |
| Graph | Your edges and conditions | You need routing and loops |
2 / 2
Swarm
- Who sets the path
- The agents themselves
- Pick it when
- Open exploration
| Strands pattern | Who sets the path | Pick it when |
|---|---|---|
| Swarm | The agents themselves | Open exploration |
ဘာလဲ
MCP servers offer three things: tools (actions the agent can call), resources (data it can read) and prompts (reusable templates). The agent discovers them and calls them in one standard way. Agent2Agent (A2A) is a different open protocol. It lets one agent talk to another agent, even one built with a different framework or run by another team. AgentCore Runtime can host an MCP server or an A2A server.
ဘာလဲ
The Strands Agents SDK has four ways to combine agents. Agents as tools: an orchestrator agent calls specialist agents like tools. Workflow: you declare tasks and which tasks depend on others. Tasks with no dependency can run in parallel. Graph: you draw agents as nodes with edges, including conditions and loops, so you control the path. Swarm: agents hand work to each other with no fixed path, which suits open exploration. Amazon Bedrock multi-agent collaboration is the managed form of a supervisor with collaborator agents, inside Agents Classic.
ဘာလဲ
Start with one agent. Add more only when one prompt is doing too much, when sub-tasks need their own context, or when roles must change independently. More agents mean more calls, more cost and more to debug.
မှတ်ထားရန်
- MCP: tools, resources and prompts between an agent and its tools.
- A2A: agent to agent, across frameworks and teams.
- Agents as tools: the smallest step up from one agent.
- Graph: you set the path, with conditions and loops. Swarm: agents choose the path.
- Bedrock multi-agent collaboration: supervisor and collaborators in Agents Classic.
မှတ်ထားရန်
- One agent is enough until one prompt does too much.
စာမေးပွဲမှာ
- “Agent reads a company database and calls an API through one standard interface” points to MCP.
- “Agents from different vendors must work together” points to A2A.
- “Route by intent, and loop back after a rejected review” points to a Strands graph.
- “No fixed order, agents hand off as the work needs” points to a swarm.
ဒီ task ထဲမှာ · 3.1
- Compute environments and deployment targets
- SageMaker hosting
- Real-time and serverless inference
- Asynchronous and batch inference
- Multi-model and multi-container endpoints, inference components
- Choosing a deployment orchestrator
- Foundation model deployment options
- Hosting large models on SageMaker
- Bringing in models built outside AWS
Agents Classic
AgentCore
- Agent protocols and multi-agent patterns
- Reranking and retrieval strategies