Work

PaleoRigor: a bounded research agent with a reproducible evidence trail for paleomicrobiome data processing

Year: 2026
Type: preprint
Abstract: Background Ancient microbial evidence informs research on past health, diet, and environments, but its scarcity and susceptibility to contamination demand care in selecting and processing data. Language models can turn a research request into an analysis plan, but an unconstrained planner may reference files that do not exist, apply operations a format forbids, or answer a question the data cannot settle. A planner used on such evidence therefore needs to be bounded, and its decisions recoverable afterwards. Results We developed PaleoRigor around three commitments. Agent: a language model plans the analysis. Constraint: a validator checks every file reference, format, and step dependency before anything runs, execution is restricted to predefined local modules, and a planning contract directs the model to refuse out-of-scope requests with a named reason code rather than answer them. Reproducibility: each run is exported with its plan, intermediate files, checksums, and decisions. In a preregistered, frozen held-out evaluation, PaleoRigor passed 23 of 24 runs (95.8%; Wilson 95% confidence interval, 79.8–99.3%): 11 of 12 supported runs and all 12 prespecified boundary decisions. An ablation that removed this planning contract from the same model passed 19 of 24 (79.2%). Repeating the frozen design with a second model configuration yielded 24 of 24 successes for PaleoRigor and 19 of 24 for the ablated arm. Pooled post hoc across both configurations, PaleoRigor passed 47 of 48 runs (97.9%), compared with 38 of 48 (79.2%) for the ablated arms. All 96 run labels were recomputed from retained records and matched. Dataset-level tests matched read counts and compressed-file sizes for six public sequencing records and documented the removal of 114 duplicate sequence entries. A retraction-associated audit illustrated how expert review limited conclusions to file- level evidence. Conclusions For paleomicrobiome data, pairing a language-model agent with explicit constraints and a reproducible record makes the agent’s proposed analysis reviewable before its outputs support a biological claim. PaleoRigor delivers checked inputs, a recorded transformation history, and a named reason for each request it refuses, and runs as a local desktop application. It prepares data for specialist analysis; ancient-DNA authentication and biological interpretation remain with the paleobiologist. Key points Agent: a language model turns a research request into an explicit, ordered workflow, which a paleobiologist reviews and approves before anything runs. In the frozen held-out evaluation, which ran without that review step, 11 of 12 supported runs passed every planning, validation, and execution check. Constraint: a validator, a fixed registry of local skills, and encoded refusal rules bound what the agent may do. The refusal rules direct the planner to decline, with a named reason code, requests that cross a limit (for example, establishing authenticity or absence of contamination from quality- control output). In the frozen v5 round, all 12 boundary decisions were correct, compared with 10 of 12 when the planning contract was removed. Reproducibility: every run links the request to its inputs, planned operations, intermediate files, checksums and, for refused requests, the blocked decision; all 96 run labels from the two frozen model configurations were recomputed from these retained records and matched. Graphical abstract Graphical abstract. PaleoRigor connects archaeological source material, fragile ancient biomolecular evidence, and reviewable local analysis. All elements, including the schematic excavation scene, were drawn by the authors as vector graphics; the graphical abstract contains no photographs. The graphical abstract shows the paleobiological use case, while Figure 1 shows the expert review and local execution steps. In the figure, the decision gate marks the expert’s choice between continuing and re-checking the source record.
Language: English
Open Access status: green
OpenAlex ID: W7220961069
Cites: 39
Cited by:
Related to: 10