Alloy Analyzer
alloytools.org
- Free plan
- Windows
- macOS
- Linux
- API
What Alloy Analyzer is
Alloy Analyzer explores models written in the Alloy language by searching for structures that meet constraints or counterexamples to properties. Models can represent systems of structures that change over time, such as security configurations or switching network topologies. The Analyzer displays results as graphical structures, with appearances that can be customized for a particular domain. Alloy 6 adds mutable state, temporal logic, and temporal model checking. That checking depends on NuSMV or nuXmv, which users must install and make available in PATH. The self-contained executable includes the Pardinus/Kodkod model finder, SAT solvers, the standard Alloy library, tutorial examples, and source code. The same JAR can be embedded in another application as an API. Sterling provides a web-based visualizer with graph and table views that can be customized and extended with JavaScript. The project is free and available for Linux, macOS, and Windows. It is maintained by volunteers, with Discourse as its main discussion venue and Stack Overflow for precise questions monitored by developers.
Who it suits
Alloy Analyzer suits people who need to model constrained systems and look for counterexamples, including security configurations. It is also relevant to developers who want to embed the JAR as an API.
Good to know, and what to watch
- Finds structures satisfying constraints and counterexamples.
- Graphical results can be customized for a domain.
- Self-contained executable includes solvers and tutorial examples.
- JAR can be embedded as an API.
- Free on Linux, macOS, and Windows.
- Temporal model checking requires NuSMV or nuXmv installed separately.
- The project is maintained by volunteers.
Plans
Every plan and priceAlloy Analyzer
Free plan
Getting started
- Open the Alloy website
- Download the self-contained executable for Linux, macOS, or Windows
- Write models in the Alloy language
- Run the Analyzer to explore structures and counterexamples
- Install NuSMV or nuXmv and place it in PATH for temporal model checking
- Use the JAR in another application or open models in Sterling for web-based views
Limits to check
The free Alloy Analyzer plan is free. Temporal model checking depends on NuSMV or nuXmv being installed by the user and available in PATH.
The verdict
Alloy Analyzer provides a free way to explore constrained models, with graphical results and an embeddable API. Users seeking temporal model checking must arrange the required external tool themselves.
Questions people ask
What does Alloy Analyzer verify?
It checks Alloy models against constraints and can find structures that satisfy them or counterexamples to properties. It supports invariant verification.
Which platforms are supported?
The project lists API, Linux, macOS, and Windows support.
Is Alloy Analyzer free?
Yes. The listed Alloy Analyzer plan is free, and the project is open source.
Can it analyze systems that change over time?
Yes. Alloy models can describe evolving structures, and Alloy 6 adds mutable state, temporal logic, and temporal model checking.
What is Sterling?
Sterling is a web-based Alloy visualizer with graph and table views that can be customized and extended with JavaScript.
What the maker publishes
- API
- The same JAR file can be incorporated into other applications to use Alloy as an API. source
- Applications
- The project links applications including Alloy*, a Ruby embedding, a bounded Java verifier, and a firewall security policy analyzer. source
- Bundled components
- The self-contained executable includes the Pardinus/Kodkod model finder, SAT solvers, the standard Alloy library, tutorial examples, and source code. source
- Community support
- The project is maintained by volunteers, with Discourse as its main discussion venue and Stack Overflow as the venue for precise questions monitored by developers. source
- Modeling
- Alloy models describe sets of structures that may evolve over time, such as security configurations or switching network topologies. source
- Origin
- Alloy was created in MIT's Software Design Group. source
- Platforms
- The download page identifies Alloy 6.2.0 and says it includes a version for macOS High Sierra; it also describes running the JAR with Java. source
- Purpose
- Alloy is a language for describing evolving structures, and the Alloy Analyzer explores models by finding structures that satisfy constraints or counterexamples to properties. source
- Release
- The site lists Alloy 6.2.0 as the latest release, dated 2025-01-09. source
- Security use
- The project says Alloy has been used to find holes in security mechanisms and describes modeling security configurations of web applications as an example. source
- Temporal analysis
- Alloy 6 adds mutable state, temporal logic, and temporal model checking; the latter relies on NuSMV or nuXmv installed by the user and available in PATH. source
- Visualization
- The Analyzer displays structures graphically, and their appearance can be customized for the domain. source
- Visualizer extension
- Sterling is a web-based Alloy visualizer customizable and extendable with JavaScript, with graph and table views. source
Checked against the maker's pages on 4 Oct 2026.