Skip to content

REINVENT

AstraZeneca / AstraZeneca

REINVENT is a Python molecular-design toolkit that uses generative models, reinforcement learning and transfer learning for configurable small-molecule generation and optimization.

Catalog updated ·

Overview

REINVENT is a command-line molecular-design toolkit, rather than a single predictive model. Its documented scope includes de novo design, scaffold hopping, R-group replacement, linker design and molecule optimization. It combines generative models with reinforcement learning to direct molecule generation toward a user-defined property profile expressed through a multi-component score. Transfer learning provides a separate route for adapting or pre-training a model toward a supplied set of molecules.

The workflow starts with a selected model and run mode, configured primarily through TOML; JSON and YAML are also supported. The repository supplies configuration examples and accompanying guidance, while public prior models are linked through Zenodo. Users must adapt example file paths to their local installation. Outputs include generated molecules and diagnostic logging, with logs directed either to a file or to standard error. The scoring subsystem also supports custom Python plugins without requiring changes to REINVENT's core code.

The README specifies Python 3.11 or later and CPU or GPU execution, with automatic CPU fallback when no GPU is installed. It recommends a GPU particularly for transfer learning and model training, while noting that many reinforcement-learning scoring components run on the CPU. Platform validation is source-reported: Linux is described as fully validated, whereas Windows is less tested and has limited support. Optional OpenEye functionality requires a separate licence. The source excerpts do not establish benchmark performance or experimental success for generated molecules; evaluation should therefore distinguish configured scoring objectives from independently demonstrated chemical outcomes.

Key Features

  • Reinforcement-learning optimization against a user-defined property profile represented by a multi-component score.
  • Transfer learning to create or pre-train a generative model toward a set of input molecules.
  • Documented support for de novo design, scaffold hopping, R-group replacement, linker design and molecule optimization.
  • Command-line workflows configured through TOML, JSON or YAML, with sample configurations for all run modes.
  • Extensible scoring through Python namespace-package plugins that do not require modifications to core REINVENT code.
  • CPU and GPU execution, with command-line controls for device selection, random seed and logging.

Use Cases

  • Intended evaluation: assess de novo molecular generation against a project-specific multi-component property score, then independently examine the resulting candidates.
  • Intended evaluation: compare scaffold-hopping, R-group replacement or linker-design workflows for a small-molecule research problem using the appropriate documented model and run mode.
  • Intended evaluation: adapt a generative model toward a supplied molecular set through transfer learning and assess how the generated candidates relate to that input set.
  • Intended evaluation: integrate a project-specific scoring component through the plugin mechanism and verify its behavior before using it in optimization.

How to Use

  1. Read the official README and choose a design task, model and run mode. Review the repository's configs/ examples and their accompanying Markdown guidance before preparing a configuration.
  2. Follow the documented installation procedure in an isolated Python environment using Python 3.11 or later. Match the processor backend to your hardware using the linked PyTorch guidance; the README labels the uv route experimental.
  3. Obtain an appropriate public prior from Zenodo, or consult the documented internal-prior registry. Check model terms separately from the repository code licence.
  4. Adjust local file paths and configure the relevant scoring profile or transfer-learning inputs. Confirm separate licensing requirements if using OpenEye-dependent functionality.
  5. Run the configured workflow through the documented command-line interface, retaining configuration, seed and logs for evaluation. Inspect generated molecules and scoring behavior; treat chemical suitability as a separate assessment rather than an established result.

Related resources

AIDDISON Explorer is a hosted drug-discovery platform that generates and ranks molecular candidates against target profiles, design constraints, predicted properties and synthetic feasibility.

Molecular Generation · Drug Discovery

Chemistry42

Platforms

Chemistry42 is a small-molecule discovery platform combining generative design, retrosynthesis, ADMET and selectivity prediction, and physics-based prioritization for hit identification and lead optimization.

Molecular Generation · Drug Discovery

FEgrow

Open Source

FEgrow supports interactive ligand-series construction for free-energy preparation, with documented active-learning examples and Dask-based acceleration for molecular design workflows.

Open source

Molecular Generation · Drug Discovery

Makya

Platforms

Makya is Iktos’s generative AI SaaS platform for de novo molecular design, combining project objectives, synthesis constraints, and ligand- or structure-based modeling to guide compound selection.

Molecular Generation · Drug Discovery

AutoDock Vina

Open Source

AutoDock Vina is an open-source molecular docking and virtual screening program with Vina and AutoDock4.2 scoring, multi-ligand docking, macrocycle support and Python 3 bindings.

Open sourcePython

Drug Discovery

Boltz

Model

Boltz is a biomolecular interaction model family. Boltz-2 provides workflows for complex structure and binding affinity prediction.

Open sourcePython

Drug Discovery

Related guides

Workflows

AI for Drug Discovery: Agents, MCP Servers and Platforms

Choose tools by workflow stage: target evidence, protein structures, known binding sites, molecular generation, property analysis and screening. Compare research agents, MCP integrations, hosted APIs and platforms, with a proposed end-to-end example and practical evaluation gates.

Agents

AI Agents for Chemistry: From Chatbots to Autonomous Research

A practical guide to eight chemistry and biomedical research agents: how tools, memory, planning and multi-agent roles work, which projects fit different tasks, and how to evaluate bounded autonomy with scientific oversight.

Workflows

Protein & Structural Biology AI Workflow

Build an evidence-led protein workflow from UniProt identity and sequences to RCSB structure metadata, observed ligand contacts, and proposed downstream candidate evaluation—with explicit checks for species, isoforms, chains, missing data, and experimental validation.