Agent Control as Code: A Declarative Specification for Cross-Plane Agent Governance
Abstract
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 : 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).
Create a lesson
Metadata
- Categories
- cs.AI, cs.MA, cs.SE
- Comments
- 24 pages (19 pages main text and references, 5 pages appendices), 4 figures, 16 tables. Reference implementation and verification artifacts: https://github.com/openkedge/kedgespec
Related papers
Predict the Product, Not the Observation: Product-Level World Models for Coding Agents
Shared title terminologycs.AIQingyao Li, Xinyi Dai, Di Yin et al.
Paper2Frame: Framework-Conditioned Paper-to-Code Generation with Coding Agents
Shared title terminologycs.AISungmin Kang, Seok-Ju Hahn, Zhengzhong Tu et al.
Specification-Driven AI Integration for the Educational Component Lifecycle: Mapping Spec-Driven Development to AI-Agent Skills for Teachers
Shared title terminologycs.AIDmytro Nochevnov
ReproBoundary: How Reliably Can Coding Agents Reproduce AI Research Papers?
Shared title terminologycs.AISuping Sun, Yelin Chen, Fanjin Zhang et al.
ReMAS: Cross-Scenario Reusable Workflow Design for Multi-Agent Systems
Shared title terminologycs.AICheikh Ahmed, Mahdi Mostajabdaveh, Amirhossein Abaskohi et al.
AscendInfraBench: Benchmarking Coding Agents for Full-Lifecycle LLM Infrastructure Engineering on Ascend NPUs
Shared title terminologycs.AIZechao Chen, Sijie Wang, Zheng Bian et al.