Allegro
A strictly local architecture that scales to very large systems.
Tool 050 of 100 in the MolForge directory of open-source tools. Every fact below was read from the repository's host on 2026-11-28.

What Allegro is
Allegro is a machine-learned interatomic potential architecture from the Kozinsky group, implemented as an extension of the NequIP framework. Like NequIP it is E(3)-equivariant, so its features transform correctly under rotation and reflection. Its defining choice is strict locality: the energy of each atom is computed from its own neighbourhood within a cutoff, through learned many-body equivariant features of atom pairs, without passing messages between atoms. No information therefore travels beyond the cutoff radius.
Allegro models are trained with the same YAML configuration and nequip-train command as NequIP, from extended XYZ data with DFT energies, forces and stresses, and compiled to TorchScript for deployment. The main target is LAMMPS through pair_allegro, which supports Kokkos GPU execution and multi-GPU domain decomposition. Because an atom never needs information from atoms outside its cutoff, each domain can be evaluated independently, which is what allows simulations of very large systems across many GPUs. An ASE calculator serves smaller Python workflows.
Allegro is a training framework, not a pre-trained potential, and the strict locality means long-range effects beyond the cutoff must be handled by other means.
Features
- Strictly local E(3)-equivariant architecture without inter-atomic message passing
- Learned many-body features of atom pairs within a cutoff
- Trained through the NequIP framework with the same configuration files
- TorchScript deployment and pair_allegro for LAMMPS
- Kokkos GPU support and multi-GPU domain decomposition in LAMMPS
- ASE calculator interface for Python workflows
What it is for
- Simulate very large atomistic systems across many GPUs with a learned potential
- Train a scalable potential for a material from DFT reference data
- Study interfaces, grain boundaries and amorphous solids at scale
- Run long molecular dynamics where message-passing models would not parallelise
Verified facts
| Family | Machine-learned interatomic potentials |
|---|---|
| Language or basis | Strictly local equivariant |
| Repository | https://github.com/mir-group/allegro (GitHub) |
| Licence | MIT (SPDX identifier as declared in the repository) |
| Main language on GitHub | Python |
| Last commit | 2026-11-17 |
| Latest release | v0.8.3 (2026-05-29) |
| Stars | 508 on 2026-11-28 |
| Open issues and pull requests | 1 on 2026-11-28 |
| Repository created | 2022-02-06 |
| Verified | 2026-11-28 by MolForge's checking script, against the host's API |
Where Allegro fits
Learn quantum-accurate potentials that run at near-classical cost, from quantum-chemistry data.
Questions people ask
- Why does strict locality matter for Allegro?
- In a message-passing network, an atom's energy depends on atoms several cutoffs away, so a parallel code must exchange large halos of data between domains. Allegro confines each atom's energy to one cutoff, so the usual domain decomposition of a classical MD code applies directly and the simulation can spread over many GPUs.
- Do I need NequIP to use Allegro?
- Yes. Allegro is a Python package that registers its model within the NequIP framework; training, data handling and compilation use NequIP commands. For running in LAMMPS you need the pair_allegro package built against libtorch. The two are installed together following the Allegro repository instructions.
- How is Allegro different from MACE?
- MACE is a message-passing model that uses higher-body-order messages and offers foundation models trained on broad data sets. Allegro has no message passing and is designed around parallel scalability in LAMMPS, with models trained per system. Choice depends on whether a general pre-trained model or a large-scale custom simulation is the goal.
- Is Allegro open source?
- Yes. The repository declares the MIT licence (SPDX identifier read from the host on 2026-11-28). Read the licence text in the repository before redistributing or embedding it.
- Where is the Allegro source code?
- At https://github.com/mir-group/allegro (GitHub). This is the address the host reported on the day of verification; renamed repositories are followed to their new home.
- Is Allegro still maintained?
- The last commit was pushed on 2026-11-17 and the latest tagged release is v0.8.3 from 2026-05-29; the repository had 1 open issues and pull requests on 2026-11-28.
- Does MolForge use Allegro?
- No. MolForge runs nine of the hundred tools in this directory (RDKit, OpenMM, AutoDock Vina, Open Babel, MDTraj, pymbar and NGL, plus PySCF and xTB in MFsig); Allegro is listed because of its place in machine-learned interatomic potentials, not because we run it.
Our comments on Allegro
MolForge does not run Allegro in production. This page is a verified pointer, not a review: the facts above come from the repository on the date shown, the description is ours, and we make no claim about accuracy or speed that we have not measured. If you maintain Allegro and something here is wrong or out of date, write to hello@molforge.ai and we will correct the source file.
Test status
Not tested by MolForge. To check Allegro yourself: clone the repository, follow the installation section of its README, and run the test suite the project ships before trusting a result; the last-commit date and the open issue count above tell you how alive the project is.