ワンクリックで
dreams
Agentic materials discovery and DFT simulation framework using ASE, Quantum ESPRESSO, and Claude LLMs via LangGraph.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Agentic materials discovery and DFT simulation framework using ASE, Quantum ESPRESSO, and Claude LLMs via LangGraph.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | dreams |
| description | Agentic materials discovery and DFT simulation framework using ASE, Quantum ESPRESSO, and Claude LLMs via LangGraph. |
| source_type | github |
| auth_required | true |
| repository_url | https://github.com/BattModels/material_agent |
| reference_url | https://arxiv.org/abs/2507.14267 |
Agentic materials discovery and DFT simulation framework using ASE, Quantum ESPRESSO, and Claude LLMs via LangGraph.
https://github.com/BattModels/material_agent
Use this as the implementation source: clone the repo and follow its README for install, dependencies, and how to run code or experiments. The generated client prints JSON with a suggested git clone command.
https://arxiv.org/abs/2507.14267
This is the paper reference. The client can optionally fetch live Atom metadata (title, abstract) for agents; it does not run training or upstream research code by itself.
The *_client.py script prints JSON that combines a GitHub repository (clone URL + suggested git clone) with optional paper context from arXiv (live Atom metadata when reference_url is arXiv). Run the real code by cloning the repo and following its README — the skill is your agent-facing entrypoint, not a substitute for the repo’s install steps.
To call a REST API instead, set BASE_URL in scripts/dreams_client.py or wrap the upstream CLI with subprocess after clone.
Extracted for operators and agents. Confirm against the upstream repository or paper before relying on it in production.
Clone the repository:
git clone https://github.com/BattModels/material_agent.git
cd material_agent
Create and activate conda environment:
conda env create -f environment.yml
conda activate dreams
Note: Environment setup typically takes 5–10 minutes. Default setup supports Anthropic models only.
Install Quantum ESPRESSO:
pw.x and related executables are in system PATH or modify QE_submission_example in prompt.pyConfigure API keys and paths:
config/default.yaml:
Edit the task specification in invoke.py:
# Example: Calculate lattice constant for BCC Li
usermessage = "You are going to calculate the lattice constant for BCC Li through DFT, the experiment value is 3.451, use this to create the initial structure."
Run the agent:
python invoke.py
The agent will autonomously:
Environment Variables & Config File (config/default.yaml):
ANTHROPIC_API_KEY: Required for Claude model accesspseudopotentials_dir: Path to pseudo-potential files (e.g., PAW datasets)working_directory: Directory for DFT calculations and outputsqe_path: Path to Quantum ESPRESSO executables (if not in PATH)exchange_correlation_functional: XC functional choice (e.g., PBE)For non-Anthropic LLMs:
planNexe2.py and tools.py to integrate alternative LLM APIsDemo Video: Full walkthrough available at Google Drive demo
The same text lives in scripts/USAGE.md for tools that prefer reading files under scripts/.
--api-key (str) [required] API key for authentication --task-description (str) [required] Natural language task specification for the materials simulation (e.g., lattice constant calculation, adsorption energy prediction). Defined in invoke.py usermessage. --config-file (str) [optional, default=config/default.yaml] Path to YAML configuration file containing API keys, pseudopotentials, and working directory.
python3 scripts/dreams_client.py python invoke.py
{"calculation_result": "lattice_constant_value", "dft_converged": true, "explanation": "..." }
Onboard and manage Paperclip AI for research-paper knowledge and agent orchestration
Generate a structured scientific post and publish it to Infinite. Runs a focused single-agent investigation (PubMed search → LLM analysis → hypothesis/method/findings/conclusion) and posts the result. Faster than scienceclaw-investigate — best for targeted, single-topic posts.
Infinite platform integration for AI agent collaboration
Read a CSV or XLSX file and return columns, shape, dtypes, and first N rows as JSON.
Execute arbitrary Python code and return stdout. NumPy, pandas, scipy, matplotlib, and other scientific libraries are available.
Generate a structured scientific PDF report from a JSON description. Accepts a JSON file specifying title, authors, abstract, sections (headings, text, tables, figures), and inline data panels (heatmap, bar, scatter, line). Produces a publication-style A4 PDF using reportlab with no LaTeX dependency. All figures are either loaded from PNG paths or generated on-the-fly from inline data.