Agent Control as Code:跨平面智能体治理的声明式规范
Agent Control as Code: A Declarative Specification for Cross-Plane Agent Governance
如果你在做多智能体系统,权限规则散落在提示词和网关里迟早出事。这篇论文把治理写成四类可验证原语,用 Cedar、Z3、TLA+ 全套验证,实测把误升级从 19/25 降到 0。工程味很重,适合直接抄设计。
arXiv 论文提出 Agent Control as Code(ACaC),一个与实现无关的声明式契约,用四个原语 N=(H,M,T,O) 统一描述智能体治理:硬策略、强制指令、可否决原则和事后义务。它针对规则分散在推理框架、授权网关、协调服务和执行目标之间导致的权威漂移与裁量丧失问题,证明了承诺边界覆盖、排空安全性、统一模式索引全局安全等性质。
验证方面,Cedar 原生评估在 6,144 个有界状态上与独立预言机完全匹配(5/5 缺陷捕获,并经 Z3 SMT 逐策略佐证);Python 与 TLA+/TLC 模型检查覆盖撤销、分库恢复、排空和全局组合,11,114 个 TLC 状态零违规(Python 9/9、TLC 5/5 变异体被捕获),四进程回环执行记录零安全违规。
在基于留存日志重放的 LLM 实测中,纯文本规则导致不必要的升级(GPT-5.6 上 19/25,claude-fable-5 上 6/25),结构化预检将其降至 0/25,累计反馈达到 60/60 授权解决,基线仅为 11/60(剔除一个离群值后 10/59)。对构建多智能体系统的团队,这是把权限与治理写成可验证代码而非提示词散文的可参考方案。
Agent Control as Code: A Declarative Specification for Cross-Plane Agent Governance
Autonomous AI systems often scatter operational rules across reasoning harnesses, authorization gateways, coordination services, and execution targets. This normative fragmentation breaks cross-plane alignment, causing authority drift (admitting unauthorized actions) or discretion loss (blocking delegated ones). We introduce Agent Control as Code (ACaC), an implementation-independent contract over four primitives $N = (H, M, T, O)$: hard policies, mandates, defeasible tenets, and post-action obligations. ACaC unifies partial-observability correctness, compositional coverage, and scoped reasoning reuse with AST-derived contrastive refusals; under stated assumptions, we prove commitment-boundary coverage, draining safety, unified mode-indexed global safety, and conditional behavioral autonomy-loss reduction under preflight envelopes. Against independent oracles, native Cedar evaluation matches across 6,144 bounded states (5/5 defects caught; corroborated per policy via Z3 SMT), Python and TLA+/TLC model checking verify revocation, split-store recovery, draining, and global composition with zero violations (11,114 distinct TLC states; 9/9 Python and 5/5 TLC mutants caught), and four-process loopback execution records zero safety violations. In a live LLM study replayed from retained logs, prose-only rules triggered unnecessary escalations (19/25 on GPT-5.6, 6/25 on claude-fable-5), structured preflight eliminated them (0/25), and cumulative feedback reached 60/60 authorized resolutions versus 11/60 for the baseline (10/59 excluding one outlier).
This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include agents, Cedar, Z3, TLA+.
Source attribution: curated from arXiv cs.AI (@Jun He, Deying Yu).