The Cost of Saying Hello: An Empirical Study of Handshake Overhead in AI Agent Communication Protocols
The paper empirically measures handshake overhead across AI agent protocols, showing roundâtrip count and metadata size dominate latency and token cost.

Introduction
AI agents rarely exchange useful information without first performing a handshake: locating a counterpart, discovering capabilities, and establishing a session. While protocol specifications often cite handshake overhead as a performance metric, concrete measurements have been scarce. The recent study The Cost of Saying Hello: An Empirical Study of Handshake Overhead in AI Agent Communication Protocols fills this gap by benchmarking three widelyâused agent communication frameworksâMCP (both its 2025 initialize and 2026 discover eras), A2A, and ACP. Using the official SDKs, the authors instrument every request to capture roundâtrip counts, perâphase latency, wireâlevel byte usage, and token consumption under a variety of realistic conditions.
Methodology Overview
The authors constructed a harness that runs 50 repetitions per experimental cell, covering four scenarios:
- Coldâstart â a fresh agent instance initiates a handshake.
- Warmârepeat â the same agents reconnect after a short idle period.
- Capabilityâmismatch â one agent advertises a larger capability inventory than the other.
- Degradedâmetadata â metadata is intentionally truncated or corrupted.
Each run is executed on a loopback interface and under an emulated 50âŻms roundâtrip time (RTT) to simulate typical wideâarea network conditions. The instrumentation records:
- Number of network round trips per handshake phase.
- Latency per phase (in milliseconds).
- Bytes transmitted on the wire.
- Tokens consumed when a language model parses the counterpartâs capability list (24â107 tokens per capability).
Key Findings
RoundâTrip Dominance
Across all protocols, the total number of round trips is the primary driver of handshake latency. The legacy MCP handshake requires three round trips, resulting in an average latency of 230âŻms at 50âŻms RTT. By contrast, A2A completes its handshake in a single round trip, achieving 61âŻms under the same conditions. The newer MCP discover era reduces round trips to two, and with era pinning can eliminate them entirely for warm reconnects.
Token Cost of Capability Metadata
When an LLM reads the counterpartâs advertised capabilities, token consumption scales linearly with the size of the capability inventory. The study reports 24â107 tokens per capability, meaning a counterpart exposing 200 capabilities consumes roughly 11âŻ% of a 200âŻkâtoken context window before the agent can process its own task. This hidden cost can affect downstream inference budgets, especially for agents that frequently renegotiate capabilities.
WireâLevel Overhead
Byteâlevel measurements show that metadata payloads dominate the handshake payload size. Protocols that compress or truncate capability lists (e.g., ACPâs optional summary field) achieve modest reductions in wire traffic, but the impact on overall latency is secondary to roundâtrip count.
ScenarioâSpecific Insights
- Coldâstart handshakes incur the highest latency across all protocols due to full discovery and capability exchange.
- Warmârepeat scenarios benefit dramatically from protocol features that cache prior metadata; MCPâs eraâpinning can reduce latency to nearâzero.
- Capabilityâmismatch amplifies token cost, as the larger inventory forces the receiving LLM to process more tokens.
- Degradedâmetadata tests reveal robustness differences: A2A gracefully falls back to a minimal handshake, while MCP may retry additional round trips, increasing latency.
Practical Implications
Developers building multiâagent systems should prioritize reducing roundâtrip counts when designing or selecting a communication protocol. Strategies include:
- Session caching â retain capability metadata across interactions to avoid repeated full handshakes.
- Selective capability advertisement â expose only the subset of capabilities relevant to the current task, trimming token consumption.
- Protocol versioning â adopt newer protocol eras (e.g., MCP 2026 discover) that explicitly aim to cut round trips.
- Networkâaware tuning â in highâlatency environments, prefer protocols with fewer round trips (A2A) or enable eraâpinning where possible.
Conclusion
The empirical benchmark presented in this study quantifies the oftenâoverlooked cost of agent handshakes. Roundâtrip count emerges as the dominant latency factor, while metadata size drives token usage that can erode LLM context budgets. By understanding these tradeâoffs, system architects can make informed choices about protocol adoption, caching strategies, and capability advertisement policies, ultimately leading to more responsive and costâeffective AI agent ecosystems.
Source
Read original sourceWhy we picked this
Research paper presenting empirical benchmark of AI agent communication handshakes, core AI content