arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.07094cs.AI
收藏

VIGIL:一种用于自愈代理的反射性运行时

VIGIL: A Reflective Runtime for Self-Healing Agents

Christopher Cruz

Christopher Cruz

AI总结:

VIGIL是一种反射性运行时,通过自我诊断和修复机制提升代理系统的可靠性和自我维护能力。

摘要:

代理大语言模型框架通过任务分解、工具使用和迭代规划实现自主行为,但大多数部署系统仍脆弱。它们缺乏运行时 introspection,无法诊断自身故障模式,且在没有人工干预的情况下无法改进。在实践中,许多代理堆栈退化为装饰链式LLM调用,缺乏结构化的可靠性机制。我们提出了VIGIL(可验证检查和受保护的迭代学习),一种反射性运行时,监督一个兄弟代理并执行自主维护而非任务执行。VIGIL摄入行为日志,将每个事件评估为结构化的情感表示,维护一个具有衰减和上下文政策的持久EmoBank,并推导出RBT诊断,将近期行为分为优势、机会和失败。从分析中,VIGIL生成既保护核心身份语义又只读代码提案,这些提案由基于日志证据和代码热点的策略引擎生成。VIGIL作为状态门控管道运行。非法转换会产生显式错误而非允许LLM随意发挥。在提醒延迟案例研究中,VIGIL识别出升高的延迟,提出了提示和代码修复方案,当其自身的诊断工具因模式冲突失败时,它揭示了内部错误,生成了后备诊断,并发出修复计划。这展示了在部署的代理运行时中的元层面自修复。

英文摘要:

Agentic LLM frameworks promise autonomous behavior via task decomposition, tool use, and iterative planning, but most deployed systems remain brittle. They lack runtime introspection, cannot diagnose their own failure modes, and do not improve over time without human intervention. In practice, many agent stacks degrade into decorated chains of LLM calls with no structural mechanisms for reliability. We present VIGIL (Verifiable Inspection and Guarded Iterative Learning), a reflective runtime that supervises a sibling agent and performs autonomous maintenance rather than task execution. VIGIL ingests behavioral logs, appraises each event into a structured emotional representation, maintains a persistent EmoBank with decay and contextual policies, and derives an RBT diagnosis that sorts recent behavior into strengths, opportunities, and failures. From this analysis, VIGIL generates both guarded prompt updates that preserve core identity semantics and read only code proposals produced by a strategy engine that operates on log evidence and code hotspots. VIGIL functions as a state gated pipeline. Illegal transitions produce explicit errors rather than allowing the LLM to improvise. In a reminder latency case study, VIGIL identified elevated lag, proposed prompt and code repairs, and when its own diagnostic tool failed due to a schema conflict, it surfaced the internal error, produced a fallback diagnosis, and emitted a repair plan. This demonstrates meta level self repair in a deployed agent runtime.

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

↑