Implementing AI for Science: From Research Agents to Verifiable Workflows

    AI for Science (AI4S) is evolving from basic retrieval and Q&A to active participation in research analysis and experimental decision-making. This article explores the transition from general AI assistants to specialized research agents capable of executing complete, closed-loop scientific workflows. It covers core technological shifts, typical use cases in biomedicine, drug discovery, and materials science, and outlines a five-layer reference architecture for building verifiable AI4S systems. Additionally, it highlights common implementation pitfalls and offers a phased approach for developers to build reliable, auditable intelligent workflows.

    As the capabilities of large language models (LLMs) continue to grow, AI for Science (AI4S) is transitioning from “assisting with retrieval and Q&A” to “participating in research analysis and experimental decision-making.” Compared to traditional general-purpose AI assistants, scientific research agents need to understand professional literature, process structured and unstructured data, invoke analysis tools, and validate and explain results. Therefore, the core of AI4S is not simply plugging an LLM into a scientific scenario, but rather building a technical system comprising models, data, tools, experimental workflows, and evaluation frameworks.

    Based on current public industry practices, notable changes are concentrated in two areas: first, LLMs are beginning to enter real research workflows; second, research institutions and tech companies are exploring a combined model of “model capability plus professional agents.” The former means AI no longer remains in peripheral tasks like generating summaries or writing reports. The latter indicates that general models require domain knowledge, tool invocation, and workflow orchestration to genuinely undertake research tasks.

    1. Core Changes in AI4S: From Conversational Q&A to Task Closed-Loops

    Traditional research software typically consists of tools with well-defined functions, where data cleaning, statistical analysis, visualization, and simulation are handled by different programs. Researchers must independently understand data formats, configure parameters, execute workflows, and interpret results. This model is highly specialized but incurs high learning and collaboration costs.

    The goal of a research agent is to organize these fragmented steps into a relatively complete task closed-loop:

    1. Understand the research objectives;
    2. Identify data types and analysis conditions;
    3. Formulate an executable analysis plan;
    4. Invoke appropriate computational tools;
    5. Generate intermediate and visualized results;
    6. Conduct quality checks on the results;
    7. Output conclusions, candidate directions, and recommendations for subsequent experiments.

    Taking biomedical research as an example, a user might simply request to “analyze the developmental relationship of a certain cell type and identify potential regulatory genes.” A mature agent should not merely generate a textual explanation; it should further determine whether the data is a single-cell expression matrix, check the number of samples and genes, complete quality control, dimensionality reduction, clustering, trajectory analysis, and differential expression analysis, and finally link candidate genes to cell state changes.

    This illustrates that the value of AI4S is not just “letting researchers write less code,” but more importantly, reducing the organizational cost of complex analysis workflows, allowing researchers to focus more on problem definition, result interpretation, and experimental design.

    2. Technological Paths Reflected in Typical Cases

    Public information indicates that a research technology platform has integrated a biomedical agent with a general LLM to process single-cell gene data from mouse embryonic pancreatic cells. This task involves thousands of cell samples, requiring the agent to complete cell state recognition, developmental relationship analysis, and candidate gene screening.

    Such cases highlight several important signals.

    2.1 Data Scale has Moved from Demo-Level to Real-Research-Level

    Data in scientific scenarios is rarely “clean.” Single-cell data may suffer from variations in sequencing depth, low-quality cells, batch effects, sparse gene expression, and inconsistent sample sources. If an agent only processes curated, small-scale examples, it cannot prove its actual research value.

    When tasks begin to cover thousands of cells and numerous gene features, the system must possess capabilities for data preprocessing, resource management, and anomaly detection. The LLM is primarily responsible for understanding tasks, planning workflows, and explaining results, while specific computations should be handled by professional analysis programs or high-performance computing environments. This division of labor—“models decide, tools compute”—is currently a highly practical technological route.

    2.2 Results Output has Shifted from Single Answers to Multi-Layered Research Products

    Scientific analysis rarely has a simple “correct answer.” A complete output typically includes:

    • Data quality assessment;
    • Cell clustering or classification results;
    • Cell developmental relationship diagrams;
    • Lists of differentially expressed genes;
    • Rationale for candidate gene screening;
    • Explanations of statistical significance and uncertainty;
    • Reproducible analysis steps;
    • Recommendations for subsequent validation experiments.

    Therefore, evaluating a research agent should not only look at whether the final text is fluent, but also whether the intermediate process is complete, whether the analysis methods are reasonable, whether the results are reproducible, and whether the conclusions exceed what the data can support.

    2.3 Agents are Becoming the Main Carrier for LLMs to Enter Vertical Domains

    General LLMs possess strong language understanding and task planning capabilities, but they do not inherently master complete research workflows. Domain agents typically incorporate the following modules:

    • Professional knowledge base;
    • Data format recognizer;
    • Analysis tool registry;
    • Workflow orchestrator;
    • Code execution environment;
    • Result validator;
    • Documentation and report generator.

    Through these modules, the model can translate natural language requirements into executable tasks. For example, it first identifies the data type and then selects an analysis method; if it detects batch differences in the samples, it adds a correction step; if there are too many candidate genes, it uses a hierarchical ranking based on expression changes, cell specificity, and literature evidence.

    3. Extending from Biomedicine to Drug and Materials R&D

    Beyond biological data analysis, another critical direction for AI4S is drug and materials R&D. Although these two domains differ, they share technological structural similarities: both require screening from a vast candidate space and progressively narrowing the scope through simulation, prediction, and experimentation.

    Typical Workflow in Drug R&D

    Drug R&D typically involves target analysis, molecular generation, property prediction, virtual screening, synthesis route design, and experimental validation. Agents can undertake the following tasks within this process:

    1. Organize disease mechanisms, targets, and existing research evidence;
    2. Generate candidate molecules based on constraints;
    3. Predict the activity, solubility, and safety of candidate molecules;
    4. Invoke structural analysis or simulation tools;
    5. Perform multi-objective ranking of candidate results;
    6. Output experimental priorities and risk explanations.

    It is important to note that generated molecular results cannot be directly equated to usable drugs. Model-generated structures must undergo checks for chemical synthesizability, stability, toxicity, and experimental verifiability. The agent’s role is better positioned as “expanding the search scope, reducing repetitive labor, and assisting decision-making,” rather than replacing experimental validation.

    Typical Workflow in Materials R&D

    Materials design is similarly a multi-objective optimization problem. Researchers might simultaneously focus on strength, conductivity, stability, cost, environmental adaptability, and fabrication difficulty. Agents can help researchers construct a candidate material space by integrating historical experimental data, simulation results, and domain literature.

    In this process, the system needs to handle data from multiple sources, including experimental records, structural descriptions, performance metrics, and process conditions. Compared to standard text Q&A, materials R&D relies more heavily on structured data management, physical constraints, and simulation tool invocation. Without these external capabilities, models are prone to generating solutions that appear reasonable but cannot be fabricated or validated.

    4. Reference Architecture for AI4S Systems

    A deployable research agent can generally be divided into five layers.

    Layer 1: Interaction and Task Understanding

    This layer is responsible for receiving natural language requirements from researchers and decomposing them into objectives, constraints, input data, and expected outputs. For example:

    • What is the research object;
    • What experiment the data comes from;
    • Whether there are time, cost, or sample limitations;
    • Whether the goal is exploration, prediction, or validation;
    • Whether the final result requires a report, charts, or a candidate list.

    Layer 2: Knowledge and Data

    This layer stores professional literature, experimental records, data dictionaries, analysis specifications, and historical results. For scientific scenarios, the knowledge base cannot just store text; it must also retain sources, timestamps, versions, and applicable conditions.

    When building a knowledge base, efforts should be made to:

    • Ensure every key conclusion has a source;
    • Manage literature content and experimental data separately;
    • Provide clear semantic definitions for data fields;
    • Record data processing and version changes;
    • Implement access controls for sensitive data.

    Layer 3: Tools and Compute

    The model itself should not handle large-scale matrix computations, statistical tests, or complex simulations. The system should connect to professional programs, scripting environments, databases, and computing resources through a tool invocation mechanism.

    Tool invocation requires clearly defined input and output formats, for example:

    1. {
    2. "tool": "single_cell_analysis",
    3. "input": {
    4. "data_path": "expression_matrix",
    5. "quality_control": true,
    6. "batch_correction": "optional"
    7. },
    8. "output": {
    9. "clusters": "cluster_table",
    10. "trajectory": "trajectory_result",
    11. "candidate_genes": "gene_list"
    12. }
    13. }

    The focus here is not the specific tool name, but establishing a stable interface contract so the model knows what the tool can do, what parameters it needs, and how the results should be interpreted.

    Layer 4: Workflow Orchestration and Intelligent Decision

    This layer is responsible for planning task steps, selecting tools, handling exceptions, and deciding whether human confirmation is needed. Research tasks are rarely completed in a single call; the system may need to dynamically adjust the workflow based on intermediate results.

    For instance, if quality control reveals a large number of low-quality samples, the system should prompt the user to address the data first rather than proceeding directly to downstream analysis. If clustering results from different methods vary significantly, a stability comparison should be conducted, and the uncertainty should be explicitly presented.

    Layer 5: Validation and Audit

    The validation layer is the key differentiator between a research agent and a standard office assistant. It needs to check:

    • Whether the code executed successfully;
    • Whether the data matches the expected format;
    • Whether the statistical method matches the data type;
    • Whether charts and tables are consistent;
    • Whether conclusions are supported by evidence;
    • Whether there are fabricated citations or results from the model;
    • Whether the same input can yield reproducible output.

    For critical conclusions, a complete task log should also be saved, including prompts, tool invocations, parameter settings, data versions, and final outputs.

    5. Easily Overlooked Issues During Implementation

    5.1 Models “Explain” Incorrect Results

    LLMs excel at organizing language, but fluent language does not equate to correct scientific conclusions. If upstream statistical analysis is biased, the model might package the erroneous result into a seemingly plausible explanation. Therefore, the system must present raw results, statistical metrics, and conclusions separately to prevent textual descriptions from masking data issues.

    5.2 High Difficulty in Data Standardization

    Research data often suffers from inconsistent naming, differing units, and varied methods for handling missing values. Without data standardization, models struggle to reuse experiences across projects. When building AI4S systems, enterprises should prioritize perfecting data dictionaries, metadata management, and version control, rather than immediately pursuing complex intelligent interactions.

    5.3 Evaluation Criteria Cannot Solely Rely on Speed

    Evaluating a research agent should cover at least four dimensions:

    • Correctness: Are the analyses and conclusions reliable?
    • Reproducibility: Can the same data reproduce the main results?
    • Explainability: Is a sufficient chain of evidence provided?
    • Efficiency: Does it reduce manual operations and trial-and-error costs?

    If a system is measured only by response time or text quality, it is easy to end up with results that “look intelligent but are practically unusable.”

    5.4 Clear Boundaries for Human-Machine Collaboration

    For tasks involving experimental resources, clinical judgments, or high-risk decisions, agents should not execute final decisions directly. A more reasonable approach is to establish a tiered approval mechanism: routine data organization can be automated, important analyses require researcher confirmation, and experimental plans and key conclusions must be reviewed by professionals.

    6. How Enterprises and Developers Should Proceed

    It is recommended to adopt a route of “validating small tasks, gradually expanding the scope.”

    Phase 1: Select tasks with relatively standard workflows and easily verifiable results, such as data quality checks, literature organization, basic statistics, and report generation.

    Phase 2: Introduce tool invocation and automated workflows, enabling the system to complete continuous, multi-step analyses and save process records.

    Phase 3: Connect to internal knowledge bases, experimental data, and computing resources to form professional agents tailored to specific research directions.

    Phase 4: Establish evaluation sets and audit mechanisms to continuously compare different models, workflows, and data conditions.

    In terms of infrastructure, general cloud capabilities like object storage, databases, container platforms, task scheduling, logging services, and monitoring alerts can be used on demand. The focus should not be on stacking products, but on ensuring data security, task stability, controllable resources, and traceable results.

    7. Conclusion

    The true value of AI for Science lies not in how well a model performs in a single Q&A session, but in whether LLMs can be embedded into real research workflows to continuously perform data understanding, tool invocation, result validation, and knowledge accumulation.

    From single-cell data analysis to drug and materials R&D, the industry is forming a relatively clear technological paradigm: general models handle understanding and planning, professional tools handle computation, domain knowledge provides constraints, validation systems ensure quality, and researchers make the final judgments.

    In the future, the competitive focus of AI4S may no longer be just model scale, but data quality, tool ecosystems, workflow reliability, evaluation systems, and collaboration efficiency with researchers. For developers, the most important task is not simply connecting an LLM, but building intelligent workflows capable of entering production environments—workflows centered around reproducible, explainable, and auditable research tasks.