TLDR: LARC is a novel AI framework that utilizes large language models (LLMs) and specialized chemistry tools to plan chemical synthesis routes while adhering to specific constraints, such as avoiding hazardous substances. It features an ‘Agent-as-a-Judge’ (EVALUATOR) that assesses reactions using tools and a ‘SYNTHESIZER’ that integrates these evaluations into the planning process. LARC achieves high success rates, outperforming other AI models and approaching human expert performance in significantly less time, demonstrating the power of agentic AI in accelerating scientific discovery in chemistry.
In the world of chemistry, designing synthetic routes to create desired molecules from available starting materials is a fundamental yet incredibly complex task. This process, known as retrosynthesis planning, becomes even more challenging when practical constraints are introduced, such as avoiding hazardous substances or specific reaction types. Traditional artificial intelligence (AI) methods have largely focused on unconstrained retrosynthesis, leaving a significant gap in addressing these real-world limitations.
A groundbreaking new framework, LARC (LLM-based Agentic framework for Retrosynthesis planning under Constraints), aims to bridge this gap. Developed by researchers at The Ohio State University, LARC leverages the power of large language models (LLMs) and specialized chemistry tools to guide and constrain the route generation process, bringing AI closer to human-level performance in this critical area.
How LARC Works
LARC introduces an innovative approach by incorporating an “Agent-as-a-Judge” directly into the retrosynthesis planning. This agent, called EVALUATOR, is equipped with chemistry tools and provides feedback that dynamically guides the route generation. The framework has two main components:
The EVALUATOR acts as a judge, assessing whether individual reactions within a proposed synthetic route satisfy the specified constraints. It does this in two phases: first, it plans how to evaluate the constraint by generating specific instructions and identifying which tools to use. Second, it evaluates the reactions, either using its own intrinsic knowledge or by consulting external tools. These tools include a carcinogen predictor, a pyrophoricity predictor (for substances that ignite spontaneously in air or water), and a molecule identifier. The EVALUATOR then assigns a score (1-5) to each reaction, indicating how well it satisfies the constraint.
The SYNTHESIZER is responsible for exploring and constructing the synthetic routes. It builds upon existing unconstrained retrosynthesis planners but adapts them to consider constraints. By combining its inherent value function (which prioritizes short, feasible routes) with the EVALUATOR’s constraint scores, the SYNTHESIZER creates a new, constraint-aware value function. This allows it to prioritize routes that not only are chemically sound but also adhere to the specified safety or other practical constraints.
Impressive Results and Human-Level Performance
LARC was rigorously tested on a curated set of 48 constrained retrosynthesis planning tasks, covering three types of constraints: avoiding carcinogens, pyrophoric substances, and user-specified hazardous substances. The results were highly promising.
Overall, LARC achieved a 72.9% success rate across all tasks. For carcinogen-constrained tasks, LARC Mistral (a version using a smaller LLM) achieved an 82.1% success rate, vastly outperforming general-purpose LLM baselines, which struggled significantly. Notably, LARC Mistral approached the success rate of a human expert (85.7%) but completed the tasks in substantially less time (16.45 minutes on average per successful route compared to the expert’s 70.42 minutes).
Interestingly, LARC Mistral, which uses a smaller, open-source LLM, often outperformed LARC Claude, which uses a much larger, proprietary LLM. This highlights that the effectiveness of LARC comes not just from the size of the LLM, but from its ability to effectively integrate and leverage specialized chemistry tools for grounded decision-making.
Case studies further demonstrated LARC’s capabilities, showing that it can mimic human retrosynthesis planning logic and, in some instances, even propose more efficient or better synthetic routes than human experts. This is partly due to LARC’s systematic checks for commercial availability and its consistent adherence to constraints, which can sometimes be overlooked or biased in human planning.
Also Read:
- Retro-Expert: A Framework for Explainable Chemical Synthesis
- Improving LLM Graph Reasoning with a Human-Inspired Collaborative Framework
The Future of Chemical Discovery
LARC represents a significant step towards autonomous and scalable AI in scientific discovery. By reducing reliance on time-consuming manual efforts and enabling the exploration of vast chemical spaces under complex constraints, LARC has the potential to accelerate and optimize outcomes in constrained retrosynthesis planning. While the current version addresses a simplified set of constraints, it serves as a compelling proof-of-concept for the transformative potential of agentic AI in synthetic chemistry.
The researchers acknowledge that further work is needed, particularly in developing more robust and scalable evaluation and validation methods for AI-generated routes, potentially incorporating physics-based models or, ultimately, laboratory testing. However, LARC clearly demonstrates that equipping AI agents with appropriate tools can lead to near-human expert performance, making them invaluable co-scientists for chemists.
For more details, you can read the full research paper: LARC : Towards Human-level Constrained Retrosynthesis Planning through an Agentic Framework.


