← heapsort
RESEARCH60

Lean4Agent: Formal Modeling and Verification for Agent Workflow and Trajectory

arXiv CS.AIΒ·June 8, 2026

The paper introduces Lean4Agent, a framework utilizing Lean4 for formal modeling and verification of agent behavior, particularly for LLM-driven multi-step workflows. It addresses the absence of formal methods in current agent systems by allowing semantic consistency checks and enabling the localization of execution-time failures.

Read original β†—