The Cost of a Hop: Benchmarking NLIP and A2A
Abstract
Autonomous agents built on Large Language Models (LLMs) need standardized protocols to interoperate across systems. Several now exist (A2A, MCP, ACP, ANP, NLIP), but the Natural Language Interaction Protocol (NLIP) has not appeared in any controlled performance study, and no work has measured where an agent protocol's latency is spent. We compare NLIP and the Agent-to-Agent (A2A) protocol empirically, decomposing latency into message creation, connection, and send phases across three independent hardware environments. For lightweight coordination, NLIP is 8.4-9.6x faster than the baseline A2A SDK implementation on two environments and about 4x on a third; the direction of the advantage is consistent, its magnitude depends on the hardware. The advantage is stage-specific: for the end-to-end pipeline, where LLM inference dominates, the protocols are near parity. The difference comes almost entirely from connection setup. To test A2A at its best, we also ran A2A SDK with connection caching enabled; caching narrows its gap with NLIP by a hardware-dependent amount, from 2.75x on one machine to near-parity on faster hardware, where at scale a cache-optimized A2A-SDK matches NLIP. We report these as measured conditions without a single causal account of the residual send-phase cost. Against the more optimized Python-A2A, NLIP leads by about 4x on the same stage. We close with a protocol-selection guide keyed to workload characteristics.
Create a lesson
Related papers
PRETZEL: A Benchmark for Cyclic Peptide Structure Prediction
Shared title terminologycs.AIYongchan Hong, Zihang Fang, Mukta Ubale et al.
What People Choose Not to Say: A Multimodal Benchmark for Fine-Grained Information Manipulation in Conversations
Shared title terminologycs.AIYuhan Bian, Zhaokai Liang, Jia Wang et al.
Beyond Static Charts: Benchmarking Interactive Chart-to-Code Generation for MLLMs
Shared title terminologycs.AIYuhan Bian, Haoyu Liu, Siyu Li et al.
Seeking in Space: Benchmarking Purposeful Active Exploration of Vision-Language Models for Spatial Reasoning
Shared title terminologycs.AIXiwei Liu, Yulong Li, Xuhui Li et al.
GameDojo: Benchmarking Real-Time Interactive Agents in Video Games
Shared title terminologycs.AIKuan Zhang, Zhihao Yang, Yukun Chen et al.
JaxNaviSim: A GPU-Accelerated, Data-Driven Simulator and Learning Benchmark for Maritime Navigation
Shared title terminologycs.AIQuang Anh Pham, Janaka Chathuranga Brahmanage, Hue Tse Leong et al.