FM Meets AI: Equipping AI Agents with Formal-Methods Tools
Open Access
- 17 October 2026
- book chapter
- Published by Springer Nature
- p. 111-126
Abstract
AI agents take an increasing role in software development, speeding up code generation and lowering the barrier to advanced technologies. At the same time, AI-generated code can be subtly wrong, violating safety properties or missing edge cases. Formal-methods tools offer rigorous correctness checks, but they have remained out of reach for AI agents: setting them up and invoking them correctly required expertise in formal methods. To close this gap, we introduce agent skills that provide AI agents such as Claude Code with the ability to list available formal-methods tools, automatically select the best-ranked tool for a given task, invoke it in an isolated container environment, and interpret the result—all without manual setup. The skills expose structured tool data from the FM-Tools Catalog and competition results from SV-COMP and Test-Comp, giving AI agents direct access to over 60 verifiers and 20 test generators and the results of their comparative evaluation. We demonstrate the approach on five use cases and measure the token and cost benefits in two of them.Keywords
This publication has 36 references indexed in Scilit:
- Software Verification Witnesses 2.02024
- FM-Weck: Containerized Execution of Formal-Methods Tools2024
- State of the Art in Software Verification and Witness Validation: SV-COMP 20242024
- nl2spec: Interactively Translating Unstructured Natural Language to Temporal Logics with Large Language Models2023
- CoVeriTeam: On-Demand Composition of Cooperative Verification Systems2022
- FuSeBMC: An Energy-Efficient Test Generator for Finding Security Vulnerabilities in C Programs2021
- The 2020 Expert Survey on Formal Methods2020
- PredatorHP Revamped (Not Only) for Interval-Sized Memory Regions and Memory Reallocation (Competition Contribution)2020
- Software Components: Only the Giants Survive2006
- Little Engines of Proof2002