MENTOR: Procedural Shielding of Tool-Using LLM Agents
On the map: LLM agents and tool use → Software engineering coding agents also fits: Tool learning and function calling
Abstract (arXiv)
Tool-using LLM agents are increasingly used to automate workflows governed by procedural manuals, such as company rules for booking travel or procuring hardware. These manuals are written in natural language for humans and describe general requirements over such complex workflows. Ensuring compliance of LLM agents with these manuals is difficult, and state-of-the-art techniques use either LLM judges or manually written rules to forbid problematic tool-calls locally at runtime. This is insufficient because (i) only blocking tool calls keeps the agent clueless about how to make correct progress towards fulfilling its task, and (ii) can lead to overly conservative behavior of the agent, as tool calls might only be problematic in certain contexts. To overcome these challenges, we introduce MENTOR, which (i) additionally provides guidance for the agent to make procedural-compliant progress on the task, and (ii) ensures that this compliance is context-aware. We achieve these goals by building a novel history-dependent runtime shield that is obtained from the procedural manual via a multi-step autoformalization pipeline. At its core, MENTOR utilizes a game-based technique to ensure robustness against runtime uncertainty without over-resticting agents' behavior. This yields a formally assisted framework for procedural shielding of LLM agents that improves compliance well beyond existing methods. In particular, MENTOR lifts the compliance of shielded light-weight open-source LLMs above that of non-shielded proprietary models. Since a shield is synthesized once per manual and then serves every task, a MENTOR-shielded agent becomes a viable choice for repeatedly executed workflows, potentially reducing deployment costs when the offline construction cost is amortized over repeated tasks.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 24 of its 41 references that are in the map. First posted on arXiv 12 Oct 2026.
Builds on
24 of 41 references.
References · 24
- 2025τ2-Bench: Evaluating Conversational Agents in a Dual-Control Environmentcited by 627
- 2025AgentSpec: Customizable Runtime Enforcement for Safe and Reliable LLM Agentscited by 223
- 2025Progent: Securing AI Agents with Privilege Controlcited by 141
- 2023The Safety Filter: A Unified View of Safety-Critical Control in Autonomous Systemscited by 88
- 2023nl2spec: Interactively Translating Unstructured Natural Language to Temporal Logics with Large Language Modelscited by 60
- 2023NL2TL: Transforming Natural Languages to Temporal Logics using Large Language Modelscited by 59
- 2023Grounding Complex Natural Language Commands for Temporal Tasks in Unseen Environmentscited by 53
- 2025PathFinder: A Multi-Modal Multi-Agent System for Medical Diagnostic Decision-Making Applied to Histopathologycited by 39
- 2025Enforcing Temporal Constraints for LLM Agentscited by 34
- 2025SOPBench: Evaluating Language Agents at Following Standard Operating Procedures and Constraintscited by 23
- 2025SOP-Bench: Complex Industrial SOPs for Evaluating LLM Agentscited by 23
- 2025DynaGuard: A Dynamic Guardian Model With User-Defined Policiescited by 19
12 more
- 2026Solver-Aided Verification of Policy Compliance in Tool-Augmented LLM Agentscited by 16
- 2022Correct-by-Construction Runtime Enforcement in AI -- A Surveycited by 12
- 2025ConformalNL2LTL: Translating Natural Language Instructions into Temporal Logic Formulas with Conformal Correctness Guaranteescited by 11
- 2026Reason Less, Verify More: Deterministic Gates Recover a Silent Policy-Violation Failure Mode in Tool-Using LLM Agentscited by 10
- 2025A Neurosymbolic Approach to Natural Language Formalization and Verificationcited by 9
- 2025Bridging Natural Language and Formal Specification--Automated Translation of Software Requirements to LTL via Hierarchical Semantics Decomposition Using LLMscited by 9
- 2022Little Tricky Logic: Misconceptions in the Understanding of LTLcited by 7
- 2026MANTRA: Synthesizing SMT-Validated Compliance Benchmarks for Tool-Using LLM Agentscited by 4
- 2023Synthesizing Permissive Winning Strategy Templates for Parity Gamescited by 3
- 2026PolicyGuide: From Guarding One Action to Guiding the Whole Workflow for Policy-Compliant LLM Agentscited by 3
- 2026Autoformalization of Agent Instructions into Policy-as-Codecited by 2
- 2025Follow the STARs: Dynamic ω-Regular Shielding of Learned Policiescited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026AgentLTL: A Trace-Verification Framework for Measuring, Enforcing, and Training Procedural Compliance in Tool-Using LLM Agents
- 2026SkillSentry: Reliable Skill Execution for LLM Agents via Runtime Assurance
- 2026Formal Skill: Programmable Runtime Skills for Efficient and Accurate LLM Agents
- 2025More Vulnerable than You Think: On the Stability of Tool-Integrated LLM Agents
- 2026Learning to Rewrite Tool Descriptions for Reliable LLM-Agent Tool Use
- 2025LLM Agents Making Agent Tools
- 2026Toollery: Scaling LLM Agents to Thousands of Skills and Tools
- 2026The Verifier Tax: Horizon Dependent Safety Success Tradeoffs in Tool Using LLM Agents