Skip to content
English

Switch theme

arXiv 2611.02332 · cs.AI · 2026-11-02

LEANGUARD: Lean-Verified Guardrails for Tool-Using Agents

Sreehari Sankar, Debargha Ganguly, Vikash Singh, Mohsen Hariri, Weicong Chen, Yanyan Zhang, Shouren Wang, Wang Yang and 12 more

Case Western Reserve University

In latest · #352 Added on 2026-11-06

One-line takeaway

LEANGUARD enforces policy compliance at runtime using Lean4, preventing forbidden tool calls and reducing prompt injection attacks without compromising task success.

LEANGUARD 在工具使用代理的运行时中引入基于 Lean4 的政策验证,确保所有工具调用符合安全策略,实现零违规执行,并通过反馈或证明引导修复有效降低攻击成功率。

Key points

LEANGUARD is a runtime system that verifies every tool call in language model agents against formal policies written in Lean4. Policies use state predicates and temporal operators over execution history, with provable equivalence to LeanLTL semantics. The system handles violations via feedback or proof-guided repair, achieving zero forbidden calls on Tau-Bench and reducing prompt injection attacks from 57.9% to 5.9% on DTap.

  • LEANGUARD verifies tool calls against formal policies in Lean4 using temporal logic over execution history.
  • Policy evaluation is fail-closed and semantically equivalent to LeanLTL, with formal proof of correctness.
  • Feedback and proof-guided repair allow safe, intent-preserving edits to blocked calls with median repair time of 2ms.
  • On Tau-Bench and DTap, LEANGUARD eliminates forbidden actions and reduces prompt injection attacks significantly.

Written only from the official arXiv abstract by an open-source model, then checked automatically (every number and name must appear in the abstract). The paper is authoritative.

12HF upvotes
9GitHub stars
0Citations (Semantic Scholar)
33.0Buzz score

Read on arXiv PDF Hugging Face discussion Code

Related papers

About this data

Metadata from the arXiv API (verified); upvotes from Hugging Face Daily Papers; citations from Semantic Scholar. Last refreshed 2026-11-30.

The takeaway is written by AIMap from the abstract; the abstract itself is not reproduced — read the original.

Data updated: Latest AI papers(UTC+8)