OpenReadout is an open-source reader designed specifically for AI agents to process raw files from laboratory instruments. It is free, a single binary, and requires no vendor software.
Purpose: to let AI agents read and analyze raw files produced by instruments such as microscopes, mass spectrometers, flow cytometers, plate readers, and NMR, covering more than 120 formats.
Main capabilities:
- View images, channels, traces, spectra, tables, and metadata as plain text or structured JSON.
- Check for file truncation, missing planes, and structural corruption; the exit code is 4 when a file is corrupted.
- Export to OME-TIFF, OME-Zarr, mzML, NWB, CSV, Parquet, Arrow, JCAMP-DX, Allotrope ASM, and RDML, and read back each exported file for verification.
- Preview image planes, traces, spectra, and plate heatmaps as PNG.
- Analyze chromatographic peaks, plate assays (IC50, standard curves), qPCR (Cq, ΔΔCq), NMR peaks, patch-clamp features, spikes, and flow cytometry gating, with documented methods.
- Support batch processing of entire directories, indexing of shared laboratory directories, and monitoring of ongoing acquisitions.
Usage:
- Verify after installation: openreadout --version.
- Built-in MCP server, registrable with one command; the server exposes 28 tools via JSON-RPC (openreadout_info, openreadout_check, openreadout_preview, openreadout_export, openreadout_peaks, etc.), and clients do not need shell access.
- Supports the Claude Code plugin, the Gemini CLI extension, as well as Windsurf, Zed, Continue, and Cline.
- Python: pip install openreadout; metadata is returned as a dict, pixels are returned as NumPy, dask, or xarray arrays, and bioio and napari plugins are provided.
- The R package returns arrays and data frames and can draw the same previews and charts.
- A browser demo is available with no installation, and files do not leave the local machine.
Agent-oriented design: every command has JSON output and a published schema; fixed exit codes (0 normal, 1 error, 2 usage, 3 unknown format,4 corrupted, 5 I/O, 6 unsupported); errors include next-step hints; each result includes an assurance of whether that file type has been cross-validated against other readers, and --strict rejects unverified items; PNG previews are provided; plot can generate PNG, SVG, or PDF charts such as plate grids, dose-response fits, and gating dot plots; info reads only the file header and is fast even for large files; read-only and offline.
Use cases: AI agent-assisted scientific file inspection, cross-instrument data verification, batch laboratory data indexing and preview, and integration into Python/R data analysis workflows.
Limitations: read-only, offline, no telemetry; not affiliated with any instrument vendor; known gaps exist for various formats and are marked in the format list; readers are written based on public files, public specifications, and permissively licensed readers, without using vendor SDKs or DLLs, and GPL readers are run only as black boxes in tests.