SpecMAS: A Multi-Agent System for Self-Verifying System Generation via Formal Model Checking

Rishabh Agrawal, K. Ranade, Aja Khanal, Kalyan S. Basu, Apurva Narayan
1/1/2025

No confident code implementation found for this paper.

Abstract

We present SpecMAS, a novel multi-agent system that autonomously constructs and formally verifies executable system models from natural language specifications. Given a Standard Operating Procedure (SOP) describing a target system, SpecMAS parses the specification, identifies relevant operational modes, variables, transitions, and properties, and generates a formal model in NuSMV code syntax, an industry-standard symbolic model checker.

Show full abstract

A dedicated reasoning agent extracts both explicit and implicit properties from the SOP, and verification is performed via temporal logic model checking. If any properties fail to verify, an autonomous debugging agent analyzes counterexamples and iteratively corrects the model until all properties are satisfied. This closed-loop system design guarantees provable correctness by construction and advances the state of the art in automated, inter-pretable, and deployable verification pipelines. We demonstrate the generality, correctness, and practical feasibility of SpecMAS across a set of representative case studies and propose a new benchmark dataset for the evaluation and comparison of model checking performance. We release our code and benchmark dataset github.com/Idsl-group/SpecMAS.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{agrawal2025specmas,
  title  = {SpecMAS: A Multi-Agent System for Self-Verifying System Generation via Formal Model Checking},
  author = {Rishabh Agrawal and K. Ranade and Aja Khanal and Kalyan S. Basu and Apurva Narayan},
  year   = {2025},
  doi    = {10.52202/085713-2266},
  url    = {https://doi.org/10.52202/085713-2266},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/7fccaa983465a1d3186a9b7ebcdb5e56ea135b1d.svg)](https://codeofpaper.com/paper/7fccaa983465a1d3186a9b7ebcdb5e56ea135b1d)

Discussion