TIAgent: From Natural Language to Grounded Agentic Workflows for Computational Pathology
Aakash Madhav Rao, Mark Eastwood, Danielle Belgrave, Fayyaz Minhas
Abstract
Computational pathology (CPath) analyses increasingly depend on multi-step computational workflows that require substantial programming expertise, limiting their accessibility to pathologists and other domain experts without extensive coding experience. Although large language models (LLMs) provide a promising natural-language interface for constructing such analyses, hallucinated operations and incorrect workflow specifications limit their reliability in scientific settings. We introduce Tissue Image Analysis Agent (TIAgent), an automated CPath workflow generation framework that, given a natural-language prompt specifying a complex analytical task together with an input dataset, automatically constructs a verifiable computational graph employing existing CPath operations. The resulting graph can be inspected and executed, enabling natural-language construction of complex CPath workflows for applications including automated biomarker discovery and tissue analysis. We demonstrate end-to-end workflow generation and execution and systematically benchmark 14 backbone LLMs across 90 unit tasks spanning 18 CPath operation types. The ability of each LLM to generate a complete and correct unit workflow is quantified using Unit Workflow Success (UWS). Performance varied substantially across backbone models, with Kimi-K2.7-Code achieving the highest UWS of 0.967 (95% CI: 0.907-0.989). Analysis of node and parameter correctness further revealed that selecting the appropriate computational operation and correctly configuring it represent distinct challenges for LLM-based workflow generation. TIAgent provides a foundation for making complex CPath workflow construction more accessible while enabling systematic evaluation of LLM-driven scientific workflow generation.
Create a lesson
Metadata
- Categories
- q-bio.QM, cs.AI, cs.CL, cs.MA
Related papers
AgentCount: An Agentic Workflow for Traceable Colony Counting and Insight Generation from Agar Plate Images
Shared title terminologyq-bio.QMZhuosheng Liu, Austin E. Weber
TCellAlign: Cross-study T-cell Populations Alignment with Nomenclature-Guided Multi-Agent Workflow
Shared title terminologyq-bio.QMPengyu Xie, Rongjia Zhou, Zhilin Ou et al.
EasyBCI Agent: Towards Universal Neural Data Preprocessing for Brain-Computer Interfaces
Shared title terminologyq-bio.QMYu Zhu, Runkai Zhao, Zhimin Zhou et al.
Benchmarking Protein Structure Tokenizers as Generation Targets for Language Models
Shared title terminologyq-bio.QMYong Liu, Zhanpeng Shi, Peicong Lin et al.
Tempering and few-shot calibration of pathology foundation models improve digital biomarker reproducibility across slide scanners
Shared title terminologyq-bio.QMFrank T Wen, Kyler Rosen, Siddhi Ramesh et al.
Calpha: Toward Native Biomolecular Intelligence in a General-Purpose Language Model
Shared title terminologyq-bio.QMYong Liu, Zhanpeng Shi, Peicong Lin et al.