mlsanityData to 24 Nov 2026

LEANGUARD: Lean-Verified Guardrails for Tool-Using Agents

arXiv 2611.02332 ↗Submitted 2 Nov 2026cs.AI cs.CLcited by 0

On the map: LLM agents and tool use → Tool learning and function calling

also in 1 more
Abstract (arXiv)

Tool-using language-model agents often execute actions that their domain policies forbid. We present LeanGuard, a runtime that checks every proposed tool call against a policy written in Lean4 before the call reaches the environment. Policies combine state predicates with scoped past-time temporal operators over the execution history, evaluation is fail-closed, and the decision procedure is proved equivalent to a LeanLTL semantics. A denied call can be corrected in two ways. With feedback, the agent receives the violated rule and a hint; with proof-guided repair, Lean metaprogramming searches for a nearby call that preserves the user's intent and proves that the policy admits it, without the model. On Tau-Bench with five Qwen models (0.8B-27B), unguarded agents execute at least 33 calls that the Lean policy forbids, while LeanGuard executes none; with feedback, task success does not change significantly. On DTap, LeanGuard reduces direct prompt-injection success from 57.9% to 5.9%, and in telecom, where benign tasks need no writes, benign success is unchanged. Feedback reduces repeated blocked calls and raises task success for four of five models over a bare denial. On replayed denials, repair proves an admissible edit for 88 of 252 denials caused by argument values, in a median of 2,ms.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Tool learning and function calling, one of 16 directions in LLM agents and tool use. Builds on 33 of its 40 references that are in the map. Submitted 2 Nov 2026.

Builds on

33 of 40 references.

References · 33

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 15,591
  2. 2022Flow Matching for Generative Modelingcited by 6,518
  3. 2022Classifier-Free Diffusion Guidancecited by 6,251
  4. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,487
  5. 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flowcited by 4,131
  6. 2022InstructPix2Pix: Learning to Follow Image Editing Instructionscited by 2,715
  7. 2025Emerging Properties in Unified Multimodal Pretrainingcited by 1,003
  8. 2023Scaling Vision Transformers to 22 Billion Parameterscited by 720
  9. 2025Phi-4-Mini Technical Report: Compact yet Powerful Multimodal Language Models via Mixture-of-LoRAscited by 613
  10. 2024Transfusion: Predict the Next Token and Diffuse Images with One Multi-Modal Modelcited by 542
  11. 2024Mixture-of-Transformers: A Sparse and Scalable Architecture for Multi-Modal Foundation Modelscited by 195
  12. 2024LMFusion: Adapting Pretrained Language Models for Multimodal Generationcited by 132
21 more
  1. 2023Adapting Frechet Audio Distance for Generative Music Evaluationcited by 101
  2. 2023Natural Language Supervision for General-Purpose Audio Representationscited by 78
  3. 2024BAT: Learning to Reason about Spatial Sounds with Large Language Modelscited by 47
  4. 2024Both Ears Wide Open: Towards Language-Driven Spatial Audio Generationcited by 27
  5. 2025FLAM: Frame-Wise Language-Audio Modelingcited by 26
  6. 2024Can Large Language Models Understand Spatial Audio?cited by 22
  7. 2025ViSAGe: Video-to-Spatial Audio Generationcited by 16
  8. 2024ImmerseDiffusion: A Generative Spatial Audio Latent Diffusion Modelcited by 14
  9. 2025OWL: Geometry-Aware Spatial Reasoning for Audio Large Language Modelscited by 14
  10. 2025UALM: Unified Audio Language Model for Understanding, Generation and Reasoningcited by 13
  11. 2024PSELDNets: Pre-trained Neural Networks on a Large-scale Synthetic Dataset for Sound Event Localization and Detectioncited by 11
  12. 2025Sci-Phi: A Large Language Model Spatial Audio Descriptorcited by 11
  13. 2026PhaseCoder: Microphone Geometry-Agnostic Spatial Audio Understanding for Multimodal LLMscited by 11
  14. 2026Spatial-Omni: Spatial Audio Understanding Integration in Multimodal LLMs via FOA Encodingcited by 11
  15. 2026Bagpiper: Solving Open-Ended Audio Tasks via Rich Captionscited by 7
  16. 2026AudioChat: Unified Audio Storytelling, Editing, and Understanding with Transfusion Forcingcited by 7
  17. 2022Echo-aware Adaptation of Sound Event Localization and Detection in Unknown Environmentscited by 5
  18. 2025Generating Moving 3D Soundscapes with Latent Diffusion Modelscited by 2
  19. 2026UAT: Unified Audio-Text Diffusion for Audio Generation, Editing, and Captioningcited by 2
  20. 2024Compression of Higher Order Ambisonics with Multichannel RVQGANcited by 1
  21. 2026Sensitivity Analysis of Generative Spatial Audio Metrics: A Study on Responsiveness, Smoothness, and Symmetrycited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Guardrails as Infrastructure: Policy-First Control for Tool-Orchestrated Workflows
  2. 2026Least-Privilege Auditing of Agent Tool Calls with Intent Graphs and Reasoning-Guided Escalation
  3. 2026What Can Be Enforced? A Theory of Certified Runtime Safety for Tool-Using Agents
  4. 2026Stale Does Not Mean Unsafe: Guard Precision for Tool-Using LLM Agents under Infrastructure State Races
  5. 2026ToolMisuseBench: An Offline Deterministic Benchmark for Tool Misuse and Recovery in Agentic Systems
  6. 2026From Natural Language Policies to Executable Obligations: A Verification Harness for Dependable In-Car LLM Agents
  7. 2026Loud Failures, Quiet Failures: Fault Detection and Recovery in Tool-Using Language Model Agents
  8. 2026AgentProcessBench: Diagnosing Step-Level Process Quality in Tool-Using Agents