Summary
Agent protocols are the interface contracts that let systems discover, describe, and call capabilities beyond their own prompt loop. They matter when tool access, agent collaboration, or network discovery need to scale beyond one-off adapters.Why It Matters
A single agent can get surprisingly far with direct tool wrappers. The trouble starts when the system needs to grow:- multiple external services with inconsistent interfaces
- multiple agents with different roles
- multiple runtimes or organizations that need a shared contract
Mental Model
The three protocol families highlighted in the imported source material solve different jobs:MCPstandardizes how models and external tools or resources describe and expose capabilities.A2Astandardizes how one agent delegates or collaborates with another agent-like service.ANPfocuses on discovery and routing across larger agent networks.
- access layer: how a model reaches capabilities
- collaboration layer: how specialized actors coordinate
- network layer: how those actors are found and connected
| If the question is… | Start with… | Because… |
|---|---|---|
| How does the agent call a tool or read a resource? | MCP | The boundary is capability and context access. |
| How does one agent hand work to another agent-like service? | A2A | The boundary is delegation and collaboration. |
| How are agents discovered across a larger network? | ANP | The boundary is routing and discovery. |
roots: filesystem boundaries that tell a server which local directories or files are in scope.resources: application-provided context objects such as files, database schemas, or project records that a client can list, read, select, or refresh.
Architecture Diagram
Tool Landscape
Protocol adoption usually follows the maturity of the surrounding system.- Direct wrappers are often enough for a small private toolset.
- MCP becomes attractive when capability descriptions, transport boundaries, and tool reuse matter across models or teams.
- A2A becomes attractive when the system has durable specialist roles and task handoffs that deserve explicit lifecycle handling.
- Network-style discovery matters only when the system is large or open enough that preconfigured routing stops being realistic.
stdio style access fits trusted local tooling.
Remote transports fit shared infrastructure, but they expand the security
surface and operational burden.
Local and remote boundaries
The local-versus-remote distinction is not only about where the code runs. It also changes what must be governed:- Local
stdioservers can fit personal tools, project scripts, and repository workflows because they run as local processes and can see nearby environment state. - Remote MCP servers fit shared services and cloud integrations, but they need clearer authentication, authorization, and lifecycle handling.
- Roots should be treated as explicit permission boundaries, not convenience hints.
- Resources should be treated as selected context, not automatic permission to crawl everything behind a connector.
local stdio: easiest to inspect, but tied to the user’s machine and nearby environment stateremote MCP: easier to share across systems, but requires stronger auth, lifecycle, and service-boundary decisionsroots: the directories or files a local server should understand as availableresources: selected context objects the application exposes for model use
- Use direct local tools when the system is private, small, and easy to audit.
- Use local MCP when the same local capability should be discoverable and reusable across agent clients.
- Use remote MCP when a shared service boundary is more important than the simplicity of a local script.
Tradeoffs
- Protocols reduce one-off integration work, but they add abstraction, lifecycle handling, and operational complexity.
- Rich capability discovery is powerful, but only if permission boundaries are explicit and the caller can trust the descriptions it receives.
- Agent-to-agent delegation can improve specialization, but it can also hide responsibility if artifacts, ownership, and failure states are vague.
- Network discovery helps at scale, but most teams should not pay that cost before they actually have a discovery problem.
- Prefer direct integration when the capability surface is small, trusted, and local.
- Adopt protocols when you need portability, reuse, or clear cross-boundary contracts more than you need minimum moving parts.
Citations
- Source input: Chapter 10 Agent Communication Protocols
- Source input: Hello-Agents reference boundary
- Official source: MCP transports
- Official source: MCP roots
- Official source: MCP resources
- Official source: OpenAI Responses API tools and remote MCP support
Reading Extensions
Update Log
- 2026-04-24: Clarified protocol-layer boundaries and added a quick decision table for MCP, A2A, ANP, roots, resources, and remote MCP.
- 2026-04-23: Refreshed the protocol guidance with local roots, resources, and remote MCP boundary notes.
- 2026-04-21: Initial repo-native draft based on imported reference material and lab rewrite rules.