English · 简体中文
Molecular Dynamics, One API Away.
DPAstra = DPA + astra (“stars”).
DPA-native. API-first. Built for frontier MLIPs.
Run Molecular Dynamics Through an LLM-Style API
The destination: interact from a local Python notebook, run molecular dynamics with 10M+ atoms in the cloud, and stream live thermodynamics and trajectory previews—all through one API.
LLM APIs let researchers call frontier models without operating the inference stack. DPAstra applies the same abstraction to stateful molecular dynamics: scientists declare a potential, atoms, and a simulation protocol; qualified workers own the accelerator runtime and the complete MD session.
DPAstra is an independent API-first layer built to serve DPA models and other frontier MLIPs, designed around DeePMD-kit execution interfaces and the open DeepModeling ecosystem.
Install
Research Preview. The default PyPI install contains the client SDK only. For source development and local execution, see the development guide.
pip install dpastra
Models
| Model | Size | API model ID |
|---|---|---|
| DPA4C | nano |
omat24-dpa4c-nano |
| DPA4 | — | — |
The API model ID is a human-readable catalog alias, not an authentication
credential. Users submit that ID; the
service resolves it to one exact immutable model revision before the run is
persisted. Advanced callers can optionally assert model_revision, while the
ordinary model list and submission path stay digest-free. Catalog IDs may
change before the first public release. — means no DPAstra-qualified entry.
[!WARNING] Research Preview. The API and qualified model catalog may change before the first public release. A deployment provider supplies the HTTPS base URL, API key, and models available to each user. Model availability is not proof of scientific accuracy or production convergence for a particular system.
Scale note: 10M+ atom cloud MD depends on future qualified LAMMPS/Kokkos and multi-GPU fleet backends; it is not a current validated capability.
Use
Ask your deployment provider for the HTTPS base URL and API key, replace the placeholders below, and run the packaged demo without editing any source code:
export DPASTRA_BASE_URL="https://your-deployment.example"
export DPASTRA_API_KEY="replace-with-your-api-key"
pip install 'dpastra[watch]'
python -m dpastra.demo
The demo submits a 13-atom nonperiodic Cu cluster to omat24-dpa4c-nano, gives
it Maxwell-Boltzmann velocities at 800 K, and runs 300 Langevin steps with a
1 fs timestep. It watches the live run and downloads the authoritative
trajectory after success. DPAstra freezes the resolved exact model revision in
the durable run record; streamed frames remain previews.
Documentation
- MD parameters — constant-temperature setup, timestep, velocities, constraints, cadence, and planned LAMMPS mappings.
- Watch a run — terminal and notebook previews, with the authoritative trajectory downloaded after completion.
- Development guide — current source setup and local execution.
- Scientific contract — units, ensembles, cadence, and supported boundaries.
- Architecture — control plane, workers, sessions, and artifacts.
- Product plan — evidence-gated development direction.
DPAstra is an independent Research Preview, not an official DeepModeling project. It is licensed under the Apache License 2.0.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dpastra-0.1.2.tar.gz.
File metadata
- Download URL: dpastra-0.1.2.tar.gz
- Upload date:
- Size: 939.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a80bed08d8d8bd16190631492c232652a5ed7755d36d051120ead30a1481dde
|
|
| MD5 |
ac39a565501e8e72d983153f02896827
|
|
| BLAKE2b-256 |
ac776b7c5a36a9b40fedc6748cd59c9afec91af095f19ca86b154db99d9439e3
|
File details
Details for the file dpastra-0.1.2-py3-none-any.whl.
File metadata
- Download URL: dpastra-0.1.2-py3-none-any.whl
- Upload date:
- Size: 471.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
373fbebbc357d68959acbf2b46d901d3ac20f811c6662fbecd0dc51536e84bd1
|
|
| MD5 |
a5b6249e0a66c9ba490126a0f43f3675
|
|
| BLAKE2b-256 |
ac8846905be915af03bd0c7adcf9f42401ca5403ad4d0d06dd97c30b2f142c7a
|