Soteria: Formally Verified Planning with Runtime Enforcement for Safe LLM Agents
Mike He, Ankush Desai, Sharad Malik, Aarti Gupta
Abstract
LLM agents that execute multi-step tool calls must satisfy two objectives simultaneously: completing the user's task (utility) and conforming to domain policies and correctness constraints (safety). These objectives are in tension -- blocking an unsafe action prevents a violation but can leave the agent stranded with no principled way to recover. Existing approaches sacrifice one objective for the other. We introduce Soteria, a framework that reconciles safety and utility through verified hierarchical planning and runtime enforcement of specifications. Before execution, the agent generates a structured plan that is formally verified against the specifications prior to any tool invocation. During execution, the verified plan serves dual roles: it ensures that the agent takes specification-conformant trajectories and provides guidance when unsafe actions are blocked. Across multiple benchmarks covering a diverse range of tool-use tasks, Soteria achieves 1.7 times the average task success rate of the best baselines, with no violations of policy specifications, demonstrating that safety and utility need not be traded off.
Create a lesson
Related papers
MetaRigor: From Agentic Automation to Verifiable End-to-End Meta-Analysis Through Scientific Decision Boundaries
Shared title terminology · Yifeng Xie, Chenke Li, Yangshuo Miao et al.
Learning Inside Types: Epistemic Typestates for Safe Multi-Agent Reinforcement Learning
Shared title terminology · Lorenzo Bacchiani, Mario Bravetti, Giovanni Pau et al.
HookEvo: A Framework for Coordinated Plugin Evolution on Hook-Enabled Agent Runtimes
Shared title terminology · Shengze Huang, Yanyu Mao, Xiaofei Yu et al.
Keep the Process, Change the Supplier: Runtime Governance for Tool-Using AI Agents
Shared title terminology · Deepak Waghmare, Shaad Sufi
Safe Resemblance, Silent Propagation: Limits of Text-Similarity Guardrails for AI Agent Safety
Shared title terminology · Charles Xiao
Turing Agent: Agentic Formal Verification for Mathematical Research
Shared title terminology · Yang Chen, Qianyi Wang, Ronghui Yang et al.