Enforcing Temporal Constraints for LLM Agents
Adharsh Kamath, Sishen Zhang, Calvin Xu, Shubham Ugare, Gagandeep Singh, Sasa Misailovic

TL;DR
This paper introduces Agent-C, a framework that enforces formal temporal safety constraints on LLM agents during runtime, ensuring they adhere to specified sequences of actions in safety-critical applications.
Contribution
Agent-C provides a novel domain-specific language, formal verification via SMT solving, and constrained generation techniques to guarantee temporal safety properties in LLM agents.
Findings
Achieves 100% conformance in safety-critical tasks
Improves safety and utility over state-of-the-art guardrails
Enhances reliability of LLM agents in real-world applications
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsFormal Methods in Verification · Multi-Agent Systems and Negotiation · Logic, Reasoning, and Knowledge
