Who it is forA scientist screening many candidate structures.
The problemRunning DFT on every candidate structure is too expensive.
The outcomeAn output XYZ file with model predictions for each configuration.
What you need first
- Python 3.11 or later and PyTorch 2.5 or later, installed first
- Install with `pip install mace-torch` (the PyPI package named MACE is unrelated)
- Training data as XYZ files; a CUDA GPU or Apple Silicon (mps) for practical training speed
Steps
- Install with
pip install mace-torch - Run mace_eval_configs with --configs="your_configs.xyz", --model="your_model.model" and --output="./your_output.xyz"
- For single structures in Python, use mace_mp or mace_off from Mace.calculators as an ASE calculator
- Compare predictions with reference values where you have them
Prompt for your agent
Using ACEsuit/mace, run mace_eval_configs on <my structures.xyz> with <my model file>, then list the five lowest energy configurations from the output.
Caveat. MACE-MP energies are raw MPTrj DFT energies and are not directly comparable to Materials Project or CHGNet energies with MP2020 corrections.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for ACEsuit/mace and "Predict energies for a batch of structures"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer