# An LLM-Based Intelligent Agent and Its Application in Making the Lanolin Saponification Process Greener

**Authors:** Qinglin Wang, Yu Wang, Xingchu Gong

PMC · DOI: 10.3390/ph19020264 · 2026-02-03

## TL;DR

This paper introduces SapoMind, an AI-powered system that makes the production of lanolin alcohol more environmentally friendly by optimizing the saponification process.

## Contribution

The novel integration of large language models with microfluidic technology to optimize a green chemical process.

## Key findings

- SapoMind optimized saponification to reduce carbon emissions by 53% and solid waste by 37%.
- The optimized process achieved a greenness score of 93, up from 82 in traditional methods.
- Lanolin alcohol produced met European Pharmacopoeia standards under the new conditions.

## Abstract

Objectives: The industrial production of lanolin alcohol currently employs batch saponification, which suffers from high energy consumption, prolonged processing time, and excessive solid waste generation, rendering it incompatible with green chemistry principles. This study aimed to develop an efficient, sustainable saponification process by addressing these limitations through integrating large language models (LLMs) with microfluidic technology. Methods: An LLM-based intelligent agent called SapoMind (version 1.0) was constructed. SapoMind employs LLMs as its software core and a continuous-flow microreactor as the experimental platform. Its performance was enhanced through supervised fine-tuning. The system enables automated recommendation of saponification process parameters, autonomous experimental design, and automatic execution of experiments. Saponification conditions were automatically optimized considering product quality, energy consumption, material consumption, and time consumption. Results: The optimal continuous-flow saponification conditions were determined as 70 °C reaction temperature and 9 min residence time, producing lanolin alcohol complying with European Pharmacopoeia standards. Compared to batch processing, the optimized process reduced carbon emissions by 53% and solid waste by 37%, with the greenness score increasing from 82 to 93. Conclusions: This study demonstrates the effectiveness of LLM-driven intelligent agents in optimizing green chemical processes. SapoMind offers significant environmental and operational benefits for lanolin alcohol production.

## Full-text entities

- **Diseases:** LLMs (MESH:D007806), injury to (MESH:D014947), SFT (MESH:C566019), dry eye syndrome (MESH:D015352)
- **Chemicals:** cholesterol (MESH:D002784), lanosterol (MESH:D007810), water (MESH:D014867), Acetonitrile (MESH:C032159), perovskite (MESH:C059910), Carbon (MESH:D002244), acid (MESH:D000143), Lanolin (MESH:D007809), n-Octane (MESH:C026728), PTFE (MESH:D011138), alcohol (MESH:D000438), CO2 (MESH:D002245), Alkali (MESH:D000468), Potassium hydroxide (MESH:C029943), cholesterol esters (MESH:D002788), oil (MESH:D009821), 32B (-), n-butanol (MESH:D020001)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Figures

7 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12943705/full.md

---
Source: https://tomesphere.com/paper/PMC12943705