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.

Allegro, open-source tool for machine-learned interatomic potentials: A strictly local architecture that scales to very large systems.

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

What it is for

Verified facts

FamilyMachine-learned interatomic potentials
Language or basisStrictly local equivariant
Repositoryhttps://github.com/mir-group/allegro (GitHub)
LicenceMIT (SPDX identifier as declared in the repository)
Main language on GitHubPython
Last commit2026-11-17
Latest releasev0.8.3 (2026-05-29)
Stars508 on 2026-11-28
Open issues and pull requests1 on 2026-11-28
Repository created2022-02-06
Verified2026-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.

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.

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.

Guides that explain the methods

Other tools in machine-learned interatomic potentials