Polymer-Agent: Large Language Model Agent for Polymer Design

Vani Nigam, Amir Barati Farimani · DOI

Abstract

On-demand polymer discovery is essential for various industries, ranging from biomedical to reinforcement materials. Traditionally, polymer experimentation involves a long trial-and-error process, consuming extensive resources. While machine learning has accelerated scientific discovery in property prediction and latent space search, laboratory researchers often lack the infrastructure or coding expertise to access these models. We present Polymer-Agent, a closed-loop polymer structure-property predictor integrated into a terminal for early-stage discovery. Powered by Large Language Model (LLM) reasoning, the framework provides property prediction, property-guided generation, and structure modification. SMILES sequences are guided by synthetic accessibility and complexity scores (SC Score) to ensure generated polymers are synthetically feasible. This framework provides computational insights directly to laboratory researchers, bridging the gap between advanced ML models and practical application.

Introduction

Discovering new polymers for applications such as biomedical scaffolds or solar cells is traditionally a slow, expensive laboratory process. While machine learning (ML) has the potential to accelerate this by predicting properties and generating novel structures, these models are often siloed and difficult for wet-lab chemists to use. Accessing them typically requires significant coding expertise and complex infrastructure management. Polymer-Agent addresses this usability gap by creating an "agentic" workflow where an LLM acts as a reasoning engine, autonomously utilizing external ML tools to design, test, and refine polymers based on natural language requests.

System Architecture and Methods

The core of Polymer-Agent is an LLM orchestrator (e.g., Gemini) utilizing the Model Context Protocol (MCP). This framework allows the LLM to seamlessly plug into external tools and databases, acting as a unified interface for complex scientific tasks.

Overview of the Polymer-Agent closed-loop architecture showing the interaction between the reasoning agent, generation server, and prediction server.

The agent relies on two primary specialized ML components:

  1. SMILES Generation (Molecule Chef): A generative model fine-tuned to explore a continuous latent space and output valid polymer structures (SMILES strings). It is specifically biased toward molecules that can be synthesized from common reactants.
  2. Property Prediction (TransPolymer): A Transformer-based model that predicts physical properties, such as bandgap and conductivity, from SMILES strings.

As shown in the architecture diagrams, the system operates in a closed loop. When a user requests a polymer with specific properties, the LLM calls the generation tool to create candidates, then passes them to the prediction tool for verification. If the candidates do not meet the target, the LLM uses chemical reasoning to suggest structural modifications, which are then re-tested.

Detailed view of the Model Context Protocol (MCP) integration, highlighting the specific prediction and optimization tools available to the agent.

Datasets and Training

The underlying models were fine-tuned on high-quality datasets to ensure scientific accuracy:

  • Generation: The Open Macromolecular Genome (OMG) database, featuring 12 million distinct constitutional repeating units (CRUs).
  • Prediction: Specialized datasets including PE-I (conductivity), Egb (bulk bandgap), Eea (electron affinity), EPS (dielectric constant), and OPV (power conversion efficiency).

Key Insights and Results

  • The Necessity of Supervision: While LLMs can suggest chemically logical modifications, these changes do not always align with the model's latent space. The agentic framework mitigates this by forcing the LLM to validate every hypothesis through the TransPolymer tool, catching "hallucinations" before they reach the user.
  • Synthesizability: Unlike many generative models that produce theoretically perfect but impossible molecules, Polymer-Agent prioritizes real-world viability. Candidates are evaluated using Synthetic Accessibility (SA) and Synthetic Complexity (SC) scores. For instance, a polymer generated for a specific dielectric constant achieved an SA score of 3.48, indicating it is relatively easy to synthesize.
  • Performance: In optimization tasks, the agent successfully generated novel polymers hitting precise targets, such as an electrical conductivity of -5.37 log S/cm against a target of -5.3. Its predictions match or exceed established platforms like Polymer Genome while offering the unique advantage of de novo generation.

Conclusion

Polymer-Agent demonstrates the power of integrating LLMs with specialized scientific tools via the Model Context Protocol. While current limitations include the precision of the LLM's internal chemical reasoning and the sparsity of polymer databases, the framework is highly modular. Future work will focus on expanding the MCP toolbelt to include Molecular Dynamics (MD) simulations and more robust computational characterization, further narrowing the gap between AI-driven design and laboratory reality.

Summary updated

BibTeX
@misc{nigam2026polymer,
  author = {Vani Nigam and Amir Barati Farimani and Amir Barati Farimani},
  title = {{Polymer-Agent: Large Language Model Agent for Polymer Design}},
  year = {2026},
  eprint = {2601.16376},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.16376},
}
Figure