ASKCOS: an open source software suite for synthesis planning

Zhengkai Tu, Sourabh J. Choure, Mun Hong Fong, Jihye Roh, Itai Levin, Kevin Yu, Joonyoung F. Joung, Nathan Morgan, Shih-Cheng Li, Xiaoqi Sun, Huiqian Lin, Mark Murnin, Jordan P. Liles, Thomas J. Struble, Michael E. Fortunato, Mengjie Liu, William H. Green Jr., Klavs F. Jensen, Connor W. ColeyarXiv 2025 · OpenReview

Abstract

The advancement of machine learning and the availability of large-scale reaction datasets have accelerated the development of data-driven models for computer-aided synthesis planning (CASP) in the past decade. Here, we detail the newest version of ASKCOS, an open-source software suite for synthesis planning that makes available several research advances in a freely available, practical tool. Four one-step retrosynthesis models form the basis of both interactive planning and automatic planning modes. Retrosynthetic planning is complemented by other modules for feasibility assessment and pathway evaluation, including reaction condition recommendation, reaction outcome prediction, and auxiliary capabilities such as solubility prediction and quantum mechanical descriptor prediction. ASKCOS has assisted hundreds of medicinal, synthetic, and process chemists in their day-to-day tasks, complementing expert decision making. It is our belief that CASP tools like ASKCOS are an important part of modern chemistry research, and that they offer ever-increasing utility and accessibility.

The Challenge of Synthesis Planning

Designing a synthetic route for a complex molecule is a "combinatorially complex" challenge. For decades, chemists relied on their own expertise or expensive, proprietary software to determine which starting materials and reaction steps could build a target drug or material. While the last decade has seen an explosion in data-driven models for Computer-Aided Synthesis Planning (CASP), these advances are often scattered across isolated research papers or locked behind paywalls. There has been a significant gap between academic proof-of-concept and a practical, integrated tool that a bench chemist can actually use. ASKCOS fills this gap by providing a unified, open-source platform that covers the entire workflow—from the initial retrosynthetic query to predicting specific reaction conditions.

A Modular, Microservice-Based Architecture

To bridge the gap between research and utility, ASKCOS utilizes a modern, microservice-based architecture. This design allows the suite to run dozens of different AI models—some written in Python 2, others in Python 3—simultaneously within Docker containers. This modularity ensures that the system is "future-proof"; as new models are developed, they can be integrated into the suite without requiring a total rewrite of the core codebase.

Conceptual workflow and modular architecture of ASKCOS, illustrating the transition from idea generation to in silico evaluation.

The system is organized into several key technical components:

  • Retrosynthesis Engine: Uses a hybrid approach, combining template-based models (interpretable and based on known reaction rules) with template-free models like Transformers and Graph2SMILES (which offer greater chemical creativity).
  • Search Algorithms: To find a full path from target to starting material, ASKCOS employs Monte Carlo Tree Search (MCTS) and Retro*, navigating through thousands of potential intermediates.
  • Forward Prediction & Conditions: Once a step is proposed, separate models predict reagents, solvents, and temperatures, while flagging potential impurities or regioselectivity issues.
  • Auxiliary Utilities: The suite includes "quality of life" tools for chemists, such as solubility predictors and quantum mechanical (QM) descriptor calculators.

Human-in-the-Loop: The Interactive Path Planner

One of the standout features of ASKCOS is its Interactive Path Planner. Rather than treating the AI as a black box, the software acts as a collaborator. The Graphical User Interface (GUI) allows chemists to prune unproductive branches, manually add steps, or force the search in a specific direction based on their intuition.

The ASKCOS Interactive Path Planner GUI, showcasing the integration of AI predictions with human expert decision-making.

By linking predictions back to literature precedents via template-based models, ASKCOS builds trust with human experts. If a model suggests an unconventional step, the chemist can easily view the specific literature examples that inspired the prediction.

Performance and Real-World Application

ASKCOS leverages massive reaction databases, including USPTO-50k, USPTO-full, Pistachio, and Reaxys, for training and evaluation. Integration with commercial catalogs like eMolecules and Sigma-Aldrich allows the software to identify which starting materials are currently "buyable" and at what price.

In benchmarking, the integrated models achieve highly competitive results. For instance, the "Augmented Transformer" reaches a 53.2% Top-1 accuracy on the USPTO-50k dataset. Beyond benchmarks, the authors performed a case study on 75 FDA-approved drugs from 2019–2023. ASKCOS successfully identified synthetic routes for the majority of these targets in approximately one hour on a standard desktop computer. This utility has led to adoption by major pharmaceutical companies to augment human ideation and narrow down massive libraries of potential drug candidates.

Limitations and Future Directions

Despite its power, ASKCOS faces challenges common to the field. Template-free models can occasionally "hallucinate" impossible chemistry that violates physical laws. Furthermore, like all machine learning tools, ASKCOS is subject to data bias, potentially struggling with highly niche or brand-new synthetic methodologies not well-represented in patent literature. While the tool handles basic 3D arrangements, robustly predicting complex stereochemical outcomes remains a frontier for future development. Moving forward, the project is transitioning toward a community-driven model, encouraging researchers worldwide to contribute their own models to this open-source ecosystem.

Summary updated

Abstract

The advancement of machine learning and the availability of large-scale reaction datasets have accelerated the development of data-driven models for computer-aided synthesis planning (CASP) in the past decade. Here, we detail the newest version of ASKCOS, an open source software suite for synthesis planning that makes available several research advances in a freely available, practical tool. Four one-step retrosynthesis models form the basis of both interactive planning and automatic planning modes. Retrosynthetic planning is complemented by other modules for feasibility assessment and pathway evaluation, including reaction condition recommendation, reaction outcome prediction, and auxiliary capabilities such as solubility prediction and quantum mechanical descriptor prediction. ASKCOS has assisted hundreds of medicinal, synthetic, and process chemists in their day-to-day tasks, complementing expert decision making. It is our belief that CASP tools like ASKCOS are an important part of modern chemistry research, and that they offer ever-increasing utility and accessibility.
BibTeX
@misc{tu2025askcos,
  author = {Zhengkai Tu and Sourabh J. Choure and Mun Hong Fong and Jihye Roh and Itai Levin and Kevin Yu and Joonyoung F. Joung and Nathan Morgan and Shih-Cheng Li and Xiaoqi Sun and Huiqian Lin and Mark Murnin and Jordan P. Liles and Thomas J. Struble and Michael E. Fortunato and Mengjie Liu and William H. Green Jr. and Klavs F. Jensen and Connor W. Coley},
  title = {{ASKCOS: an open source software suite for synthesis planning}},
  year = {2025},
  eprint = {2501.01835},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.01835},
}
Figure