# ReTRACE: Feedback-Guided LLM Agent in a Chemistry Harness for Retrosynthesis Planning

arXiv: https://arxiv.org/abs/2610.24744 · HTML: https://mlsanity.com/paper/2610.24744/

## Key facts

- No citing papers in the map yet (data through 24 Nov 2026).
- Placed in Medical and scientific domain agents, one of 16 directions in LLM agents and tool use.
- Builds on 14 of its 38 references that are in the map.
- Submitted 17 Oct 2026.

## Placed in

- LLM agents and tool use / [Medical and scientific domain agents](https://mlsanity.com/agents/medical-and-scientific-domain-agents/)

## Builds on (most cited first, 14 of 14)

- [DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models](https://mlsanity.com/paper/2402.03300/) (2024)
- [SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering](https://mlsanity.com/paper/2405.15793/) (2024)
- [ChemCrow: Augmenting large-language models with chemistry tools](https://mlsanity.com/paper/2304.05376/) (2023)
- [Self-Distillation Enables Continual Learning](https://mlsanity.com/paper/2601.19897/) (2026)
- [Measuring AI Ability to Complete Long Software Tasks](https://mlsanity.com/paper/2503.14499/) (2025)
- [Learning to Plan Chemical Syntheses](https://mlsanity.com/paper/1708.04202/) (2017)
- [Molecule Edit Graph Attention Network: Modeling Chemical Reactions as Sequences of Graph Edits](https://mlsanity.com/paper/2006.15426/) (2020)
- [Retro*: Learning Retrosynthetic Planning with Neural Guided A* Search](https://mlsanity.com/paper/2006.15820/) (2020)
- [Permutation invariant graph-to-sequence model for template-free retrosynthesis and reaction prediction](https://mlsanity.com/paper/2110.09681/) (2021)
- [Chemical reasoning in LLMs unlocks strategy-aware synthesis planning and reaction mechanism elucidation](https://mlsanity.com/paper/2503.08537/) (2025)
- [LLM-Augmented Chemical Synthesis and Design Decision Programs](https://mlsanity.com/paper/2505.07027/) (2025)
- [Chemist-aligned retrosynthesis by ensembling diverse inductive bias models](https://mlsanity.com/paper/2412.05269/) (2024)
- [LARC: Towards Human-level Constrained Retrosynthesis Planning through an Agentic Framework](https://mlsanity.com/paper/2508.11860/) (2025)
- [RetroDFM-R: Reasoning-Driven Retrosynthesis Prediction with Large Language Models via Reinforcement Learning](https://mlsanity.com/paper/2507.17448/) (2025)

## Abstract (arXiv)

Computer-aided retrosynthesis has progressed through single-step prediction, tree search and route scoring, yet complex targets still require route-level judgement where stereochemistry, functional-group compatibility, cost and greenness interact. Here we present textbfmboxReTRACE (REtrosynthesis with Tool-orchestrated Reasoning And Context-aware Evidence), an agent that places a large language model (LLM) inside a deterministic chemistry harness integrating molecular tools, heterogeneous single-step prediction engines, purchasable building-block libraries, an external route memory and a multi-criterion evaluator. To assess chemical validity beyond stock termination, we introduce Audit@k, a two-stage metric combining programmatic structural checks with adversarial LLM review that closely tracks expert judgement. ReTRACE learns from harness feedback on two timescales: within a run, it diagnoses weak sub-scores and backtracks to revise disconnections; across runs, trajectories and audit verdicts are distilled through a three-stage post-training pipeline into an open-weight coordinator, ReTRACE-27B, which completes routes for all 40 evaluation targets and raises Audit@1 from 11/40 (27.5%) to 23/40 (57.5%). Across Retro*-190, JMC2025 and FDA30, ReTRACE with GPT-6.2 Astra achieves Audit@1 of 97.9%, 99.3% and 96.7%, and Audit@10 of 99.5%, 100.0% and 100.0%, respectively. Two prospective wet-lab syntheses demonstrate that ReTRACE proposals translate into executable procedures after expert revision.
