XFlow: 一个用于可靠多智能体工作流的可执行协议编程系统
XFlow: An Executable Protocol Programming System for Reliable Multi-Agent Workflows
AI总结:
提出XFlow可执行协议编程系统及其领域特定语言XPF,通过将工作流承诺从提示移至可检查、可执行的协议结构,并利用生命周期管理的符号中介智能体输出,提升多智能体工作流的可靠性。
摘要:
基于LLM的多智能体系统越来越多地协调规划、推理、工具使用和人类交互,但其可靠性仍然有限。这一局限的核心来源是未充分指定的提示-框架边界。当前系统缺乏原则性的方式来决定哪些工作流承诺应保留在提示中,哪些应成为框架结构。我们提出\textbf{XFlow},一个用于可靠多智能体工作流的可执行协议编程系统,以及\textbf{XPF}(XFlow协议格式),其领域特定协议编程语言。XFlow位于纯提示编排和标记式工作流描述之间的中间位置。XPF保持可读性,作为文字协议,但被编译并作为程序执行。其设计将非正式语义工作保留在智能体内部,同时将选定的承诺转移到可检查、可维护和可执行的框架结构中。在运行时,XFlow通过生命周期管理的符号(具有验证和提交状态的类型化状态单元)来阶段化不确定性。智能体输出在被共享状态之前被中介,而不是通过提示、转录或隐式记忆传播。我们的实验涵盖约束交互、长上下文推理和智能体软件工程。它们表明,XFlow通过使约束、证据处理和处理需求显式且可执行,提高了可靠性。
英文摘要:
LLM-based multi-agent systems increasingly coordinate planning, reasoning, tool use, and human interaction, yet their reliability remains limited. A central source of this limitation is the underspecified prompt--harness boundary. Current systems lack a principled way to decide which workflow commitments should remain in prompts and which should become harness structure. We present \textbf{XFlow}, an executable protocol programming system for reliable multi-agent workflows, and \textbf{XPF} (XFlow Protocol Format), its domain-specific protocol programming language. XFlow occupies a middle position between prompt-only orchestration and markup-like workflow descriptions. XPF remains readable as a literate protocol, but it is compiled and executed as a program. Its design keeps informal semantic work inside actors while moving selected commitments into harness structure that can be checked, preserved, and enforced. At runtime, XFlow stages uncertainty through lifecycle-governed symbols, which are typed state cells with validation and commit states. Actor outputs are mediated before they become shared state, instead of spreading through prompts, transcripts, or implicit memory. Our experiments cover Constrained Interaction, Long-Context Reasoning, and Agentic Software Engineering. They show that XFlow improves reliability by making constraints, evidence handling, and process requirements explicit and enforceable.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。