Who it is forA battery or ceramics researcher who wants to see atoms move at high temperature without DFT cost.
The problemAb initio molecular dynamics is too expensive for quick exploration.
The outcomeA trajectory file and log from an NVT run at the temperature you choose.
What you need first
- Python and pip
- A crystal structure file such as a CIF
- pymatgen for loading structures
- CPU, NVIDIA GPU, Intel GPU or Apple silicon (device picked automatically)
Steps
- Install with
pip install chgnet - Load the structure and model as in the README example
- Build
MolecularDynamicswithensemble="nvt", a temperature, a timestep,trajectory="md_out.traj"andlogfile="md_out.log" - Start it with
md.run(50), a 0.1 ps simulation in the README example - Open md_out.traj and md_out.log to inspect the run
Prompt for your agent
Using CederGroupHub/chgnet, run `MolecularDynamics` with ensemble nvt on my CIF at <temperature> K, timestep 2, then call `md.run(50)` and summarise md_out.log.
Caveat. The README notes MatPES-trained models in MatGL are expected to do better for non ground state work like molecular dynamics.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for CederGroupHub/chgnet and "Run a short charge-informed molecular dynamics simulation"
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