Computer Science > Software Engineering
Title:Agentic Model Checking
Abstract:Verifying large software systems is difficult. Formal specifications are rarely available, and the assumptions that code relies on are often encoded implicitly at call sites rather than enforced at function boundaries. This paper presents agentic model checking, a verification scheme that combines LLM agents with bounded model checking (BMC) under the principle that agents propose, solvers verify: agents perform semantic reasoning such as specification inference and verification planning, while the formal backend checks the resulting bounded verification queries. We realize this scheme in BMC-Agent, an agentic verification system built on an off-the-shelf bounded model checker. The key contribution of this paper is agentic orchestration of the model checker. Rather than fixing a single verification recipe, BMC-Agent plans how bounded model checking should be applied to each verification task. It infers function specifications, configures the verification task, decomposes the analysis using specification-constrained stubs, validates counterexamples through deterministic checks and replay, and iteratively refines specifications in response to spurious witnesses. This orchestration enables the same BMC engine to scale from individual functions to large software systems, preserving solver-backed verification. We evaluate BMC-Agent on LLM-generated operating-system and compiler code, standard verification benchmarks, and mature OSS-Fuzz-hardened libraries. Across these workloads, BMC-Agent discovers confirmed defects in heavily tested software and produces bounded verification results without requiring manually written specifications. These results demonstrate that agentic orchestration substantially extends the practical scalability of bounded model checking for real-world software.
| Comments: | Camera-ready version for ICSE 2027. This revision updates the abstract, reorganizes the manuscript, expands the evaluation, and updates the author list |
|---|---|
| Subjects: | Software Engineering (cs.SE) |
| Cite as: | arXiv:2605.21434 [cs.SE] |
| (or arXiv:2605.21434v2 [cs.SE] for this version) | |
| https://doi.org/10.48550/arXiv.2605.21434 arXiv-issued DOI via DataCite |
Submission history
Access Paper:
- HTML (experimental)
Additional Features
- Audio Summary
Current browse context:
References & Citations
- Google Scholar
- Semantic Scholar
BibTeX formatted citation
Bookmark
Bibliographic and Citation Tools
Code, Data and Media Associated with this Article
Demos
Recommenders and Search Tools
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.