Abstract
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.
Abstract (translated)
代理型大语言模型框架通过任务分解、工具使用和迭代规划来承诺自主行为,但大多数已部署的系统仍然脆弱。它们缺乏运行时自我检查能力,无法诊断自身故障模式,并且在没有人类干预的情况下不会随着时间改善。实际上,许多代理堆栈退化为装饰化的大型语言模型调用链,没有任何确保可靠性的结构性机制。 我们提出了VIGIL(可验证检视和受控迭代学习),这是一种具有反思功能的运行时环境,用于监督同级代理并执行自主维护而不是任务执行。VIGIL会摄取行为日志,将每个事件评估为结构化的“情感”表示,并维护一个持久的EmoBank(情绪银行)以衰减方式存储信息和上下文策略。它还会诊断最近的行为,将其分类为优势、机会以及失败。通过这种分析,VIGIL生成受控提示更新,这些更新保留核心身份语义,同时由运行于日志证据和代码热点上的策略引擎提出只读代码提案。 VIGIL作为一个状态门控管道运行:非法过渡会产生明确的错误而不是允许大语言模型即兴发挥。在一个提醒延迟案例研究中,当检测到滞后增加时,VIGIL提出了提示及代码修复方案;在自身诊断工具因模式冲突失效的情况下,它呈现内部错误、产生备用诊断,并发出了修复计划。这展示了部署代理运行时的元级别的自我修复能力。 这一描述强调了VIGIL如何通过监控和分析其行为日志来实现自主维护和改进的能力,同时展示了一个实际案例中VIGIL如何识别并解决自身的问题或限制。这种方法有助于提高代理系统的可靠性和长期稳定性,而不需要外部的人工干预。
URL
https://arxiv.org/abs/2512.07094