匹配的能力,不同的行为:语言智能体MCP与CLI接口的受控研究
研究论文 · 2026/10/31
语言智能体通过外部工具和交互环境行动,模型与可执行能力之间的接口成为决策过程的一部分。模型上下文协议(MCP)和命令行界面(CLI)可以通过显著不同的面向模型表示来暴露相同的语义操作。我们研究当可执行能力匹配时,这些表示差异是否改变智能体行为。我们引入匹配接口比较与分析(MICA),它从共享的语义动作契约渲染MCP和CLI,并通过相同的运行时路由解码的动作。在六个模型和三个交互环境中,匹配的接口在任务性能和交互成本上产生显著差异。这些效应超越表面有效性,延伸到语义动作选择、失败路径和恢复。匹配状态探针将敏感性定位到能力呈现、实现和反馈。配对的自然轨迹在2004个片段中的94.3%揭示结构化分歧,并表明早期差异通过后续交互传播。这一分析将接口实现识别为直接干预边界。因此,我们引入解耦动作实现与定向修复(DART),它在保留已验证的语义承诺的同时修复接口特定的实现。DART在所有六个评估设置中提高基准分数高达9.0分,并在所有三个环境中将MCP令牌成本每任务降低高达27.1k令牌。总之,这些结果确立接口表示作为塑造智能体行为的闭环决策环境的一部分。
该研究通过控制实验揭示了接口表示对智能体行为的因果影响,提出了可操作的干预方法DART,对设计更高效的智能体工具接口具有直接指导意义。
Language agents increasingly act through external tools and interactive environments, making the interface between the model and its executable capabilities part of the decision process. Model Context Protocol (MCP) and command-line interfaces (CLI) can expose the same semantic operations through markedly different model-facing representations. We study whether these representational differences change agent behavior when executable capabilities are matched. We introduce Matched Interface Comparison and Analysis (MICA), which renders MCP and CLI from a shared semantic action contract and routes decoded actions through the same runtime. Across six models and three interactive environments, matched interfaces produce substantial differences in task performance and interaction cost. These effects extend beyond surface validity to semantic action selection, failure pathways, and recovery. Matched-state probes localize sensitivity to capability presentation, realization, and feedback. Paired natural trajectories reveal structured divergence in 94.3% of 2,004 episodes and show that early differences propagate through subsequent interaction. This analysis identifies interface realization as a direct intervention boundary. We therefore introduce Decoupled Action Realization and Targeted Repair (DART), which preserves validated semantic commitments while repairing interface-specific realization. DART improves benchmark score in all six evaluated settings by up to 9.0 points and reduces MCP token cost in all three environments by up to 27.1k tokens per task. Together, these results establish interface representation as part of the closed-loop decision environment shaping agent behavior.