FAMEX: Fast Mechanistic Explorer
FAMEX is a command-line and Python API for molecular geometry optimization with machine learning potentials. It supports minima optimization, transition state searches, and reaction path calculations.
Quick Start
Installation
pip install famex
# Or from source:
git clone https://github.com/rlaplaza-lab/famex.git && cd famex && pip install -e .
Install a machine learning backend separately. When --model-name is omitted, each backend keyword loads the checkpoint below:
| Backend | Installation | Default checkpoint | Notes |
|---|---|---|---|
aimnet2 |
pip install torch |
aimnet2 → aimnet2_wb97m_0 |
torch only; no e3nn conflict; analytical Hessian |
uma |
pip install "fairchem-core>=2.25.0" or pip install famex[uma] |
uma-s-1p2 |
Default CLI/Explorer backend (task omol); analytical Hessian; see UMA tasks |
mace |
pip install mace-torch |
mace-omol-0 |
Conflicts with UMA; analytical Hessian |
orb |
pip install "orb-models>=0.7.0" or pip install famex[orb] |
orb-v3-conservative-omol |
Also orbmol-v2; Python 3.12+; analytical Hessian for conservative models; finite-difference otherwise |
so3lr |
git clone https://github.com/general-molecular-simulations/so3lr.git && cd so3lr && pip install . |
so3lr.So3lrCalculator |
Not on PyPI. Analytical Hessian via JAX. --model-name and --model-path are not passed through |
pet |
pip install upet or pip install famex[pet] |
pet-mad-s |
PET-MAD potential; analytical Hessian |
Optional classical quantum chemistry, CPU only: tblite (pip install tblite, default method GFN2-xTB, finite-difference Hessians) and pyscf (pip install famex[pyscf], default b3lyp-d3bj/def2-svp, analytical Hessian). Both reject --device cuda.
SMILES and PubChem are optional structure inputs (not separate CLI modes). Install an embedder and pass SMILES or pubchem:NAME / cid: / a numeric CID to minima, ts, or path:
pip install famex[smiles] # UFF distance geometry (default --embedder)
pip install famex[rdkit] # RDKit ETKDGv3
famex minima --strategy local "CCO" --backend aimnet2
famex minima --strategy local "CCO" --embedder rdkit --backend aimnet2
famex minima --strategy local pubchem:aspirin --backend aimnet2
Python 3.11+. UMA and MACE conflict on e3nn; use separate environments.
Your First Optimization
Command Line:
# Create a test structure
echo "3
Water
O 0.0 0.0 0.0
H 0.0 0.0 1.0
H 0.0 1.0 0.0" > water.xyz
# Optimize it (default backend is uma; use aimnet2 for torch-only install)
famex minima --strategy local water.xyz
# famex minima --strategy local water.xyz --backend aimnet2
Python API:
import famex
# Load and optimize
explorer = famex.Explorer.from_file("water.xyz", backend="aimnet2", target="minima", strategy="local")
result = explorer.run(fmax=0.05, steps=1000)
# Save results
explorer.save_structure(result["optimized_atoms"], "water_optimized.xyz")
print(f"Final energy: {result['optimized_atoms'].get_potential_energy():.6f} eV")
Key Features
- Multiple machine learning backends (UMA, AIMNet2, MACE, SO3LR, Orb, PET); optional xTB/DFT via TBLite/PySCF
- CUDA for the machine-learning backends (
tbliteandpyscfare CPU-only) - Target/strategy commands (
minima,ts,path) - Transition-state strategies: local, interpolate, CI-NEB, DHS, growing string
- Path strategies: NEB, CI-NEB, IRC, interpolate
- Frequency analysis, thermodynamics, and vibrational-mode XYZ animations
- Command-line and Python API
- Geometry files via the Atomic Simulation Environment (ASE): XYZ, CIF, PDB, and others
- SMILES / PubChem as structure inputs (
pip install famex[smiles]orfamex[rdkit]; usepubchem:NAME,cid:, or a numeric CID)
Examples
Runnable demos and benchmarks: examples/README.md.
# Transition state search
famex ts --strategy interpolate reactant.xyz --product product.xyz
# NEB reaction path
famex path --strategy neb reactant.xyz product.xyz --npoints 11
# IRC from transition state
famex path --strategy irc ts.xyz --direction both
Community and Support
- GitHub Repository: https://github.com/rlaplaza-lab/famex
- Issues: Report bugs and request features
- License: MIT License
Citation
@software{famex2026,
title={FAMEX: Fast Mechanistic Explorer},
author={FAMEX Development Team},
year={2026},
url={https://github.com/rlaplaza-lab/famex}
}
Metadata
Release files for famex 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| famex-0.5.0.tar.gz | 417.6 kB | Without provenance | Details for famex-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| famex-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for famex-0.5.0-py3-none-any.whl |
Total release size: 702.4 kB
Release files / famex-0.5.0.tar.gz
| Download URL | famex-0.5.0.tar.gz |
|---|---|
| Size | 417.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4d19f8ba67b9e1858db641f1f7b8170ad29c525c6eed44ca8195fbf032ce8546
|
|
BLAKE2b-256 checksum How to use checksums |
048aa97051fbae44ea186b0871ea5eaca007c4f557395079e77b9d6fd7cc9e6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / famex-0.5.0-py3-none-any.whl
| Download URL | famex-0.5.0-py3-none-any.whl |
|---|---|
| Size | 284.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
90ed6a68342f3f949f160fb2fc788963cfd03a55f3637d2b2d697c41be24520f
|
|
BLAKE2b-256 checksum How to use checksums |
24055c1b2e7096bf482d0470f388b0c9a811ce55a34f219ab0f04a2ec70eace3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for famex 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.