This repository is the official implementation for the paper: SpatialAgent: An autonomous AI agent for spatial biology. Contact wang.hanchen@gene.com or hanchenw@stanford.edu if you have any questions.
We present SpatialAgent, an autonomous AI agent dedicated for spatial-biology. SpatialAgent integrates large language models with dynamic tool execution and adaptive reasoning. SpatialAgent spans the entire research schema, from experimental design to multimodal data analysis and hypothesis generation.
@article {spatialagent,
author = {Hanchen Wang and Yichun He and Coelho Paula and Matthew Bucci and other},
title = {SpatialAgent: An autonomous AI agent for spatial biology},
doi = {10.1101/2025.04.01.646459},
publisher = {Cold Spring Harbor Laboratory},
URL = {https://www.biorxiv.org/content/early/2025/04/01/2024.04.01.646459}
journal = {bioRxiv},
year = {2025},
}under construction
SpatialAgent_dev/
βββ data/ # Data
βββ src/
β βββ baseline/ # Baseline methods
β βββ evaluation/ # Evaluation kit
β βββ interface/ # Graphical user inteface
β βββ script/ # Scripts to run representative tasks
β βββ spatialagent/
β β βββ agents/ # Agents
β β βββ plans/ # Plan templates
β β βββ tools/ # Tools
β β βββ init.py # Reorganized to final working version
β β βββ config.py # Configurations
β β βββ logger.py # Logger
β βββ main.py
β
βββ .gitignore # Git ignore
βββ README.md # Readme
βββ chatui.sh # Chat mode launch script
βββ consoleui.sh # Console mode launch script
βββ env.yml # Environment dependencies
βββ setup.sh # All u need for setup
βββ watcher.py # Watcher to automatically reload while running GUI
βββ teaser.png
