AI Coding4 mins read

AI Coding Agents Speed Up Research Software, but Scientific Validation Remains the Bottleneck

A field report covered by The Decoder says AI coding agents can modernize aging research software and deliver major speedups, but they still need expert oversight to verify scientific correctness.

The core finding: faster software, harder verification

Overview of eight case studies in agentic scientific computing
Image credits:OpenAI

OpenAI and academic partners report that AI coding agents can update and accelerate aging research software, including neglected tools that remain important in scientific pipelines. The biggest shift is not simply from slow coding to fast coding; it is from implementation work to the more demanding task of verifying whether the outputs are scientifically correct.

That matters because many research tools began as support code for individual papers and were not built with long-term testing, maintenance, or optimization in mind. Coding agents may help close that maintenance gap, but the report makes clear that speed does not replace scientific judgment.

Case studies show big gains across biology software

Benchmark comparison between BamSurgeon and HelixForge
Image credits:OpenAI

The report documents eight case studies, mostly in biology, using coding agents such as Codex and Claude Code. Projects ranged from basic build modernization to targeted optimization, compatibility migrations, rewrites in modern languages, workflow redesign, and new system development.

Examples included modernizing cyvcf2, porting MHCflurry from TensorFlow to PyTorch, rebuilding STAR as rustar-aligner in Rust, and creating GPU-native HelixForge. RustQC delivered the largest reported gain by combining 15 quality-control tools into one program, cutting runtime from 15 hours and 34 minutes to 14 minutes and 54 seconds.

Why fast code can still produce bad science

Calibration charts showing a bug before and after a fix
Image credits:OpenAI

The report’s central warning is that coding agents can complete well-defined tasks quickly while still failing to judge whether the work is scientifically valid. Participants described models as persuasive even when wrong, with Philip Ewels calling them "eloquent, convincing, and confidently wrong in ways that are easy to miss."

The bayesm rewrite illustrates the risk: early versions ran faster but contained hard-to-detect errors in advanced methods. Researchers found one bug only after running detailed calibration tests against thousands of synthetic datasets with known results, showing that plausible outputs are not enough.

The practical takeaway: humans define success, agents implement

Across the projects, the most reliable pattern was a clear division of labor: humans set goals, define success criteria, and build validation methods, while agents handle implementation. In hifiasm, for example, the researcher created separate training and validation datasets before asking GPT-5.5 to optimize the genome assembly tool.

The long-term issue is maintenance. Low-cost rewrites could save time, but they could also fragment user communities and spread experienced maintainers even thinner. The report’s clearest implication is that scientific teams using coding agents need independent tests, explicit ownership, and a plan for future maintenance before treating AI-generated rewrites as production-ready.

Discover More