Skip to content

ChemCrow

Andres M Bran, Sam Cox, Andrew White, Philippe Schwaller / White Laboratory

ChemCrow is a Python chemistry agent package built with Langchain that connects language-model reasoning to RDKit, paper-qa, chemical databases, and reaction-planning tools.

Catalog updated ·

Overview

ChemCrow is a tool-using chemistry agent package intended to support reasoning-intensive chemical tasks through a language-model interface. Built with Langchain, it combines chemical software and information sources, including RDKit, paper-qa, Pubchem and chem-space. Its workflow role is to connect natural-language questions with specialist tools, rather than serve as a standalone predictive model or chemical database.

The README demonstrates a Python interface in which a user creates a ChemCrow instance and submits a question through its run method. Examples cover molecular-weight lookup and reaction-product prediction. Inputs in these examples are natural-language chemical questions; the documented interaction returns an agent response, although the source excerpts do not specify a structured output schema. Configuration includes a language-model choice, temperature and streaming settings. An OpenAI API key is required by the documented setup, while Serp API configuration is optional.

For retrosynthetic planning and reaction-product prediction, ChemCrow uses RXN4Chem by default. The README notes that this service can be slow and requires an API key. It also describes an alternative using pre-made Docker images to self-host those tools and a local_rxn setting to select that route. These integrations are external dependencies, not databases or predictive models developed within ChemCrow itself.

The public package does not include every tool described in the ChemCrow paper because of API usage restrictions, and the README explicitly warns that this repository will not produce the same results as the paper. The supplied packaging source declares Python requirements, but it does not establish tested compatibility or present performance results for this repository.

Key Features

  • Langchain-based agent interface for submitting natural-language chemistry questions through ChemCrow.run.
  • Integration with RDKit and paper-qa alongside chemical information sources including Pubchem and chem-space.
  • RXN4Chem-backed retrosynthetic planning and reaction-product prediction.
  • Optional self-hosting of reaction-prediction and retrosynthesis tools using the Docker images documented in the README.
  • Configurable language-model selection, temperature, streaming and local reaction-tool routing.

Use Cases

  • Intended evaluation: compare responses to molecular-weight questions against independently checked chemical reference values, following the README’s example workflow.
  • Intended evaluation: assess reaction-product prediction and retrosynthetic planning on representative cases with known reference outcomes.
  • Intended evaluation: explore whether the paper-qa and chemical-database integrations support a chemistry literature-research workflow, checking returned information against original sources.

How to Use

  1. Read the official README to understand the agent interface and its warning that this package differs from the paper’s tool set.
  2. Check the declared Python requirements and dependencies in setup.py, then follow the README’s package-installation instructions. Treat these declarations as requirements, not proof of tested compatibility.
  3. Configure the required OpenAI API key in your environment without placing credentials in shared notebooks or repository files. Add Serp API configuration only if using that optional integration.
  4. Follow the README’s Python example to create a ChemCrow instance and submit a molecular-weight question. Independently verify the response before using it in scientific work.
  5. For reaction tools, choose between the default RXN4Chem service and the documented self-hosted Docker route. Consult the README for API access, container setup and the local_rxn setting.
  6. Compare your evaluation scope with the ChemCrow paper and the linked experiment repository; do not assume the public package reproduces those experiments.

Related resources

ChemCP is an MCP App that turns SMILES strings into interactive 2D molecular diagrams and computed descriptors using RDKit.js, with an in-chat viewer for hosts that support MCP Apps.

TypeScriptJavaScript

Cheminformatics

ChemDataExtractor v2 is a Python toolkit for extracting chemical entities, properties, spectra and tabulated data from scientific literature, with readers for HTML, XML and PDF.

Open sourcePython

Literature & Research

Chemistry Development Kit (CDK) is a Java library for chemical representations, file conversion, structure searching, fingerprints, QSAR descriptors and molecular rendering within other programs.

Open source

Cheminformatics

Coscientist provides a simple implementation and supporting research data for large-language-model chemical research, covering synthesis planning, library selections, repeated runs and optimization.

Literature & Research · Lab Automation

Datamol

Open Source

Datamol is a Python molecular-processing library built on RDKit, with tools for structure conversion, standardization, fingerprints, conformers, visualization and local or remote file I/O.

Open sourcePython

Cheminformatics

A K-Dense Scientific Agent Skill that guides Datamol-based molecular preparation, similarity analysis, scaffold workflows and conformer handling, with input-validation and reproducibility guidance.

Python

Cheminformatics · Drug Discovery

Related guides

Overview

How to Build a Chemistry AI Agent Stack

Design a chemistry AI agent stack by separating language models, orchestration, Skills, MCP interfaces, APIs, libraries and data. Follow proposed molecular and materials workflows, define input/output contracts, and plan permissions, evaluation and reproducible deployment.

Agents

Agents and Skills for Scientific Workflows

Plan bounded scientific agent workflows with inspectable inputs, limited tools, reusable skills, evidence-linked outputs and explicit human approval. Compare the roles of ChemCrow, PaperQA, Coscientist and Scientific Agent Skills without assuming tested interoperability.