mlsanityData to 7 Oct 2026

Enforcing Temporal Constraints for LLM Agents

arXiv 2512.23738 ↗First posted 25 Dec 2025cs.PL cs.AI cs.FLcited by 31

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

  1. 2025Progent: Securing AI Agents with Privilege Control16 Apr
  2. 2025AgentSpec: Customizable Runtime Enforcement for Safe and Reliable LLM Agents24 Mar
  3. 2025Commercial LLM Agents Are Already Vulnerable to Simple Yet Dangerous Attacks12 Feb
  4. 2024AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agents11 Oct
  5. 2024ST-WebAgentBench: A Benchmark for Evaluating Safety and Trustworthiness in Web Agents9 Oct

Other references · 23

  1. 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,280
  2. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
  3. 2024A Survey on Large Language Models for Code Generationcited by 646
  4. 2023Prompt Injection attack against LLM-integrated Applicationscited by 568
  5. 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attackscited by 450
  6. 2024ShieldGemma: Generative AI Content Moderation Based on Gemmacited by 224
  7. 2023Large Language Models in Finance: A Surveycited by 223
  8. 2024Jailbreak Attacks and Defenses Against Large Language Models: A Surveycited by 215
  9. 2023Efficient Guided Generation for Large Language Modelscited by 192
  10. 2023Sequential Monte Carlo Steering of Large Language Models using Probabilistic Programscited by 79
  11. 2024XGrammar: Flexible and Efficient Structured Generation Engine for Large Language Modelscited by 73
  12. 2024Automata-based constraints for language model decodingcited by 49
11 more
  1. 2023Bypassing the Safety Training of Open-Source LLMs with Priming Attackscited by 48
  2. 2025Syntactic and Semantic Control of Large Language Models via Sequential Monte Carlocited by 45
  3. 2024eCeLLM: Generalizing Large Language Models for E-commerce from Large-scale, High-quality Instruction Datacited by 44
  4. 2025CRANE: Reasoning with constrained LLM generationcited by 38
  5. 2022Validating Large Language Models with ReLMcited by 33
  6. 2024Cedar: A New Language for Expressive, Fast, Safe, and Analyzable Authorization (Extended Version)cited by 31
  7. 2024IterGen: Iterative Semantic-aware Structured LLM Generation with Backtrackingcited by 28
  8. 2025Security Concerns for Large Language Models: A Surveycited by 26
  9. 2025Refining Input Guardrails: Enhancing LLM-as-a-Judge Efficiency Through Chain-of-Thought Fine-Tuning and Alignmentcited by 14
  10. 2025RefineStat: Efficient Exploration for Probabilistic Program Synthesiscited by 5
  11. 2025Quasar: A Programming Language Specialized for LLM Code Actionscited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 31.

31 papers.

Sort:

By area:

  1. 2026Agent Behavioral Contracts: Formal Specification and Runtime Enforcement for Reliable Autonomous AI Agentscited by 18
  2. 2026SEVerA: Verified Synthesis of Self-Evolving Agentscited by 6
  3. 2026Confidence over Time: Confidence Calibration with Temporal Logic for Large Language Model Reasoningcited by 3
  4. 2026Stable Agentic Control: Tool-Mediated LLM Architecture for Autonomous Cyber Defensecited by 3
  5. 2026Preventing Premature Commitment in Coding Agents with an Evidence-Conditioned Execution Layercited by 3
  6. 2026Teaching LLMs to Ask: Self-Querying Category-Theoretic Planning for Under-Specified Reasoningcited by 2
  7. 2026LemonHarness Technical Reportcited by 2
  8. 2026When Should Service Agents Reconsider? Difficulty-Routed Control in Customer-Service Operationscited by 2
  9. 2026Toward Safe LLM Agents: A Survey of Specification, Verification, and Enforcementcited by 2
  10. 2026Bounded Autonomy for Enterprise AI: Typed Action Contracts and Consumer-Side Executioncited by 1
  11. 2026Don't Make Models Guess Security and Safety: Symbolic Guardrails for Domain-Specific AI Agentscited by 1
  12. 2026Alignment Contracts for Agentic Security Systemscited by 1
19 more
  1. 2026Position: A Three-Layer Probabilistic Assume-Guarantee Architecture Is Structurally Required for Safe LLM Agent Deploymentcited by 1
  2. 2026Causal Past Logic for Runtime Verification of Distributed LLM Agent Workflowscited by 1
  3. 2026Efficient and Sound Probabilistic Verification for AI Agentscited by 1
  4. 2026NEXUS: Structured Runtime Safety for Tool-Using LLM Agentscited by 1
  5. 2026GuardianAgentBench: Where Agents Fail and How to Guard Themcited by 1
  6. 2026What Can Be Enforced? A Theory of Certified Runtime Safety for Tool-Using Agentscited by 1
  7. 2026COVENANT: Natural-Language Workflow Compilation for Aligned Agent Executioncited by 1
  8. 2026Securing Agentic AI: From Per-Action Checks to Trajectory Assurancecited by 1
  9. 2026Harness as an Asset: Enforcing Determinism via the Convergent AI Agent Framework (CAAF)cited by 0
  10. 2026The Chronos Vulnerability: A Taxonomy of Temporal Persistence and Memory-Based Deception in Agentic AIcited by 0
  11. 2026Why Formal Monitors Fail: Attack Distribution Entropy as a Coverage Bound for LTL-Based LLM Agent Safetycited by 0
  12. 2026Formal Verification of Agentic Systems over Operational Datacited by 0
  13. 2026Stateful CARS: Exact Cross-History Reuse for Policy-Constrained LLM Agentscited by 0
  14. 2026AI Guardrail Survival under Single-Cycle Agentic Self-Summarizationcited by 0
  15. 2026Natural-Language Workflows Are Not Software Yet: Artifact-Driven Compilation for Reliable Agent Executioncited by 0
  16. 2026Reassembling Distributed Risk: Trajectory-Conditioned Action Generation for Multi-Turn Agent Safetycited by 0
  17. 2026Do Not Restart: Residual Completion for Stateful Agent Handoffscited by 0
  18. 2026Toward Secure AI-Powered Penetration Testing Agents: Security Threats, Guardrails, and Architectural Perspectivescited by 0
  19. 2026Agents as Software: A Programming Languages Agenda for Agent Reliabilitycited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024GuardAgent: Safeguard LLM Agents by a Guard Agent via Knowledge-Enabled Reasoning
  2. 2026Symbolic Temporal Supervision of LLM Agents Using Contracts
  3. 2026Safe Multi-Agent Behavior Must Be Maintained, Not Merely Asserted: Constraint Drift in LLM-Based Multi-Agent Systems
  4. 2023Plug in the Safety Chip: Enforcing Constraints for LLM-driven Robot Agents
  5. 2026SafeAgent: A Runtime Protection Architecture for Agentic Systems
  6. 2026ActGov: Governing LLM Agent Actions via Policy-Constrained Validation
  7. 2026Towards Verifiably Safe Tool Use for LLM Agents
  8. 2026AgentFlow: A Flow-Centric Policy Language and Framework for Securing LLM Agent Systems