arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.18764cs.AIcs.CL
收藏

模式引导对话系统与模型上下文协议的收敛

The Convergence of Schema-Guided Dialogue Systems and the Model Context Protocol

SBB-IT

Andreas Schlapbach

AI总结:

本文通过分析模式引导对话系统与模型上下文协议的收敛,提出五条模式设计原则,揭示了SGD与MCP的内在联系及软件3.0中的关键监督机制。

摘要:

本文确立了一个根本性的统一:模式引导对话(SGD)和模型上下文协议(MCP)代表了确定性、可审计的LLM代理交互的统一范式两种表现形式。SGD最初设计用于基于对话的API发现(2019),而MCP现在已成为LLM工具集成的的事实标准,两者共享相同的核心洞察——模式不仅能编码工具签名,还能编码操作约束和推理指导。通过分析这种收敛,我们提取出五条基础原则用于模式设计:(1)语义完整性优于语法精确性,(2)显式动作边界,(3)失败模式文档化,(4)逐步披露兼容性,(5)跨工具关系声明。这些原则揭示了三个新的见解:首先,SGD的原始设计本质上是正确的,应被MCP继承;其次,两种框架都未充分利用失败模式和跨工具关系——我们识别并解决了这些缺口;第三,在现实世界中的token约束下,逐步披露成为关键的生产扩展洞察。我们为每条原则提供了具体的设计模式。这些原则将模式驱动的治理定位为一种无需专有系统检查即可扩展的AI系统监督机制——这是软件3.0的核心。

英文摘要:

This paper establishes a fundamental convergence: Schema-Guided Dialogue (SGD) and the Model Context Protocol (MCP) represent two manifestations of a unified paradigm for deterministic, auditable LLM-agent interaction. SGD, designed for dialogue-based API discovery (2019), and MCP, now the de facto standard for LLM-tool integration, share the same core insight -- that schemas can encode not just tool signatures but operational constraints and reasoning guidance. By analyzing this convergence, we extract five foundational principles for schema design: (1) Semantic Completeness over Syntactic Precision, (2) Explicit Action Boundaries, (3) Failure Mode Documentation, (4) Progressive Disclosure Compatibility, and (5) Inter-Tool Relationship Declaration. These principles reveal three novel insights: first, SGD's original design was fundamentally sound and should be inherited by MCP; second, both frameworks leave failure modes and inter-tool relationships unexploited -- gaps we identify and resolve; third, progressive disclosure emerges as a critical production-scaling insight under real-world token constraints. We provide concrete design patterns for each principle. These principles position schema-driven governance as a scalable mechanism for AI system oversight without requiring proprietary system inspection -- central to Software 3.0.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑