Choose tool access or an agent handoff
Decide when a second agent is justified and choose how it exchanges work.
Choose tool access or an agent handoff
Work through the decision
A warranty agent needs inventory by part number. Another department independently operates a logistics agent that can negotiate and schedule a pickup over multiple turns. Which integrations match those jobs?
Check your reasoning
Use a narrow tool call for the inventory read. MCP can expose governed tools and resources through a common interface. Delegate scheduling to a specialized agent when it owns the workflow, state and authorization boundary. A2A supports discovery through an Agent Card and exchange of tasks and results. Establish identity, permitted data, timeouts and the owner of the final user response.
Compare the choices
- Model Context Protocol (MCP)
- Connect an agent to tools or resources through a standard interface. Apply scoped authorization, input validation and logging to the capabilities exposed.
- Agent-to-Agent (A2A)
- Exchange tasks and messages with an independently operating agent. Inspect its advertised capabilities and agree on identity and task lifecycle.
- Single-agent design
- Use one scoped agent and direct actions when one owner, one policy boundary and a small set of deterministic operations suffice.
- Orchestration contract
- Specify routing, permissions, approved handoff fields, task identity, completion and failure behavior when multiple agents cooperate.
Test the decision
If the only work is one deterministic lookup, introducing a planner and another agent adds latency and failure modes. If the remote team must own a long-running process, a handoff contract should include the task identity, status, permitted context and how the initiating agent resumes on completion.
Practice the guide skills
- Decide whether one agent with a tool or several specialized agents fit a dealer pickup. Define responsibility, data boundaries, cost of coordination and recovery from a timeout. Watch 1:54:01
- Compare using MCP to expose a governed inventory lookup with using A2A to delegate and track a scheduling task. Identify how each path authenticates and what context may cross it. Watch 1:55:58 · Continue at 1:57:10
Official objectives for this lesson
Related lesson · Give an agent the smallest tool needed for the task
Choose tool access or an agent handoff quiz
Answer 3 questions. Check each answer for an explanation.