arXiv:2606.14790cs.PLcs.AI2026-06

让多智能体工作流更可靠,通过可执行的协议编程系统

XFlow: An Executable Protocol Programming System for Reliable Multi-Agent Workflows

论文配图:XFlow: An Executable Protocol Programming System for Reliable Multi-Agent Workflows
图 1 · 摘自论文原文
  • 用可编译执行的协议语言定义工作流结构
  • 运行时通过受控符号管理不确定性和状态转换
  • 适合需要高可靠性的智能体协作场景

基于大模型的多智能体系统在规划、推理、工具使用和人机交互中日益协同,但其可靠性仍受限。核心瓶颈在于提示与执行边界不明确:当前系统缺乏原则性方法来决定哪些流程承诺应保留在提示中,哪些应转为可检查的执行结构。本文提出XFlow——一种用于可靠多智能体工作流的可执行协议编程系统,及其领域专用语言XPF(XFlow协议格式)。XFlow介于纯提示编排与标记式工作流描述之间。XPF保持可读的协议文档形式,但可编译执行。其设计将非正式语义保留在智能体内部,同时将部分关键承诺移入可验证、可保留、可强制的框架结构中。运行时,XFlow通过生命周期管控的符号阶段化不确定性,这些符号是带类型的状态单元,具备验证与提交状态。智能体输出在成为共享状态前被中介,而非直接传播至提示、对话记录或隐式记忆。实验涵盖受限交互、长上下文推理与代理式软件工程,结果表明,XFlow通过显式且可强制的约束、证据处理与过程要求,显著提升系统可靠性。

原文摘要 · Abstract (English)

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.

多智能体工作流可靠性

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。