论文

AgenticRV:面向智能体的形式化无关运行时监控架构

One Monitor Does Not Fit All: Formalism-Agnostic Runtime Verification for Agentic AI

精选理由

做智能体监控的可以看看,AgenticRV 直接适配 LangGraph、MCP 和 A2A,把外部时序监控和程序化监控组合到一套架构里,还给了形式化保证。

AgenticAI 系统同时包含模型决策、可变状态、工具调用和外部 Agent 委托,监控需要在不同执行边界采集观测。AgenticRV 用适配器发出规范化事件,各监控器获得独立的投影与抽象,决策策略基于归一化判定选择反应。论文形式化了观测何时充分、监控器替换何时保持决策一致、阻断何时能防止不安全效果。Python 实现支持 LangGraph、MCP 和 A2A,并在 LangGraph 实验中组合 Reelay 时序监控器与程序化报告监控器,消融实验说明两者各自必要。

原文 · arXiv cs.AI

One Monitor Does Not Fit All: Formalism-Agnostic Runtime Verification for Agentic AI

Agentic AI systems combine model decisions, mutable state, tool calls, and delegation to external agents. Monitoring them requires observations from different execution boundaries, while prevention requires control before an operation produces its effect. We present AgenticRV, a runtime-verification architecture that separates these boundaries from the monitoring formalism. Adapters emit canonical events; each monitor receives its own projection and abstraction; and a decision policy uses normalised verdicts to select a reaction supported by the responsible adapter. We formalise when observations suffice, monitor replacement preserves decisions, and blocking prevents unsafe effects. We also distinguish rejected attempts from completed effects, avoiding the assumption that a blocked request must leave every monitor in a permanent violation state. The Python implementation supports LangGraph, MCP, and A2A. A controlled LangGraph experiment combines an external Reelay temporal monitor with a programmatic report monitor; ablations show why both are needed for the selected requirements. Differential checks and cross-adapter tests provide further integration evidence. An LLM-driven incident-response example illustrates the same enforcement path, while existing microbenchmarks isolate framework costs. The results support reuse of monitoring methods at explicit control boundaries, subject to the stated observation and deployment assumptions.