Skip to main content

Fast mechanistic explorer using machine learning potentials with Sella optimizer

Project description

FAMEX: Fast Mechanistic Explorer

FAMEX provides a unified interface for molecular geometry optimization using machine learning potentials. It supports minima optimization, transition state searches, and reaction path calculations through both a command-line interface and Python API.

Python 3.10+ PyPI License: MIT

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 backend separately:

Backend Installation Notes
aimnet2 pip install torch Recommended for beginners, no conflicts
uma pip install "fairchem-core>=2.21.0" or pip install famex[uma] Materials science (default model: uma-s-1p2)
mace pip install mace-torch High accuracy, conflicts with UMA
orb pip install orb-models Universal forcefield
so3lr pip install so3lr Research, custom models
tblite pip install tblite Fast semi-empirical

Note: Python 3.10+ required. MACE and UMA conflict - 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 ML backends (UMA, AIMNet2, MACE, SO3LR, Orb, TBLite)
  • GPU acceleration with CUDA support
  • Semantic target/strategy interface (minima, ts, path)
  • Advanced methods (NEB, CI-NEB, IRC, growing string)
  • Frequency analysis and thermodynamics
  • Command-line and Python API
  • Supports XYZ, CIF, PDB via ASE

Documentation

  • Documentation index - Overview and defaults
  • User Guide - Complete reference for CLI, Python API, and backends
  • Tutorials - Hands-on guides for optimization and transition states
  • FAQ - Troubleshooting and common questions

Examples

# 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

Migrating from qme

The project was renamed from qme / qme-ml to famex in v0.2.0. There are no compatibility shims.

  • Uninstall the old package: pip uninstall qme-ml
  • Install the new package: pip install famex
  • CLI: qmefamex (e.g. famex minima …)
  • Python: import qmeimport famex
  • Optional: preserve cached models with mv ~/.qme ~/.famex

Community and Support

Citation

@software{famex2026,
  title={FAMEX: Fast Mechanistic Explorer},
  author={FAMEX Development Team},
  year={2026},
  url={https://github.com/rlaplaza-lab/famex}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

famex-0.2.1.tar.gz (298.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

famex-0.2.1-py3-none-any.whl (218.3 kB view details)

Uploaded Python 3

File details

Details for the file famex-0.2.1.tar.gz.

File metadata

  • Download URL: famex-0.2.1.tar.gz
  • Upload date:
  • Size: 298.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for famex-0.2.1.tar.gz
Algorithm Hash digest
SHA256 ab11a4f3e05dd940a355084d88a4afc8af62b9a9cb2e075ed3f59e198738cbc1
MD5 b4bbfba1c374345fcb3bb9ef8099ba2b
BLAKE2b-256 00cc1cac17fef852a8cd1b44a96f53587b8dfc93e610b90cac74ffe20d0e4835

See more details on using hashes here.

File details

Details for the file famex-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: famex-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 218.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for famex-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4964ee431f5bdf15426d8973be277d3ded8eb8bd7b9b226300f9c957fcca9a7e
MD5 1892292d8ee3bdf4c4a4c8902d64a8c0
BLAKE2b-256 afeecc7e773c8e5f4956d9ffed28939f42ee55da7c7bac67a4136a6c5fb7b9b3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page