arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.14133cs.AIcs.CRcs.MA
收藏

形式化代理AI系统的安全、安全性和功能性属性

Formalizing the Safety, Security, and Functional Properties of Agentic AI Systems

Sapienza University of Rome(罗马萨皮恩扎大学);Purdue University(普渡大学)

Edoardo Allegrini, Ananth Shreekumar, Z. Berkay Celik

AI总结:

本文提出一个统一的语义框架,用于分析、设计和部署正确、可靠且稳健的代理AI系统,通过形式化验证确保系统行为的安全性和功能性。

摘要:

代理AI系统利用多个自主代理和大型语言模型(LLMs)来解决复杂多步骤任务。这些系统的安全、安全性和功能性至关重要,尤其是在高风险应用中。然而,当前的代理间通信生态系统碎片化,协议如模型上下文协议(MCP)用于工具访问,以及代理到代理(A2A)协议用于协调,均被孤立分析。这种碎片化导致语义鸿沟,阻碍了系统属性的严格分析,并引入了架构不一致和可利用的协调问题。为解决这些挑战,我们引入了一个由两个核心模型组成的代理AI系统建模框架:(1)主机代理模型形式化了与用户交互的顶层实体,通过利用外部代理和工具分解任务并协调执行;(2)任务生命周期模型详细描述了单个子任务从创建到完成的状态和转换,提供了任务管理和错误处理的细粒度视图。这两个模型共同提供了一个统一的语义框架,用于推断多AI代理系统的行为。基于此框架,我们定义了16个主机代理属性和14个任务生命周期属性,分为活性、安全、完整性和公平性类别。这些属性用时序逻辑表达,使系统行为的形式验证、协调边缘情况的检测以及死锁和安全漏洞的预防成为可能。通过这一努力,我们引入了首个严谨且领域无关的框架,用于分析、设计和部署正确、可靠且稳健的代理AI系统。

英文摘要:

Agentic AI systems, which leverage multiple autonomous agents and large language models (LLMs), are increasingly used to address complex, multi-step tasks. The safety, security, and functionality of these systems are critical, especially in high-stakes applications. However, the current ecosystem of inter-agent communication is fragmented, with protocols such as the Model Context Protocol (MCP) for tool access and the Agent-to-Agent (A2A) protocol for coordination being analyzed in isolation. This fragmentation creates a semantic gap that prevents the rigorous analysis of system properties and introduces risks such as architectural misalignment and exploitable coordination issues. To address these challenges, we introduce a modeling framework for agentic AI systems composed of two central models: (1) the host agent model formalizes the top-level entity that interacts with the user, decomposes tasks, and orchestrates their execution by leveraging external agents and tools; (2) the task lifecycle model details the states and transitions of individual sub-tasks from creation to completion, providing a fine-grained view of task management and error handling. Together, these models provide a unified semantic framework for reasoning about the behavior of multi-AI agent systems. Grounded in this framework, we define 16 properties for the host agent and 14 for the task lifecycle, categorized into liveness, safety, completeness, and fairness. Expressed in temporal logic, these properties enable formal verification of system behavior, detection of coordination edge cases, and prevention of deadlocks and security vulnerabilities. Through this effort, we introduce the first rigorously grounded, domain-agnostic framework for the analysis, design, and deployment of correct, reliable, and robust agentic AI systems.

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

↑