SpatialAgent: An autonomous AI agent for spatial biology
Hanchen Wang, Yichun He, Paula Pinto Coelho, Matthew Bucci, Abbas Nazir, Bob Chen, Linh T. Trinh, Serena Zhang, Ziyu Lu, Kexin Huang, Vineethkrishna Chandrasekar, Douglas C. Chung, Minsheng Hao, Ana Carolina Leote, Yong‐Ju Lee, Tianyu Liu, Tianyu Liu, Jin Liu, Romain Lopez, Tawaun A. Lucas, Nikita Makarov, Nikita Makarov, Lisa M. McGinnis, Linna Peng, Stephen Ra, Gabriele Scalia, Avtar Singh, Liming Tao, Masatoshi Uehara, Chenyu Wang, Runmin Wei, Ryan Copping, Orit Rozenblatt–Rosen, Jure Leskovec, Aviv Regev
bioRxiv (2025)
Abstract
Advances in AI are transforming scientific discovery, yet spatial biology, a field that deciphers the molecular organization within tissues, remains constrained by labor-intensive workflows. Here, we present SpatialAgent, an autonomous AI agent for spatial biology research. SpatialAgent couples large language models with a Plan-Act-Conclude architecture, dynamic tool and skill retrieval, multimodal interpretation, and verification modules that audit generated claims. It supports the full discovery loop, from gene-panel design and multimodal annotation to trajectory inference, cell-cell communication analysis, imputation, and hypothesis generation. Across human and mouse brain, heart, tonsil, colon, and prostate datasets, SpatialAgent outperformed established computational baselines and matched or surpassed expert scientists in key tasks. In open-ended case studies, it recovered known tissue organization and generated spatially grounded hypotheses. In a prospective mouse prostate cancer Xenium study, it designed a compact 100-gene add-on panel that profiled 4.2 million cells across 21 samples, improved cell-type and malignant-state prediction, and captured spatially structured tumor and microenvironment programs. SpatialAgent establishes a framework for autonomous and collaborative discovery in spatial biology.




