Certified Execution Harness for Agentic AI: Safe and Least-Intrusive Petri-Net Supervisory Control Between Reasoning and Action
On the map: LLM reasoning → Reasoning for agents, planning and code
also in 2 more
Abstract (arXiv)
This paper studies the problem of safe tool execution for large language model (LLM) agents under prompt injection. Using Petri nets, we formalize the execution harness between the LLM and its tools as a supervisory control problem, in which marks represent capabilities, approvals and budgets. Since a transition fires only if the marks it needs are present, an injected request whose preconditions are unmet or already spent is refused regardless of its wording. Treating tool outcomes as uncontrollable, we enforce safety by the conventional maximally permissive supervisor, and this safety transfers to the running system under four assumptions. Moreover, to capture an agent that may propose again after a refusal, we introduce the notion of a replanning closed loop, in which each retry costs an inference call. We show that, in this loop, the conventional supervisor can be arbitrarily more intrusive than a stricter safe one. Furthermore, for a given proposer model, the maximally permissive least-intrusive supervisor is characterized as a value-threshold refinement of the conventional one. Under precise conditions, this refinement orders two concurrent actions by at most one monitor place. On an autonomous release agent, we find by synthesis that safe deployment requires a step that the supervisor can refuse after a rollout starts.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 16 of its 37 references that are in the map. Submitted 22 Oct 2026.
Builds on
16 of 37 references.
References · 16
- 2017Safe Reinforcement Learning via Shieldingcited by 482
- 2019Control Barrier Functions: Theory and Applicationscited by 401
- 2025Defeating Prompt Injections by Designcited by 384
- 2025AgentSpec: Customizable Runtime Enforcement for Safe and Reliable LLM Agentscited by 276
- 2025Progent: Securing AI Agents with Privilege Controlcited by 189
- 2015Shield Synthesis: Runtime Enforcement for Reactive Systemscited by 47
- 2025Enforcing Temporal Constraints for LLM Agentscited by 41
- 2026Formal Policy Enforcement for Real-World Agentic Systemscited by 39
- 2025ProbGuard: Proactive Runtime Monitoring for LLM Agent Safety via Probabilistic Predictioncited by 36
- 2015Permissive Controller Synthesis for Probabilistic Systemscited by 18
- 2026SafeHarness: Lifecycle-Integrated Security Architecture for LLM-based Agent Deploymentcited by 17
- 2026Beyond Single-Use Tokens: Durable Authorization State for Replay-Resistant LLM Agent Actionscited by 10
4 more
- 2026What Can Be Enforced? A Theory of Certified Runtime Safety for Tool-Using Agentscited by 7
- 2026Causality Laundering: Denial-Feedback Leakage in Tool-Calling LLM Agentscited by 5
- 2026Symbolic Temporal Supervision of LLM Agents Using Contractscited by 2
- 2018Detection and Mitigation of Classes of Attacks in Supervisory Control Systemscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Tool Specifications Matter: Uncovering and Mitigating Safety Risks in AI Agents
- 2026SafeAgent: A Runtime Protection Architecture for Agentic Systems
- 2026Harness as an Asset: Enforcing Determinism via the Convergent AI Agent Framework (CAAF)
- 2026Harness Engineering for Predictable Agentic Systems: An Empirical Study of Deterministic Execution Constraints
- 2025Architecting Resilient LLM Agents: A Guide to Secure Plan-then-Execute Implementations
- 2026VIGIL: Runtime Enforcement of Behavioral Specifications in AI Agent Skills
- 2026Formal Skill: Programmable Runtime Skills for Efficient and Accurate LLM Agents
- 2026ClawSentry: A Progressive Multi-Tier Security Monitor for Safeguarding Autonomous LLM Agents