Specula: Scaling formal specifications for autonomous model checking of system code
Not on the map. Why?
Abstract (arXiv)
Specula is a push-button agentic system that generates high-quality formal specifications for large, complex system code and uses the specifications for highly effective model checking and bug finding. Specula employs large language model (LLM) based coding agents to autonomously develop TLA+ specifications, including invariants that describe correctness properties of the target system and formal models that describe the system implementation with the right level of abstractions. Specula is fully autonomous and thus eliminates the barrier of applying formal methods to real-world system code (as in traditional human-centric approaches). Meanwhile, Specula addresses limitations of LLM-driven techniques like reward hacking and hallucinations through self-evolving loops that iteratively improve specification quality by enabling the agents to deepen their understanding of system code and its behaviors. We have used Specula to check 48 open-source system projects; Specula found 249 bugs including many deep bugs that are hard to find by existing approaches. Specula has been used by several companies and is maintained at https://github.com/specula-org/Specula.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 31 of its 57 references that are in the map. First posted on arXiv 28 Jul 2026.
Builds on
31 of 57 references.
References · 31
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2022Survey of Hallucination in Natural Language Generationcited by 2,075
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2022Scaling Laws for Reward Model Overoptimizationcited by 1,095
- 2023Teaching Large Language Models to Self-Debugcited by 988
- 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 867
- 2024Hallucination is Inevitable: An Innate Limitation of Large Language Modelscited by 332
- 2022The Effects of Reward Misspecification: Mapping and Mitigating Misaligned Modelscited by 328
- 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 232
- 2022Practical Program Repair in the Era of Large Pre-trained Language Modelscited by 133
19 more
- 2023nl2spec: Interactively Translating Unstructured Natural Language to Temporal Logics with Large Language Modelscited by 60
- 2024Enchanting Program Specification Synthesis by Large Language Models using Static Analysis and Program Verificationcited by 58
- 2024SpecGen: Automated Generation of Formal Program Specifications via Large Language Modelscited by 53
- 2026Numina-Lean-Agent: An Open and General Agentic Reasoning System for Formal Mathematicscited by 50
- 2024AutoVerus: Automated Proof Generation for Rust Codecited by 49
- 2025From Informal to Formal -- Incorporating and Evaluating LLMs on Natural Language Requirements to Verifiable Formal Proofscited by 18
- 2026DafnyPro: LLM-Assisted Automated Verification for Dafny Programscited by 11
- 2025Agentic Verification of Software Systemscited by 6
- 2026FM-Agent: Scaling Formal Methods to Large Systems via LLM-Based Hoare-Style Reasoningcited by 6
- 2024Validating Traces of Distributed Programs Against TLA+ Specificationscited by 5
- 2026KVerus: Scalable and Resilient Formal Verification Proof Generation for Rust Codecited by 5
- 2025Integrating Symbolic Execution with LLMs for Automated Generation of Program Specificationscited by 4
- 2019The TLA+ Toolboxcited by 3
- 2026Event-B Agent: Towards LLM Agent for Formal Model Synthesis and Repaircited by 3
- 2022Understanding Inconsistency in Azure Cosmos DB with TLA+cited by 2
- 2024Autobahn: Seamless high speed BFTcited by 2
- 2024Multi-Grained Specifications for Distributed System Model Checking and Verificationcited by 2
- 2022Compositional Model Checking of Consensus Protocols Specified in TLA+ via Interaction-Preserving Abstractioncited by 1
- 2026Trace Validation of Unmodified Concurrent Systems with OmniLinkcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Agentic Separation Logic Specification Synthesis
- 2026Verus-SpecGym: An Agentic Environment for Evaluating Specification Autoformalization
- 2026SpecBench: Evaluating Specification-Level Reasoning for Software Engineering LLM Agents
- 2024SpecRover: Code Intent Extraction via LLMs
- 2025ALMAS: an Autonomous LLM-based Multi-Agent Software Engineering Framework
- 2026The Spec Growth Engine: Spec-Anchored, Code-Coupled, Drift-Enforced Architecture for AI-Assisted Software Development
- 2024Specifications: The missing link to making the development of LLM systems an engineering discipline
- 2026SDAD: Spec-Driven Agentic Development for the AI-Native SDLC