SpikeLab: Agentic tools for spike data analysis
Large language models have the potential to transform scientific research and analysis, but without domain-specific structure they produce silent methodological errors, unreported decisions, and irreproducible results. Here we present SpikeLab, a text-to-analysis framework for neural spike data that combines composable data structures with a skill-based agentic system enforcing bounded autonomy: mandatory use of expert-vetted methods, correctness over efficiency, and clarification-seeking on ambiguous requests. In a controlled benchmark on electrophysiology data, Sonnet 4.6 with SpikeLab produced correct and reproducible results across all tasks, outperforming both the unassisted Sonnet and the more capable Opus 4.6, which exhibited deterministic failures including ad hoc method invention, silent data reduction, and inconsistent experimental designs. We demonstrate versatility across in vivo mouse, human, and in vitro brain organoid recordings, and apply the framework to a pharmacological dose-response study spanning single-unit dynamics, pairwise network structure, burst-level temporal sequences, and latent population states, all through natural language prompts without writing analysis code.
Authors
- Tjitse van der Molen (ORCID: https://orcid.org/0000-0001-6147-542X)
- Alex Spaeth (ORCID: https://orcid.org/0000-0003-0702-3945)
- Max Lim (ORCID: https://orcid.org/0009-0003-1403-7875)
- Ojas Brahme
- David Haussler
- Kenneth Kosik
- Luka Cheney
- Kamran Hussain
- Tal Sharf (ORCID: https://orcid.org/0000-0002-7899-2818)
- Mircea Teodorescu (ORCID: https://orcid.org/0000-0001-7085-5248)
- Jinghui Geng (ORCID: https://orcid.org/0000-0002-3431-9568)
- Ash Robbins (ORCID: https://orcid.org/0000-0002-5556-8547)
- David Parks
Institutions
- California Institute of Technology (US)
- University of California, Santa Barbara (US)
- University of California, Santa Cruz (US)
Publication Details
- Journal
- bioRxiv (Cold Spring Harbor Laboratory)
- Published
- 2026-04-29
- DOI
- https://doi.org/10.64898/2026.04.25.720833
- Primary Topic
- Neural dynamics and brain function
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Office of the President, University of California
- National Human Genome Research Institute