🔬 MatGraph CLI

A modern CLI and GraphQL API tool for Material Science Deep Learning Pipelines, powered by Trinetra Labs.

MatGraph CLI replaces the outdated, bloated ML implementations in materials science with a sleek, universal interface. It natively wraps the state-of-the-art M3GNet Universal Potentials developed by the Materials Virtual Lab.

View on PyPI GitHub Repository

🚀 Quick Start

Install via pip and set up your Materials Project API key in seconds:

pip install matgraph-cli

# Persistently save your API key (No more 'export' commands!)
matgraph setup YOUR_MP_API_KEY

✨ Key Features

💻 Example Usage

Predict the properties of a material using the CLI:

matgraph predict LiFePO4 --model m3gnet

Or perform generative elemental substitution (Inverse Design):

matgraph substitute LiFePO4 Li Na