Overview
ChemGraph provides an orchestration layer for computational chemistry and materials-science workflows rather than a standalone predictive model. Its source-described architecture combines LangGraph with ASE, RDKit, and MCP to translate natural-language requests into tool-assisted work. Researchers can access it through a command-line interface, an asynchronous Python API, a source-tree Streamlit interface, or an MCP tool server. The repository supplies runnable code; its package metadata labels the software as beta.
Inputs include chemistry questions, requested calculation settings, and, for specialized workflows, ligand/receptor information or PDF/text documents. Outputs can include molecular structures, calculation results, trajectories, spectra, and reports, stored in session artifact directories. The default single_agent workflow is the recommended entry point. Other workflows support planner/executor decomposition, document retrieval, docking, XANES tasks, and interactive workspace work. The checkpointed main_agent can discover instruction-based Skills and delegate to configured specialists; those Skills are supporting instructions, not separate autonomous agents.
Available calculations depend on detected engines and installed dependencies. EMT and MACE are included in the core installation, while other calculators and specialized workflows require additional packages, executables, or credentials. EMT is described as suitable for setup checks, not general high-accuracy chemistry. Distributed execution requires site-specific configuration and infrastructure. ChemGraph can launch calculations and modify files, so generated inputs, units, convergence, and conclusions require scientific review. Workspace shell access is not confined to the workspace, despite action-review mechanisms. The official README documents these capabilities and boundaries; they are not evidence of independent scientific validation.
Key Features
- Connects natural-language requests to molecule lookup, molecular construction, ASE calculations, analysis, and report generation.
- Offers CLI and asynchronous Python access, a Streamlit interface requiring a source checkout, and MCP tool serving over stdio or streamable HTTP.
- Provides a default `single_agent` workflow alongside specialized docking, document-retrieval, XANES, and planner/executor workflows with documented dependency requirements.
- Supports durable interactive `main_agent` sessions, on-demand tool discovery, instruction-based Skills, optional specialist delegation, and action reviews for file mutations and shell commands.
- Detects available calculator engines at startup and exposes those present in the environment, with EMT and MACE included in the core installation.
- Includes optional local-process, Parsl, Ensemble Launcher, Globus Compute, and Academy execution paths that require additional dependencies or infrastructure.
Use Cases
- Suggested evaluation: compare a natural-language molecule lookup or structure-building request against a manually checked chemical identifier and structure.
- Suggested evaluation: run a small ASE calculation with an explicitly selected calculator, then inspect generated inputs, energies, units, and convergence before considering broader research use.
- Suggested evaluation: combine PDF/text retrieval with chemistry tools to assess whether answers remain traceable to the supplied documents.
- Suggested integration evaluation: expose ChemGraph chemistry tools to an MCP client, or assess a distributed screening workflow after configuring the required execution backend and site resources.
How to Use
- Read the installation guide and prepare an isolated Python environment. The supplied README requires Python 3.11 or newer; install only the optional dependencies needed for your chosen workflow.
- Select an LLM provider using Models and authentication. Configure the required credentials outside committed files, and distinguish provider access from the locally installed ChemGraph framework.
- Follow the quickstart with
single_agent. Begin with a molecule lookup or an explicitly selected EMT setup check; lookup examples may require network access, and EMT is not a general high-accuracy chemistry method. - Inspect the session artifacts, normally written under
cg_logs/. Check structures, calculator settings, units, convergence, and final interpretations before relying on results. - Consult the workflow guide before adding docking, retrieval, XANES, or workspace tasks. Review approval behavior and host-access boundaries for interactive agents.
- For tool integration, follow the MCP server guide. Treat distributed execution as a separate setup task requiring its documented dependencies and infrastructure.