What Can Be Enforced? A Theory of Certified Runtime Safety for Tool-Using Agents
Abstract
Runtime guardrails act before irreversible tool calls, but their guarantees depend on what policy state is representable, what a judge observes, and whether intervention changes future behavior. We separate three questions. First, relative to fixed oracle predicates, a deterministic gate enforces exactly the nonempty safety policies whose good prefixes its register model recognizes; policy nontriviality is undecidable with two decrementable counters but in PSPACE for a separable monotone fragment. Second, under a fixed exogenous law, Neyman-Pearson gives the exact false-block/miss frontier and conformal calibration gives a finite-sample marginal certificate, possibly via block-all. Third, once blocking changes future proposals, static scores and ungated trajectories need not identify the closed-loop frontier; a specified finite controlled model instead yields an occupancy program. Bounded representation attacks add a robustness margin, so benign calibration alone does not transfer. Experiments target these distinctions through static diagnostics, controlled-model enumeration, representation rewrites, and paired closed-loop reruns.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CR, cs.LG
- Comments
- 26 pages, 8 figures. Extended version with complete proofs and additional experiments
Related papers
EATS: Scaling Tool-Use Experience for Medical Reasoning Agents
Shared title terminologycs.AIMingyuan Li, Tong Jia, Haoran Wang et al.
When Does Memory Help? A Cost-Aware Evaluation of Long-Term Memory in Tool-Using LLM Agents
Shared title terminologycs.AIShweta Mishra, Shashank Mishra
E-Bench: Benchmarking Multi-Step Tool-Use Agents in Real-World Product Scenarios
Shared title terminologycs.AIWeihuang Zheng, Tianyuan Zou, Eileen Ye et al.
CAPE: Coordinating Calibration and Search for Tool-Use Policies
Shared title terminologycs.AIJiahao Wang, Xiaoxuan Chen, Aijun Yang et al.
OS-Sentinel: Towards Safety-Enhanced Mobile GUI Agents via Hybrid Validation in Realistic Workflows
Shared title terminologycs.AIQiushi Sun, Mukai Li, Zhoumianze Liu et al.
TableMind: An Autonomous Programmatic Agent for Tool-Augmented Table Reasoning
Shared title terminologycs.AIChuang Jiang, Mingyue Cheng, Xiaoyu Tao et al.