> For the complete documentation index, see [llms.txt](https://docs.pending.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pending.ai/capabilities/retrosynthesis.md).

# Retrosynthesis

High-throughput retrosynthesis for screening large compound libraries

{% hint style="info" %}
Pending AI’s various capabilities are powered by artificial intelligence which is an experimental technology and may occasionally be misleading or incorrect.
{% endhint %}

Pending AI's retrosynthesis services find multi-step synthetic routes from purchasable building blocks to a target molecule, fast enough to screen whole compound libraries rather than a handful of leads. They combine deep learning models of reaction chemistry with tree search, for both novel and existing molecules.

Synthesis is a major bottleneck in drug discovery. Checking synthetic feasibility early, before the Make stage of the Design-Make-Test-Analyse (DMTA) cycle, means chemists spend their time on molecules that can actually be made.

* <mark style="color:$primary;">**Feasible routes**</mark>: Deep learning models trained on known reactions propose each retrosynthetic step, and a tree search assembles the steps into complete routes that end in purchasable building blocks.
* <mark style="color:$primary;">**High throughput**</mark>: Built to screen the synthetic accessibility of hundreds of thousands of molecules a day, so hard-to-make candidates can be filtered out early.
* <mark style="color:$primary;">**Usable results**</mark>: Each route is returned as a reaction tree, step by step, with the building blocks it uses.

***

## Two services

Pending AI offers retrosynthesis through two services. Both find routes to a target molecule; they differ in how they search and what they return.

<table data-card-size="large" data-view="cards"><thead><tr><th align="center"></th><th align="center"></th></tr></thead><tbody><tr><td align="center"><i class="fa-flask">:flask:</i> <strong>PAI Retro</strong></td><td align="center">Retrosynthesis with a deep-learning Monte Carlo Tree Search (MCTS). Choose the engine and building block libraries, and how many routes to return. Submit molecules as jobs, or as batches of up to 100,000.</td></tr><tr><td align="center"><i class="fa-atom-simple">:atom-simple:</i> <strong>PAI Synth</strong></td><td align="center">Tree search over reaction templates, with vendor pricing and lead times for every building block, so routes can be ranked by cost and sourcing. Run one molecule in a single request, or batches of up to 100,000.</td></tr></tbody></table>

Use **PAI Retro** to explore routes with control over the engine and libraries. Use **PAI Synth** when the cost and availability of building blocks matter, or when you want routes for one molecule in a single request.

{% content-ref url="/pages/vJ7Gd0Hgw185Lq5YZ76K" %}
[PAI Retro](/api-reference/pai-retro.md)
{% endcontent-ref %}

{% content-ref url="/pages/2aH4FuBil5E1epftLaws" %}
[PAI Synth](/api-reference/pai-synth.md)
{% endcontent-ref %}

***

## Applications

Retrosynthesis at this scale used to be too slow to use routinely, so candidates were filtered by hand or by heuristic scores. Running it on whole libraries opens up new uses within the DMTA cycle:

<table data-card-size="large" data-view="cards"><thead><tr><th align="center"></th><th align="center"></th></tr></thead><tbody><tr><td align="center"><i class="fa-memo-circle-check">:memo-circle-check:</i> Assess Synthetic Accessibility</td><td align="center">Filter candidates from virtual screening campaigns, or from libraries sampled with <a data-mention href="/capabilities/generative-ai.md">Generative AI</a>, down to the ones that can be made.</td></tr><tr><td align="center"><i class="fa-route">:route:</i> Route Design &#x26; Optimisation</td><td align="center">Find cheaper, shorter, or more scalable routes for existing products from chosen building block libraries. PAI Synth ranks routes by the cost of their building blocks.</td></tr><tr><td align="center"><i class="fa-lock">:lock:</i> Proprietary Libraries</td><td align="center">Retrosynthesis models can be customised with proprietary reaction data or building block libraries.</td></tr><tr><td align="center"><i class="fa-robot">:robot:</i> Automated Synthesis Integration</td><td align="center">Feed routes directly into automated synthesis platforms, electronic laboratory notebooks, or AI-driven workflows.</td></tr></tbody></table>

***

## Features & Advantages

### 1. Chemically Aware AI

The search is guided by deep learning models trained on chemically diverse reaction data.

* <mark style="color:$primary;">**Reaction prediction**</mark>: Models trained on millions of unique chemical reactions predict viable precursors for a single retrosynthetic step.
* <mark style="color:$primary;">**Reaction templates**</mark>: Over 75,000 chemically relevant reaction templates, extracted from known reactions, keep the proposed steps within real-world reaction space.
* <mark style="color:$primary;">**Learned expansion policy**</mark>: A model trained on 71 million samples decides which reactions the tree search tries first for a given molecule, so it converges on good routes faster.

### 2. Scale and Customisation

* <mark style="color:$primary;">**Throughput**</mark>: Standard capacity of up to 400,000 queries a day. Contact us for larger campaigns.
* <mark style="color:$primary;">**Custom data**</mark>: Models can be customised and fine-tuned with proprietary data, such as in-house electronic laboratory notebook records, so routes favour chemistry you know works and building blocks you can get.
* <mark style="color:$primary;">**Building block awareness**</mark>: Routes end in commercially available building blocks, such as the in-stock subset of ZINC. PAI Synth also annotates each building block with vendor pricing and lead times to your delivery region.

### 3. Built for Chemists

The services are designed to support a medicinal chemist's judgement, not replace it.

* <mark style="color:$primary;">**Route diversity**</mark>: The search explores many distinct pathways, not just the first one found. PAI Synth groups routes that share a synthetic backbone, so you can compare genuinely different strategies.
* <mark style="color:$primary;">**Cost and sourcing**</mark>: With PAI Synth, each route carries the price and lead time of its building blocks, so you can weigh how hard a route is to source before going to the lab.
