arXiv:2610.22617q-bio.GNOct 2026

Manuscript Offprint

arXiv:2610.22617

Harness-Driven Agentic Operation of Optical Pooled Screen Analysis

Matteo Di Bernardo, Claire Peterson, Ege Topkoc, Matt Might, Iain M. Cheeseman

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Optical pooled screens connect genetic perturbations to changes in cell morphology and behavior, but turning the microscopy data into interpretable results takes complex, multi-day analyses. Established pipelines process this data, yet researchers still select parameters, inspect outputs, and resolve failures for each experiment. Here, we present Brieflow-auto, a pipeline-specific harness implemented as a Claude Code plugin that lets a coding large language model (LLM) operate Brieflow, an open-source end-to-end pipeline for optical pooled screening data. A researcher supplies experimental facts and approves the launch. An agent tunes parameters in an interactive notebook, and the harness validates the configuration, monitors execution, recovers from common failures, and checks output quality. For pipeline defects, the agent opens upstream issues proposing backward-compatible fixes for the broader community. In five previously analyzed screens, harness runs yielded more cells with a confident single-gene assignment than the original hand analyses. On a screen the pipeline was not designed for, the harness turned each failure into a reviewed upstream fix. More broadly, we propose that wrapping an established pipeline in a harness can substantially accelerate its use and the long-term reliability of its codebase.

1 Introduction

Understanding how genes shape cell behavior requires measuring the consequences of genetic perturbations. Optical pooled screening (OPS) combines pooled genetic perturbations with microscopy, using an in situ barcode readout to link each cell's appearance to its perturbation [Feldman et al., 2019, Di Bernardo et al., 2026]. Unlike screens read out by sequencing, OPS requires extracting cellular features from terabytes of images and matching them to perturbation identities, a multi-day analysis that demands expertise in parameter selection, image inspection, and troubleshooting.

AI agents now support scientific analyses in several ways. Discovery platforms such as Biomni and Kosmos coordinate analyses across many tools and have led to experimentally validated discoveries [Huang et al., 2025, Mitchener et al., 2025]. Coding agents can also apply established tools under expert guidance. In a recent Anthropic report, Claude autonomously ran de novo protein binder design campaigns from a single protocol prompt and produced confirmed binders against 14 of 15 testable targets [Claude Science and Shanehsazzadeh, 2026]. Companies such as Tamarind make complex protein-design tools accessible to researchers as a service with a user interface [Tamarind Bio, 2026].

However, many laboratories and core facilities already have an established analysis pipeline, and their main cost is running it for each new experiment. For these groups, the analysis itself should stay fixed while an agent handles configuration, execution, and recovery from failures. This requires reliable execution and software that can be maintained across experiments, both of which remain 40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: Agentic Life Sciences.

Figure

Figure 1: Brieflow-auto separates three layers of control. The harness operates a screen repository, which in turn runs the pipeline. Setup, interview, and approval start a run in which every module passes the same cycle. The harness recovers from known failures within the run. A pipeline defect becomes an upstream issue, and the reviewed fix returns as a new pipeline version. Blue is agent judgment, white a scripted step, orange researcher input or review, and grey a record.

challenging for agents on benchmarks of computational reproduction and iterative coding [Siegel et al., 2024, Orlanski et al., 2026]. Building a dedicated service for each pipeline is also a substantial commitment for an academic laboratory or core.

Here, we present Brieflow-auto, a harness that lets a coding large language model (LLM) operate Brieflow, an open-source end-to-end pipeline for large-scale OPS microscopy data [Di Bernardo et al., 2026]. The harness encodes our experience with the pipeline and its failure modes in a Claude Code plugin. It records run state and requires the researcher's approval before launch, after which the agent handles tuning and most operating decisions without changing pipeline code. Defects become upstream issues with backward-compatible fixes, so the codebase evolves through review rather than through edits made during a run. We hypothesize that separating routine operation from pipeline development reduces manual work while preserving a reproducible, maintainable codebase.

We describe the changes to Brieflow that enabled agent use, test the harness on five previously analyzed screens and on a screen outside the pipeline’s original use, and release the plugin with an adaptation guide for other groups’ pipelines.

References (28)