Enforcing Temporal Constraints for LLM Agents
On the map: LLM agents and tool use → Agent threats, guardrails and governance
also in 1 more
Abstract (arXiv)
LLM-based agents are deployed in safety-critical applications, yet current guardrail systems fail to prevent violations of temporal safety policies, requirements that govern the ordering and sequencing of agent actions. For instance, agents may access sensitive data before authenticating users or process refunds to unauthorized payment methods, violations that require reasoning about sequences of action rather than an individual action. Existing guardrails rely on imprecise natural language instructions or post-hoc monitoring, and provide no formal guarantees that agents will satisfy temporal constraints. We present Agent-C, a novel framework that provides run-time guarantees ensuring LLM agents adhere to formal temporal safety properties. Agent-C introduces a domain-specific language for expressing temporal properties (e.g., authenticate before accessing data), translates specifications to first-order logic, and uses SMT solving to detect non-compliant agent actions during token generation. When the LLM attempts to generate a non-compliant tool call, Agent-C leverages constrained generation techniques to ensure that every action generated by the LLM complies with the specification, and to generate a compliant alternative to a non-compliant agent action. We evaluate Agent-C across two real-world applications: retail customer service and airline ticket reservation system, and multiple language models (open and closed-source). Our results demonstrate that Agent-C achieves perfect safety (100% conformance, 0% harm), while improving task utility compared to state-of-the-art guardrails and unrestricted agents. On SoTA closed-source models, Agent-C improves conformance (77.4% to 100% for Claude Sonnet 4.5 and 83.7% to 100% for GPT-5), while simultaneously increasing utility (71.8% to 75.2% and 66.1% to 70.6%, respectively), representing a new SoTA frontier for reliable agentic reasoning.
Key facts. Cited by 31 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 28 of its 92 references that are in the map. First posted on arXiv 25 Dec 2025.
Builds on
28 of 92 references.
Closest ancestors · 5
Same direction, newest first
- 2025Progent: Securing AI Agents with Privilege Control16 Apr
- 2025AgentSpec: Customizable Runtime Enforcement for Safe and Reliable LLM Agents24 Mar
- 2025Commercial LLM Agents Are Already Vulnerable to Simple Yet Dangerous Attacks12 Feb
- 2024AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agents11 Oct
- 2024ST-WebAgentBench: A Benchmark for Evaluating Safety and Trustworthiness in Web Agents9 Oct
Other references · 23
- 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,280
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
- 2024A Survey on Large Language Models for Code Generationcited by 646
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 568
- 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attackscited by 450
- 2024ShieldGemma: Generative AI Content Moderation Based on Gemmacited by 224
- 2023Large Language Models in Finance: A Surveycited by 223
- 2024Jailbreak Attacks and Defenses Against Large Language Models: A Surveycited by 215
- 2023Efficient Guided Generation for Large Language Modelscited by 192
- 2023Sequential Monte Carlo Steering of Large Language Models using Probabilistic Programscited by 79
- 2024XGrammar: Flexible and Efficient Structured Generation Engine for Large Language Modelscited by 73
- 2024Automata-based constraints for language model decodingcited by 49
11 more
- 2023Bypassing the Safety Training of Open-Source LLMs with Priming Attackscited by 48
- 2025Syntactic and Semantic Control of Large Language Models via Sequential Monte Carlocited by 45
- 2024eCeLLM: Generalizing Large Language Models for E-commerce from Large-scale, High-quality Instruction Datacited by 44
- 2025CRANE: Reasoning with constrained LLM generationcited by 38
- 2022Validating Large Language Models with ReLMcited by 33
- 2024Cedar: A New Language for Expressive, Fast, Safe, and Analyzable Authorization (Extended Version)cited by 31
- 2024IterGen: Iterative Semantic-aware Structured LLM Generation with Backtrackingcited by 28
- 2025Security Concerns for Large Language Models: A Surveycited by 26
- 2025Refining Input Guardrails: Enhancing LLM-as-a-Judge Efficiency Through Chain-of-Thought Fine-Tuning and Alignmentcited by 14
- 2025RefineStat: Efficient Exploration for Probabilistic Program Synthesiscited by 5
- 2025Quasar: A Programming Language Specialized for LLM Code Actionscited by 4
Built on by
Citing papers per year: 2026: 31.
31 papers.
Sort:
By area:
- 2026Agent Behavioral Contracts: Formal Specification and Runtime Enforcement for Reliable Autonomous AI Agentscited by 18
- 2026SEVerA: Verified Synthesis of Self-Evolving Agentscited by 6
- 2026Confidence over Time: Confidence Calibration with Temporal Logic for Large Language Model Reasoningcited by 3
- 2026Stable Agentic Control: Tool-Mediated LLM Architecture for Autonomous Cyber Defensecited by 3
- 2026Preventing Premature Commitment in Coding Agents with an Evidence-Conditioned Execution Layercited by 3
- 2026Teaching LLMs to Ask: Self-Querying Category-Theoretic Planning for Under-Specified Reasoningcited by 2
- 2026LemonHarness Technical Reportcited by 2
- 2026When Should Service Agents Reconsider? Difficulty-Routed Control in Customer-Service Operationscited by 2
- 2026Toward Safe LLM Agents: A Survey of Specification, Verification, and Enforcementcited by 2
- 2026Bounded Autonomy for Enterprise AI: Typed Action Contracts and Consumer-Side Executioncited by 1
- 2026Don't Make Models Guess Security and Safety: Symbolic Guardrails for Domain-Specific AI Agentscited by 1
- 2026Alignment Contracts for Agentic Security Systemscited by 1
19 more
- 2026Position: A Three-Layer Probabilistic Assume-Guarantee Architecture Is Structurally Required for Safe LLM Agent Deploymentcited by 1
- 2026Causal Past Logic for Runtime Verification of Distributed LLM Agent Workflowscited by 1
- 2026Efficient and Sound Probabilistic Verification for AI Agentscited by 1
- 2026NEXUS: Structured Runtime Safety for Tool-Using LLM Agentscited by 1
- 2026GuardianAgentBench: Where Agents Fail and How to Guard Themcited by 1
- 2026What Can Be Enforced? A Theory of Certified Runtime Safety for Tool-Using Agentscited by 1
- 2026COVENANT: Natural-Language Workflow Compilation for Aligned Agent Executioncited by 1
- 2026Securing Agentic AI: From Per-Action Checks to Trajectory Assurancecited by 1
- 2026Harness as an Asset: Enforcing Determinism via the Convergent AI Agent Framework (CAAF)cited by 0
- 2026The Chronos Vulnerability: A Taxonomy of Temporal Persistence and Memory-Based Deception in Agentic AIcited by 0
- 2026Why Formal Monitors Fail: Attack Distribution Entropy as a Coverage Bound for LTL-Based LLM Agent Safetycited by 0
- 2026Formal Verification of Agentic Systems over Operational Datacited by 0
- 2026Stateful CARS: Exact Cross-History Reuse for Policy-Constrained LLM Agentscited by 0
- 2026AI Guardrail Survival under Single-Cycle Agentic Self-Summarizationcited by 0
- 2026Natural-Language Workflows Are Not Software Yet: Artifact-Driven Compilation for Reliable Agent Executioncited by 0
- 2026Reassembling Distributed Risk: Trajectory-Conditioned Action Generation for Multi-Turn Agent Safetycited by 0
- 2026Do Not Restart: Residual Completion for Stateful Agent Handoffscited by 0
- 2026Toward Secure AI-Powered Penetration Testing Agents: Security Threats, Guardrails, and Architectural Perspectivescited by 0
- 2026Agents as Software: A Programming Languages Agenda for Agent Reliabilitycited by 0
- 2026Agents as Software: A Programming Languages Agenda for Agent Reliability26 Sep 2026
- 2026Toward Secure AI-Powered Penetration Testing Agents: Security Threats, Guardrails, and Architectural Perspectives15 Sep 2026
- 2026Do Not Restart: Residual Completion for Stateful Agent Handoffs12 Sep 2026
- 2026Reassembling Distributed Risk: Trajectory-Conditioned Action Generation for Multi-Turn Agent Safety26 Aug 2026
- 2026Natural-Language Workflows Are Not Software Yet: Artifact-Driven Compilation for Reliable Agent Execution21 Aug 2026
- 2026AI Guardrail Survival under Single-Cycle Agentic Self-Summarization11 Aug 2026
- 2026Stateful CARS: Exact Cross-History Reuse for Policy-Constrained LLM Agents8 Aug 2026
- 2026Formal Verification of Agentic Systems over Operational Data4 Aug 2026
- 2026Securing Agentic AI: From Per-Action Checks to Trajectory Assurance3 Aug 2026
- 2026Why Formal Monitors Fail: Attack Distribution Entropy as a Coverage Bound for LTL-Based LLM Agent Safety2 Aug 2026
- 2026Preventing Premature Commitment in Coding Agents with an Evidence-Conditioned Execution Layer30 Jul 2026
- 2026COVENANT: Natural-Language Workflow Compilation for Aligned Agent Execution28 Jul 2026
19 more
- 2026What Can Be Enforced? A Theory of Certified Runtime Safety for Tool-Using Agents24 Jul 2026
- 2026GuardianAgentBench: Where Agents Fail and How to Guard Them23 Jul 2026
- 2026The Chronos Vulnerability: A Taxonomy of Temporal Persistence and Memory-Based Deception in Agentic AI20 Jul 2026
- 2026When Should Service Agents Reconsider? Difficulty-Routed Control in Customer-Service Operations1 Jul 2026
- 2026LemonHarness Technical Report23 Jun 2026
- 2026Toward Safe LLM Agents: A Survey of Specification, Verification, and Enforcement22 Jun 2026
- 2026Efficient and Sound Probabilistic Verification for AI Agents18 Jun 2026
- 2026NEXUS: Structured Runtime Safety for Tool-Using LLM Agents25 May 2026
- 2026Causal Past Logic for Runtime Verification of Distributed LLM Agent Workflows20 May 2026
- 2026Position: A Three-Layer Probabilistic Assume-Guarantee Architecture Is Structurally Required for Safe LLM Agent Deployment18 May 2026
- 2026Stable Agentic Control: Tool-Mediated LLM Architecture for Autonomous Cyber Defense4 May 2026
- 2026Alignment Contracts for Agentic Security Systems30 Apr 2026
- 2026Harness as an Asset: Enforcing Determinism via the Convergent AI Agent Framework (CAAF)18 Apr 2026
- 2026Don't Make Models Guess Security and Safety: Symbolic Guardrails for Domain-Specific AI Agents16 Apr 2026
- 2026Bounded Autonomy for Enterprise AI: Typed Action Contracts and Consumer-Side Execution16 Apr 2026
- 2026SEVerA: Verified Synthesis of Self-Evolving Agents26 Mar 2026
- 2026Agent Behavioral Contracts: Formal Specification and Runtime Enforcement for Reliable Autonomous AI Agents25 Feb 2026
- 2026Teaching LLMs to Ask: Self-Querying Category-Theoretic Planning for Under-Specified Reasoning27 Jan 2026
- 2026Confidence over Time: Confidence Calibration with Temporal Logic for Large Language Model Reasoning19 Jan 2026
- 2026Agent Behavioral Contracts: Formal Specification and Runtime Enforcement for Reliable Autonomous AI Agentscited by 18
- 2026SEVerA: Verified Synthesis of Self-Evolving Agentscited by 6
- 2026Stable Agentic Control: Tool-Mediated LLM Architecture for Autonomous Cyber Defensecited by 3
- 2026Preventing Premature Commitment in Coding Agents with an Evidence-Conditioned Execution Layercited by 3
- 2026Toward Safe LLM Agents: A Survey of Specification, Verification, and Enforcementcited by 2
- 2026Alignment Contracts for Agentic Security Systemscited by 1
- 2026Position: A Three-Layer Probabilistic Assume-Guarantee Architecture Is Structurally Required for Safe LLM Agent Deploymentcited by 1
- 2026Causal Past Logic for Runtime Verification of Distributed LLM Agent Workflowscited by 1
- 2026NEXUS: Structured Runtime Safety for Tool-Using LLM Agentscited by 1
- 2026GuardianAgentBench: Where Agents Fail and How to Guard Themcited by 1
- 2026COVENANT: Natural-Language Workflow Compilation for Aligned Agent Executioncited by 1
- 2026Securing Agentic AI: From Per-Action Checks to Trajectory Assurancecited by 1
12 most cited of 21 All 21 (JSON)
- 2026Toward Secure AI-Powered Penetration Testing Agents: Security Threats, Guardrails, and Architectural Perspectives15 Sep 2026
- 2026Reassembling Distributed Risk: Trajectory-Conditioned Action Generation for Multi-Turn Agent Safety26 Aug 2026
- 2026Natural-Language Workflows Are Not Software Yet: Artifact-Driven Compilation for Reliable Agent Execution21 Aug 2026
- 2026AI Guardrail Survival under Single-Cycle Agentic Self-Summarization11 Aug 2026
- 2026Stateful CARS: Exact Cross-History Reuse for Policy-Constrained LLM Agents8 Aug 2026
- 2026Formal Verification of Agentic Systems over Operational Data4 Aug 2026
- 2026Securing Agentic AI: From Per-Action Checks to Trajectory Assurance3 Aug 2026
- 2026Why Formal Monitors Fail: Attack Distribution Entropy as a Coverage Bound for LTL-Based LLM Agent Safety2 Aug 2026
- 2026Preventing Premature Commitment in Coding Agents with an Evidence-Conditioned Execution Layer30 Jul 2026
- 2026COVENANT: Natural-Language Workflow Compilation for Aligned Agent Execution28 Jul 2026
- 2026GuardianAgentBench: Where Agents Fail and How to Guard Them23 Jul 2026
- 2026The Chronos Vulnerability: A Taxonomy of Temporal Persistence and Memory-Based Deception in Agentic AI20 Jul 2026
12 newest of 21 All 21 (JSON)
- 2026LemonHarness Technical Reportcited by 2
- 2026When Should Service Agents Reconsider? Difficulty-Routed Control in Customer-Service Operationscited by 2
- 2026Bounded Autonomy for Enterprise AI: Typed Action Contracts and Consumer-Side Executioncited by 1
- 2026Efficient and Sound Probabilistic Verification for AI Agentscited by 1
- 2026Do Not Restart: Residual Completion for Stateful Agent Handoffscited by 0
- 2026Agents as Software: A Programming Languages Agenda for Agent Reliabilitycited by 0
- 2026Agents as Software: A Programming Languages Agenda for Agent Reliability26 Sep 2026
- 2026Do Not Restart: Residual Completion for Stateful Agent Handoffs12 Sep 2026
- 2026When Should Service Agents Reconsider? Difficulty-Routed Control in Customer-Service Operations1 Jul 2026
- 2026LemonHarness Technical Report23 Jun 2026
- 2026Efficient and Sound Probabilistic Verification for AI Agents18 Jun 2026
- 2026Bounded Autonomy for Enterprise AI: Typed Action Contracts and Consumer-Side Execution16 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2024GuardAgent: Safeguard LLM Agents by a Guard Agent via Knowledge-Enabled Reasoning
- 2026Symbolic Temporal Supervision of LLM Agents Using Contracts
- 2026Safe Multi-Agent Behavior Must Be Maintained, Not Merely Asserted: Constraint Drift in LLM-Based Multi-Agent Systems
- 2023Plug in the Safety Chip: Enforcing Constraints for LLM-driven Robot Agents
- 2026SafeAgent: A Runtime Protection Architecture for Agentic Systems
- 2026ActGov: Governing LLM Agent Actions via Policy-Constrained Validation
- 2026Towards Verifiably Safe Tool Use for LLM Agents
- 2026AgentFlow: A Flow-Centric Policy Language and Framework for Securing LLM Agent Systems