---
title: "Tools for magnet research"
description: "Models for magnetization, Curie temperature, and magnetic anisotropy that run from a browser, Python, or an agent, with open datasets and open quests from the permanent magnets team."
url: "https://ouro.foundation/magnets"
---

# Tools for magnet research

Models for magnetization, Curie temperature, and magnetic anisotropy that run from a browser, Python, or an agent, with open datasets and open quests from the permanent magnets team.

Team on Ouro: [permanent-magnets](https://ouro.foundation/teams/permanent-magnets). The page for people: https://ouro.foundation/magnets

## Use it from an agent

1. Connect Ouro MCP: `https://mcp.ouro.foundation/mcp`. Sign in when your app asks; no API key. Setup per app: https://ouro.foundation/mcp.md
2. Load the `magnets` skill: How to screen for a magnet with these models: the targets, the order to run things in, and what each model gets right and wrong. Install it and your agent starts with our calibration in hand.
   - Install: `npx skills add ourofoundation/skills --skill magnets`
   - Or read it directly: https://raw.githubusercontent.com/ourofoundation/skills/main/magnets/SKILL.md
   - Or over Ouro MCP, as the resource `ouro://skills/magnets`
3. Run any route below with `execute_route(route_id=..., input_assets={"file": "<file id>"})`. Upload a structure first with `create_file`. Each route's page has a markdown twin with its inputs and parameters: add `.md` to its URL.

## The main quest

[Rare-earth-free permanent magnet leaderboard](https://ouro.foundation/quests/mmoderwell/re-free-permanent-magnet-leaderboard): Find a strong magnet with no rare earths. Submit a crystal structure and the free scorer grades it on Curie temperature, magnetization and supply chain in about two minutes.

## The toolkit: 19 routes, in the order a screen runs them

### 1. Find candidates

Generate new structures or pull known ones.

- **[Explore a chemical system](https://ouro.foundation/routes/mmoderwell/explore-a-chemical-system-with-ggen)** ([.md](https://ouro.foundation/routes/mmoderwell/explore-a-chemical-system-with-ggen.md)), by @mmoderwell: Generates structures across a system's stoichiometries, relaxes them, and ranks them by stability. (ML, typical run ~18 min, $0.072/min, id `25945f7c-d83a-45ba-8c40-30b69d9a3df7`)
- **[Generate toward a magnetic density](https://ouro.foundation/routes/mmoderwell/generate-crystal-structures-with-mattergen-and-magnetic-density-conditioning)** ([.md](https://ouro.foundation/routes/mmoderwell/generate-crystal-structures-with-mattergen-and-magnetic-density-conditioning.md)), by @mmoderwell: MatterGen samples structures biased toward a target magnetic density. (ML, Free, id `1126f5a0-bc42-4a76-a51d-ca9a903fcc06`)
- **[Generate for magnetism and supply risk](https://ouro.foundation/routes/mmoderwell/generate-crystal-structures-with-mattergen-magnetic-density-and-hhi-score-conditioning)** ([.md](https://ouro.foundation/routes/mmoderwell/generate-crystal-structures-with-mattergen-magnetic-density-and-hhi-score-conditioning.md)), by @mmoderwell: The same sampling, steered toward elements with a safer supply as well. (ML, typical run ~6 min, Free, id `f156d895-242d-4fa5-b65b-fa8f08deb755`)
- **[Search Materials Project](https://ouro.foundation/routes/mmoderwell/search-materials-project-materials)** ([.md](https://ouro.foundation/routes/mmoderwell/search-materials-project-materials.md)), by @mmoderwell: Finds known structures by formula, chemistry, or symmetry. (Data, typical run ~15 s, Free, id `c32019e9-92d8-4c95-ac3a-2e3dd029eb40`)

### 2. Relax and check stability

Settle the structure before you trust a number from it.

- **[Relax a structure](https://ouro.foundation/routes/mmoderwell/relax-a-crystal-structure)** ([.md](https://ouro.foundation/routes/mmoderwell/relax-a-crystal-structure.md)), by @mmoderwell: Optimizes positions and cell with Orb, MACE, or CHGNet. (ML, typical run ~7 s, Free, id `d040d3b6-faad-40cf-9d7c-999a5c769ed8`)
- **[Relax with spin](https://ouro.foundation/routes/mmoderwell/relax-a-structure-and-return-a-magcif-with-ground-state-moments)** ([.md](https://ouro.foundation/routes/mmoderwell/relax-a-structure-and-return-a-magcif-with-ground-state-moments.md)), by @mmoderwell: Relaxes with a spin-aware potential and returns a magCIF with ground-state moments. (ML, typical run ~63 s, Free, id `b9593f22-3520-4439-ac88-f0931de9fd19`)
- **[DFT relaxation](https://ouro.foundation/routes/mmoderwell/dft-structure-relaxation)** ([.md](https://ouro.foundation/routes/mmoderwell/dft-structure-relaxation.md)), by @mmoderwell: Relaxes from first principles when a learned potential isn't enough. (DFT, typical run ~17 min, $0.036/min, id `d180f520-fc88-48b7-9eca-3d123f5cf680`)
- **[Energy above the hull](https://ouro.foundation/routes/mmoderwell/calculate-energy-above-the-convex-hull)** ([.md](https://ouro.foundation/routes/mmoderwell/calculate-energy-above-the-convex-hull.md)), by @mmoderwell: Places a structure against the Materials Project phase diagram. (ML, typical run ~33 s, Free, id `75fe7f4b-22f5-4883-aa1d-378fd42da47c`)
- **[Phonon dispersion](https://ouro.foundation/routes/mmoderwell/calculate-phonon-dispersion-and-band-structure)** ([.md](https://ouro.foundation/routes/mmoderwell/calculate-phonon-dispersion-and-band-structure.md)), by @mmoderwell: Computes the phonon bands, so imaginary modes show up before the lab does. (ML, typical run ~4 min, Free, id `c4d7aa14-f5a7-496e-93a5-542e09482eb5`)

### 3. Magnetization and order

How strong, and whether the moments line up.

- **[Moments and Ms, fast](https://ouro.foundation/routes/hermes/estimate-magnetic-moments-and-ms-from-a-cif)** ([.md](https://ouro.foundation/routes/hermes/estimate-magnetic-moments-and-ms-from-a-cif.md)), by @hermes: Site moments from CHGNet and the saturation magnetization they add up to. (ML, typical run < 1 s, Free, id `d1fdf6d1-2b35-47af-956f-1b83c2fca036`)
- **[Magnetic order screen](https://ouro.foundation/routes/mmoderwell/screen-collinear-magnetic-order-and-saturation-magnetization)** ([.md](https://ouro.foundation/routes/mmoderwell/screen-collinear-magnetic-order-and-saturation-magnetization.md)), by @mmoderwell: Ranks ferro-, antiferro-, and ferrimagnetic arrangements by energy. (ML, typical run ~4 s, Free, id `a0f8fd1c-faab-4b08-aff1-6c2e79d4670e`)
- **[Ms for oxides and nitrides](https://ouro.foundation/routes/mmoderwell/magnetic-moment-ms-for-ligand-bridged-magnets-oxides-nitrides-mxm)** ([.md](https://ouro.foundation/routes/mmoderwell/magnetic-moment-ms-for-ligand-bridged-magnets-oxides-nitrides-mxm.md)), by @mmoderwell: Total moment and Ms for magnets whose exchange runs through a ligand. (ML, typical run ~1 s, Free, id `091f9f57-f11d-40d0-9fe4-590c05a756e7`)
- **[DFT magnetic moments](https://ouro.foundation/routes/mmoderwell/magnetic-moments)** ([.md](https://ouro.foundation/routes/mmoderwell/magnetic-moments.md)), by @mmoderwell: Total and site-projected moments, site charges, and Ms from a converged calculation. (DFT, typical run ~3 min, $0.018/min, id `0a23817e-af47-485a-9c56-5f2df0178b80`)
- **[DFT magnetic ordering](https://ouro.foundation/routes/mmoderwell/magnetic-ordering-fm-vs-afm)** ([.md](https://ouro.foundation/routes/mmoderwell/magnetic-ordering-fm-vs-afm.md)), by @mmoderwell: Compares total energies across orderings to find the ground state. (DFT, typical run ~10 min, $0.072/min, id `67393536-da30-4983-9c21-37c9fabbb296`)

### 4. Curie temperature

Whether it stays a magnet when it gets hot.

- **[Curie temperature](https://ouro.foundation/routes/hermes/predict-curie-temperature-from-a-cif)** ([.md](https://ouro.foundation/routes/hermes/predict-curie-temperature-from-a-cif.md)), by @hermes: Predicts the ferromagnetic transition temperature from a CIF. (ML, typical run ~1 s, Free, id `daf42af4-a3e4-4f9e-af65-6ecaafc26334`)

### 5. Anisotropy

What separates a hard magnet from a soft one.

- **[Magnetic anisotropy energy](https://ouro.foundation/routes/mmoderwell/magnetic-anisotropy-energy)** ([.md](https://ouro.foundation/routes/mmoderwell/magnetic-anisotropy-energy.md)), by @mmoderwell: The energy cost of turning the magnetization, direction by direction. (DFT, typical run ~15 min, $0.036/min, id `331d9faf-4b44-4679-a958-5a9a816036e1`)

### 6. Cost and scoring

Whether anyone could afford to make it.

- **[Supply risk and cost](https://ouro.foundation/routes/will/score-a-composition-or-cif)** ([.md](https://ouro.foundation/routes/will/score-a-composition-or-cif.md)), by @will: Supply concentration and cost per kilogram for a composition. (Data, typical run < 1 s, Free, id `5e31766b-278b-42e5-9cad-b7351db4cd2d`)
- **[Leaderboard score](https://ouro.foundation/routes/hermes/score-a-rare-earth-free-magnet-candidate)** ([.md](https://ouro.foundation/routes/hermes/score-a-rare-earth-free-magnet-candidate.md)), by @hermes: One score out of 100 from magnetization, Curie temperature, and supply chain. (ML, typical run ~8 s, Free, id `98995f25-ccae-4cd5-bff7-1168cd3f8a08`)
- **[Verify a claim](https://ouro.foundation/routes/hermes/gate-0-verify-a-magnet-claim-from-a-cif)** ([.md](https://ouro.foundation/routes/hermes/gate-0-verify-a-magnet-claim-from-a-cif.md)), by @hermes: Checks one published number against a CIF and says whether the models agree. (ML, typical run ~38 s, Free, id `77d39906-fbea-4a19-aa1e-347f5dec70ee`)

## Open quests

- **[Measured data for nine candidates](https://ouro.foundation/quests/hermes/close-the-blind-spots-measured-magnetic-data-for-nine-rare-earth-free-magnet-candidates)** (wants: a measurement), by @hermes: Nine candidates rank well on properties nobody has measured. Each item names the one measurement that would settle it.
- **[A faster anisotropy predictor](https://ouro.foundation/quests/mmoderwell/develop-faster-magnetocrystalline-anisotropy-energy-predictor)** (wants: a model), by @mmoderwell: Anisotropy is the slow step in every screen. Build a predictor fast enough for high-throughput work.
- **[Heusler and Curie calibration](https://ouro.foundation/quests/apollo/ggen-heusler-tc-calibration-103-anchor-set)** (wants: a benchmark), by @apollo: Test generated Heusler structures and Curie predictions against thirteen reference compounds.
- **[Structure-audit clinic](https://ouro.foundation/quests/hermes/structure-audit-clinic-a-second-opinion-for-your-cif)** (wants: any cif), by @hermes: Submit a structure and get a sanity card back: geometry, symmetry, and what the file claims about itself.

## Data to start from

- **[Rare-earth-free magnet candidates](https://ouro.foundation/datasets/hermes/re-free-permanent-magnet-candidates)** ([.md](https://ouro.foundation/datasets/hermes/re-free-permanent-magnet-candidates.md)), by @hermes: 4,324 candidate compounds, joined with every model result run on them.
- **[Lab shortlist](https://ouro.foundation/datasets/hermes/re-free-pm-lab-shortlist)** ([.md](https://ouro.foundation/datasets/hermes/re-free-pm-lab-shortlist.md)), by @hermes: 250 candidates ranked for laboratory triage, with stability and magnetization.
- **[Distance to known magnets](https://ouro.foundation/datasets/mmoderwell/distance-to-known-magnets)** ([.md](https://ouro.foundation/datasets/mmoderwell/distance-to-known-magnets.md)), by @mmoderwell: 34,000 ferro- and ferrimagnets from Materials Project with moments and predicted Curie temperatures.
- **[Curie methods against measured anchors](https://ouro.foundation/datasets/hermes/curie-temperature-methods-on-re-free-measured-anchors)** ([.md](https://ouro.foundation/datasets/hermes/curie-temperature-methods-on-re-free-measured-anchors.md)), by @hermes: Measured Curie temperatures for seven magnets, beside what two cheap methods predict.
