TL;DR
MorphoOrgaAgent is a multi-agent framework that allows biologists to analyze organoid microscopy images using simple natural language. By combining foundation models like SAM 3 with specialized tools like Cellpose, it automates the entire pipeline—from zero-shot instance segmentation to complex statistical analysis and professional report generation—without requiring a single line of code.
What Problem Does This Paper Address?
Organoids—3D tissue models grown in labs—are vital for studying cancer and testing drugs. However, analyzing them is a bottleneck. Extracting quantitative data (like size, shape, or count) usually requires manual, labor-intensive segmentation or custom coding skills that many experimental biologists lack.
While deep learning tools exist for these tasks, they are often "brittle," meaning they only work on specific datasets they were trained on. When faced with new organoid types or different imaging conditions, these models often fail. There is a clear need for a flexible, "zero-shot" system that can understand a researcher's high-level questions and execute the necessary technical steps autonomously.
Methods
The authors propose MorphoOrgaAgent, a system built on a centralized, shared state container called MorphoOrgaState. The workflow is orchestrated by three main components:
- TaskUnderstandingAgent: Powered by an LLM, this agent translates a user's natural language query (e.g., "Find the largest organoids") into a structured JSON analysis plan. It selects specific metrics and visualization types from a predefined pool.
- Hybrid-Prompt Segmentation Module: This is the "eyes" of the system. Because general-purpose models like SAM 3 don't inherently understand the biological concept of an "organoid," the authors use Cellpose to generate coarse geometric prompts. These, combined with the text prompt "cell cluster," guide SAM 3 to produce highly accurate, zero-shot instance masks.
- ReportAgent: Once segmentation and metric computation are complete, this agent synthesizes the findings into a structured markdown report. Crucially, it is constrained to use only the computed data, preventing the "hallucinations" common in LLMs.
Datasets
The system was evaluated using three high-quality, publicly available organoid datasets:
- OrganoID
- OrgaExtractor
- OrgaSegment
To test the agentic capabilities, the authors introduced MorphoOrgaVQA, a new benchmark consisting of 16 complex questions per image (1,104 total pairs). These questions range from "clear" (explicitly naming metrics) to "open" (using colloquial biological phrasing), testing the system's ability to infer intent.
Key Insights and Ideas
- The "Cell Cluster" Bridge: The authors found that SAM 3 struggles with the word "organoid" but excels when prompted with "cell cluster." This domain-specific linguistic mapping is key to their zero-shot success.
- Hybrid Prompting: By using Cellpose to provide the "where" (geometric prompts) and the LLM to provide the "what" (text prompts), the system achieves better generalization than either tool could alone.
- Shared State for Reliability: Using a centralized
MorphoOrgaStateensures that every agent is working from the same "source of truth." This makes the system's reasoning auditable and prevents the ReportAgent from making up numbers. - Handling Ambiguity: The
TaskUnderstandingAgentacts as a scientific translator, turning vague requests like "the most dominant organoid" into precise mathematical operations (e.g., finding the maximumArea_outer).
Key Results
MorphoOrgaAgent demonstrated impressive numerical precision across the MorphoOrgaVQA benchmark:
- Roundness Accuracy: Achieved a median Absolute Percentage Error (APE) of less than 1.6%.
- Robustness to Phrasing: The error profiles for "clear" vs. "open" questions were nearly identical, proving the system effectively decodes ambiguous biological language.
- Qualitative Superiority: When compared to general-purpose bioimage agents like Omega and Agentic-J, MorphoOrgaAgent produced significantly higher-quality masks and more accurate statistical summaries. For example, in a complex filtering task, it achieved a relative error of only 0.39% compared to ground truth, while baselines struggled with segmentation failures or incorrect metric defaults.
Limitations and Future Work
- Roughness Sensitivity: The system had higher error rates (approx. 46% APE) for "Roughness" metrics. This is because roughness depends on fine-grained boundary details that are highly sensitive to pixel-level segmentation noise.
- Metric Pool Constraints: Currently, the system is limited to a predefined pool of metrics and visualizations. Future work could involve allowing the agent to write its own custom Python scripts for novel analyses.
- Scaling: While effective for single images and small batches, further optimization may be needed for massive, high-throughput screening datasets.
Summary updated