🧬 SP-Mind: An Autonomous Reasoning Agent for Spatial Proteomics (ICML 2026)
▶ 55-second overview — if the player doesn't load, watch the demo video.
Abstract
Spatial proteomics enables single-cell-resolution characterization of protein expression within tissue architecture, playing a critical role in understanding tumor microenvironments and guiding precision medicine. However, current analysis workflows remain fragmented, requiring expert manual orchestration of heterogeneous tools and limiting research scalability and reproducibility. We present SP-Mind, the first autonomous AI agent designed to unify the spatial proteomics analysis pipeline, from raw multiplexed tissue imaging to downstream phenotype discovery. Equipped with expert-curated biological analysis skills and specialized computational tools, SP-Mind converts natural-language queries into end-to-end analytical workflows without task-specific fine-tuning. To rigorously evaluate its capabilities, we introduce SP-Bench, a comprehensive benchmark spanning diverse tissue types, comprising 102 tasks across 18 distinct categories. Through extensive evaluation on SP-Bench and established downstream tasks, SP-Mind achieves state-of-the-art performance compared to existing open-source biomedical agent baselines.
Overview
SP-Mind is built on the Claude Agent SDK and ships with:
- A reasoning agent that selects tools, writes code, inspects intermediate
results, and iterates in a data-driven loop.
- Wrappers around the standard multiplexed-imaging toolchain (MCMICRO-style),
packaged as containerized tools.
- A curated set of domain skills that inject best-practice methodologies for
each analysis stage.
- SP-Bench, a benchmark of realistic spatial proteomics task queries, plus
evaluation scripts for cell annotation and quantification.
Agent Design
- MCP-native tools (opt-in). With
--mcp, the full toolchain is exposed to
the agent as a Model Context Protocol server
of typed, schema-validated tools (generated from the tool metadata in
spmind/tool/tool_description/), rather than as
free-form code the model has to write. The same server can be installed into
Claude Desktop / Claude Code (see Use SP-Mind inside Claude).
Off by default, so the base agent's behavior is unchanged.
- Sandboxed execution. An optional
--sandbox flag installs PreToolUse
guardrails that block destructive shell commands before they run — a safety
layer for fully autonomous (--dangerously-skip-permissions) runs.
Pipeline Capabilities
| Stage | Module | Backend |
|---|
| Illumination correction | spmind.tool.basic_illumination | BaSiC |
| Registration / stitching | spmind.tool.registration | ASHLAR |
| Background subtraction | spmind.tool.background_subtraction | Backsub |
| TMA dearraying | spmind.tool.unetcoreograph | UNetCoreograph |
| Nuclei probability maps | spmind.tool.segmentation_unmicst | UnMICST |
| Cell segmentation | spmind.tool.segmentation_s3segmenter | S3Segmenter |
| Quantification | spmind.tool.quantification | MCQuant |
| Clustering & phenotyping | spmind.tool.clustering | Scimap |
| Cell-type annotation | skill-guided LLM reasoning | — |
Installation
Prerequisites
- Python ≥ 3.11
- Claude Code CLI —
npm install -g @anthropic-ai/claude-code
- A container runtime for the imaging tools: Docker (local) or Apptainer/Singularity (HPC)
Install the package
git clone https://github.com/tomtommyyuan/spmind.git
cd spmind
pip install -e .
(Optional) Install scimap for host-side analysis