# The Cost of Saying Hello: An Empirical Study of Handshake Overhead in AI Agent Communication Protocols

DevFeed: [The Cost of Saying Hello: An Empirical Study of Handshake Overhead in AI Agent Communication Protocols](<https://devfeed.tech/articles/the-cost-of-saying-hello-an-empirical-study-of-handshake-overhead-in-ai-agent-communication-protocols-96899.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.30151>)

Author: Pranav Varshney

Published: 2026-10-23T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [agent to agent communication](<https://devfeed.tech/topics/agent-to-agent-communication.md>), [Multi Agent Systems](<https://devfeed.tech/topics/multi-agent-systems.md>), [A2A protocol](<https://devfeed.tech/topics/a2a-protocol.md>), [LLM observability](<https://devfeed.tech/topics/llm-observability.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [2026](<https://devfeed.tech/tags/2026.md>), [a2a](<https://devfeed.tech/tags/a2a.md>), [acp](<https://devfeed.tech/tags/acp.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agent-communication](<https://devfeed.tech/tags/agent-communication.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [communication](<https://devfeed.tech/tags/communication.md>), [context](<https://devfeed.tech/tags/context.md>), [cost](<https://devfeed.tech/tags/cost.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [handshake](<https://devfeed.tech/tags/handshake.md>), [overhead](<https://devfeed.tech/tags/overhead.md>), [protocols](<https://devfeed.tech/tags/protocols.md>), [study](<https://devfeed.tech/tags/study.md>)

## AI overview

The benchmark finds that handshake round trips dominate startup latency across the tested agent protocols. At an emulated 50 ms RTT, legacy MCP takes three round trips and 230 ms, while A2A takes one and 61 ms. Metadata adds a separate context cost when an LLM reads counterpart capabilities: 24-107 tokens per capability, or 11% of a 200k-token context window for 200 capabilities. MCP's 2026 discover revision reduces the handshake to two round trips, and era pinning eliminates it on warm reconnects. The study used official SDKs and tested cold starts, warm repeats, capability mismatches, and degraded metadata; these results describe the reported benchmark conditions.

## Source excerpt

arXiv:2610.30151v1 Announce Type: cross Abstract: Every interaction between AI agents begins with a handshake: the initiating agent must locate its counterpart, learn what it can do, and establish a session before the first useful message can be sent. Surveys of agent communication protocols name handshake overhead as an efficiency criterion, yet none report measurements. This paper presents the first empirical, phase-decomposed benchmark of the handshake in three major agent protocols: MCP (in both its 2025 initialize and 2026 discover eras), A2A, and ACP. Using each protocol's official SDK, we instrument every request for round trips, per-phase latency, wire bytes, and token cost across cold-start, warm-repeat, capability-mismatch, and degraded-metadata scenarios (N=50 per cell, on loopback and under an emulated 50 ms RTT). Round-trip count dominates handshake cost. A legacy MCP handshake takes three round trips and 230 ms at 50 ms RTT; A2A needs one round trip and 61.0 ms. Round trips are not the whole bill: when an LLM reads the counterpart's metadata, handshake cost scales with the counterpart's capability inventory at 24-107 tokens per capability, so a 200-capability counterpart spends 11% of a 200k-token context window before the agent reads its own task. MCP's own 2026 revision cuts its handshake from three round trips to two and, with era pinning, to zero on warm reconnects, protocol evolution that corroborates the cost we measure. We release the full harness, raw data, and analysis at https://github.com/pvarshh/handshake-benchmark.