Back

CellPilot: an agentic framework that pilots small language models through autonomous single-cell annotation

Jiang, S.; Qi, C.; Chen, Y.; Song, X.; Wei, Z.

2026-07-10 bioinformatics
10.64898/2026.07.06.736807 bioRxiv
Show abstract

Large language models can annotate cell types from marker gene lists, but they typically operate after preprocessing and clustering are complete, treating annotation as a terminal labeling step rather than controlling the analytical decisions that produce the evidence for cell identity. We present CellPilot, an agentic framework that guides a locally deployable small language model through the full single-cell analysis workflow, from raw count matrices to cluster-level annotation. CellPilot combines standard single-cell analysis tools with structured workflow control and observation-guided reasoning, allowing the model to plan analyses, execute tools, inspect intermediate results and revise decisions within a traceable session. On GTEx, structured workflow orchestration raised the same 8B model from 0.39 in a prompt-only setting to 0.89, closing most of the gap to GPT-4o (0.92) within the same framework; the framework gain was substantially larger for the smaller backbone across datasets (+0.35 versus +0.19). Across GTEx, Tabula Sapiens, and Mouse Cell Atlas, CellPilot achieves cluster-level annotation accuracies of 0.891, 0.750, and 0.773, outperforming representative reference-based, marker-based, and LLM-based methods. CellPilot confidence scores were associated with annotation correctness and supported post hoc filtering, while complete execution traces were retained for each analysis. These results suggest that structured workflow orchestration can be a critical determinant of performance in multi-step single-cell analysis, enabling locally deployable small language models to approach larger proprietary models while preserving transparency and practical usability.

Matching journals

The top 6 journals account for 50% of the predicted probability mass.

1
Genome Biology
637 papers in training set
Top 0.8%
11.9%
2
Nature Methods
385 papers in training set
Top 0.8%
11.9%
3
Nature Communications
5641 papers in training set
Top 21%
7.9%
4
Bioinformatics Advances
203 papers in training set
Top 0.5%
7.2%
5
Bioinformatics
1204 papers in training set
Top 3%
6.7%
6
GigaScience
212 papers in training set
Top 0.4%
6.7%
50% of probability mass above
7
Nature Biotechnology
172 papers in training set
Top 0.9%
4.3%
8
Genome Research
468 papers in training set
Top 2%
2.8%
9
PLOS ONE
5266 papers in training set
Top 40%
2.7%
10
Cell Systems
201 papers in training set
Top 2%
2.6%
11
Patterns
78 papers in training set
Top 0.8%
2.4%
12
PLOS Computational Biology
1863 papers in training set
Top 12%
2.4%
13
iScience
1154 papers in training set
Top 17%
1.7%
14
Scientific Reports
3612 papers in training set
Top 59%
1.5%
15
Briefings in Bioinformatics
354 papers in training set
Top 5%
1.4%
16
Cell Reports Methods
165 papers in training set
Top 2%
1.3%
17
BMC Bioinformatics
457 papers in training set
Top 5%
1.1%
18
Molecular Biology of the Cell
311 papers in training set
Top 3%
1.1%
19
eLife
5828 papers in training set
Top 62%
1.0%
20
Nucleic Acids Research
1281 papers in training set
Top 12%
1.0%
21
npj Systems Biology and Applications
125 papers in training set
Top 2%
1.0%
22
Computational and Structural Biotechnology Journal
242 papers in training set
Top 7%
0.8%
23
Molecular Systems Biology
162 papers in training set
Top 3%
0.8%
24
NAR Genomics and Bioinformatics
242 papers in training set
Top 4%
0.8%
25
Nature Computational Science
55 papers in training set
Top 2%
0.6%
26
ACS Synthetic Biology
287 papers in training set
Top 3%
0.6%
27
Frontiers in Genetics
230 papers in training set
Top 7%
0.6%
28
Journal of Molecular Biology
232 papers in training set
Top 4%
0.6%
29
PLOS Biology
486 papers in training set
Top 14%
0.6%