Nature Methods | GDIIST, in collaboration with The Hong Kong Polytechnic Univers
2026.10.28

Recently, a collaborative team from the Guangdong Institute of Intelligence Science and Technology (hereinafter referred to as “GDIIST”), The Hong Kong Polytechnic University, Beijing Normal University, and other institutions developed CopilotJ, a conversational multi-agent system for bioimage analysis. The related research results have been officially published online in the internationally renowned academic journal Nature Methods.

This work addresses issues in biomedical image analysis such as complex operations, a high professional threshold, a fragmented tool ecosystem, and difficulty in reproducing analysis workflows. It proposes a conversational multi-agent framework deeply integrated with Fiji/ImageJ.

CopilotJ combines the task understanding and planning capabilities of large language models (LLMs) with the execution capabilities of traditional bioimage analysis software, enabling researchers to perform image processing, object detection and quantification, deep learning model invocation, and construction of complex analysis workflows through natural language. It also supports human interaction, result feedback, and workflow reuse, providing a new technical pathway for building a more intelligent, efficient, and reproducible bioimage analysis environment.

Research Background

From Traditional Image Analysis Tools to Intelligent Scientific Research Workflows

Bioimage analysis is an important technical foundation for modern life science, medical research, and drug discovery. With the development of technologies such as fluorescence microscopy and confocal microscopy, researchers can obtain increasingly large-scale and structurally complex biological imaging data. However, extracting reliable quantitative information from raw images still requires substantial manual operation and professional knowledge.

Fiji/ImageJ is a widely used open-source software platform in the field of bioimage analysis. It has a rich plugin ecosystem and mature image processing capabilities and has been applied in cell segmentation, tissue morphology quantification, fluorescence signal analysis, object tracking, and many other fields. However, in actual research practice, researchers usually need to be familiar with the functions and parameter configurations of different plugins, repeatedly operate through graphical interfaces, or write macros, Python scripts, and other scripts to complete complex tasks.

For biomedical researchers lacking programming experience, the design and implementation of complex analysis workflows often involve a high technical threshold. In addition, analysis tools required for different tasks may be scattered across multiple software environments, making flexible collaboration difficult. Even if analysis is successfully completed, saving, migrating, and batch reuse of workflows may still be difficult.

In recent years, the rapid development of large language models (LLMs) has provided new opportunities for the intelligentization of research software. These AI tools can already assist researchers in writing analysis scripts, explaining algorithm principles, and finding relevant documentation, but traditional chat-based assistance usually still requires users to manually copy code, switch software, execute commands, and handle runtime errors.

Therefore, how to transform AI from a conversational assistant that provides analysis suggestions into an agent that can directly invoke research tools, execute analysis tasks, and collaborate with researchers has become an important direction for advancing the intelligentization of bioimage analysis.

图片1.png

Figure 1. Overview of the CopilotJ system and representative bioimage analysis tasks.

Core Methods

A Conversational Multi-Agent Architecture for Fiji/ImageJ

To address the above issues, the research team developed CopilotJ. Unlike traditional assistance that provides operational suggestions only through text-based conversation, CopilotJ directly connects AI agents to the Fiji/ImageJ software environment and builds a complete workflow from research needs to actual analysis results through natural language understanding, task planning, tool invocation, and execution feedback.

图片2.png

Figure 2. CopilotJ user interface.

The system mainly consists of three core parts: a conversational interaction frontend, a multi-agent collaboration backend, and CopilotJ Bridge directly integrated into Fiji/ImageJ.

图片3.png

Figure 3. CopilotJ software architecture.

First, at the natural language interaction level, researchers only need to describe their analysis goals, such as “identify nuclei in the image and count them” or “segment and quantify glomeruli in a set of tissue sections,” and the system can understand the task requirements and translate them into executable analysis steps. Users do not need to master all plugin operations in advance or write complete scripts.

Second, at the task planning and execution level, CopilotJ designs a collaboration framework composed of agents such as Leader, Kernel, Research, and Enhancement. Among them, the Leader Agent is responsible for parsing user goals, formulating task plans, and coordinating the execution process; the Kernel Agent is responsible for interacting with Fiji/ImageJ and related computing environments; the Research Agent provides knowledge retrieval and technical information support; and the Enhancement Agent assists in expanding the system's analysis capabilities.

Through the collaboration of multiple specialized agents, CopilotJ can combine ImageJ built-in functions, community plugins, Python scientific computing libraries, and deep learning models according to task requirements, reducing manual switching between different analysis environments.

Third, at the software integration level, the research team developed CopilotJ Bridge, which connects the multi-agent system with Fiji/ImageJ through a bidirectional communication mechanism, enabling agents to obtain software running status, send operation instructions, and receive execution results. This design retains the ImageJ environment familiar to researchers while endowing traditional software with natural language interaction and intelligent task execution capabilities.

In addition, CopilotJ introduces a human-in-the-loop mechanism, enabling researchers to inspect results, modify parameters, or intervene manually at key analysis steps. The system can also combine execution feedback and optional visual information to evaluate the current analysis state and attempt to adjust the execution plan when errors occur or results do not meet expectations.

This design does not simply pursue full autonomy, but emphasizes combining the automatic execution capabilities of agents with the professional judgment of researchers, preserving the controllability required for scientific analysis while improving efficiency.

Application Validation

From Basic Image Processing to Complex Biomedical Quantitative Analysis

To evaluate the analysis capabilities and scope of application of CopilotJ, the research team constructed a series of representative bioimage analysis scenarios, covering different types of tasks such as basic image processing, computational imaging, domain-specific quantitative analysis, multi-step analysis workflows, and deep learning extension.

图片4.png

Figure 4. CopilotJ conversation example.

In basic image processing tasks, CopilotJ can perform common operations such as image enhancement, thresholding, morphological operations, image stitching, and scale bar addition according to natural language instructions.

In biomedical quantitative analysis tasks, the system can organize multi-step analysis workflows to complete identification, segmentation, and measurement of cells or tissue structures. For example, in a glomerulus quantitative analysis scenario, CopilotJ can combine image preprocessing, object recognition, and statistical analysis to automatically count glomeruli in tissue sections and generate corresponding analysis results.

For complex tasks requiring collaboration across software tools, CopilotJ can also invoke Python scientific computing libraries and deep learning models, bridging traditional Fiji/ImageJ functions with modern AI algorithms. The system demonstrated extended applications including image super-resolution reconstruction, cell classification, and cell phenotyping.

图片5.png

Figure 5. CopilotJ deep learning extension functions.

In addition, in multi-stage tasks such as calcium imaging analysis, the system can organize multiple operational steps including motion correction, neuron segmentation, response classification, and result export, demonstrating its potential to handle complex biomedical analysis workflows.

The above experiments and cases show that CopilotJ can not only execute single image processing commands, but also coordinate multiple computational tools according to research goals to build cross-step, cross-environment end-to-end analysis workflows.

Reliability and Reproducibility

From One-Off Analysis to Reusable Workflows

In research practice, analysis systems must not only be able to complete tasks, but also pay attention to result reliability and process reproducibility. LLMs may be affected by model selection, generation randomness, and task complexity, leading to differences between different runs.

To this end, the research team conducted repeated tests using different LLM configurations on five representative analysis tasks to evaluate the task completion stability of CopilotJ.

The test results show that under the repeated experimental settings adopted, the task completion rates of different model configurations were approximately 84%–93%, indicating that CopilotJ has a certain degree of adaptability with support from different language models, while also reflecting that there is still room for further improving the stability of complex task execution.

In addition to task completion capability, another important design of CopilotJ is the persistent management of analysis workflows.

In traditional manual interactive image analysis, many specific operations and temporary parameter configurations are difficult to fully preserve, which may affect subsequent result reproduction and cross-dataset application. To address this issue, CopilotJ supports saving successful analysis processes as structured workflows, recording key operations, execution scripts, and related parameters, and re-executing existing analysis workflows through a workflow replay mechanism.

In batch image analysis scenarios, researchers can apply validated workflows to multiple data files, reducing repetitive manual operations. At the same time, workflows support saving and sharing, facilitating the exchange, reuse, and dissemination of mature analysis solutions among different researchers and teams, further promoting scientific collaboration and the standardization and reproducibility of analysis workflows. In addition, the system accumulates and reuses successful analysis experience through a knowledge base, providing references for planning subsequent similar tasks, thereby forming an analysis paradigm that connects intelligent execution, human validation, and experience reuse.

It should be noted that the ability to replay a workflow does not mean that all input data can automatically obtain accurate results. Facing different imaging conditions, sample differences, and complex analysis requirements, researchers still need to perform necessary quality control and result validation.

Research Significance and Application Prospects

Overall, CopilotJ explores a technical route that deeply integrates LLM-driven multi-agent technology with mature bioimage analysis software.

Unlike software solutions that rely on rebuilding a complete analysis ecosystem, CopilotJ is based on the existing Fiji/ImageJ tool system and further unleashes the application potential of mature image analysis software and its plugin ecosystem through agent orchestration and natural language interaction.

The value of the system is mainly reflected in three aspects.

First, it lowers the technical threshold for bioimage analysis. By describing analysis needs in natural language, researchers lacking programming experience can more conveniently use image processing tools and computational methods.

Second, it improves the execution efficiency of complex research tasks. Through multi-agent collaboration, task planning, tool invocation, code execution, and result feedback are integrated into a continuous analysis process, reducing repetitive manual interaction.

Third, it promotes the standardization and reproducibility of scientific analysis workflows. Through workflow saving, replay, and batch execution, successful analysis solutions can be reused, providing support for large-scale biomedical imaging research.

The research team hopes that the conversational agent architecture explored by CopilotJ can provide a reference for the development of future intelligent research software, enabling AI not only to undertake knowledge Q&A and code generation tasks, but also to further participate in the actual operation of research tools and the organization of analysis workflows.

In the future, with the development of vision-language models, scientific computing tools, and agent technologies, similar systems are expected to play a greater role in fields such as microscopy imaging, automated experiments, cross-modal data analysis, and intelligent scientific research workflows.

CopilotJ has been opened to the research community as an open-source project. Researchers can install relevant components through the Fiji/ImageJ plugin update mechanism and configure and use the system according to the project documentation.

Paper and Team Information

This research was completed through collaboration among GDIIST, The Hong Kong Polytechnic University, Beijing Normal University, and other institutions. Lu Zhaoqi, a doctoral student jointly trained by GDIIST and The Hong Kong Polytechnic University, and Yuan Zexin, a doctoral student jointly trained by GDIIST and Beijing Normal University, are co-first authors of the paper. Professor Ren Haiyun of Beijing Normal University, Professor Sun Lei of The Hong Kong Polytechnic University, and Research Fellow Wang Yimin of GDIIST are co-corresponding authors. GDIIST is the first corresponding institution. This research was supported by the National Natural Science Foundation of China and other projects.

Project homepage:

https://copilotj.chat/

Original link:

https://doi.org/10.1038/s41592-026-03290-9

 


COPYRIGHT © 2021

Copyright Guangdong Institute of Intelligence Science and Technology 

粤ICP备2021109615号 KCCN

公众号

Official Account