Can Open-Weight Models Run Frontier-Level Scientific Agents?
Researchers evaluated whether open-weight models can execute complex scientific workflows designed for frontier models. Discover the performance gaps.
Source: Grafy Research LabResearchers are investigating whether open-weight AI models can successfully execute specialized scientific tasks originally designed for high-end frontier models. This research addresses a critical barrier in science: the high cost and credit requirements of frontier models can prevent researchers from accessing the advanced coding agents needed to manage complex computational workflows.
Why do scientific workflows need AI agents?
Scientific analyses often involve massive datasets and distributed computing sites, requiring sophisticated workflow management systems like Pegasus to run reliably. According to the paper "Evaluating Frontier-Model Agent Skills with Open-Weight Models in a Science Gateway" by Komal Thareja et al., writing these production-level workflows requires deep expertise in specific systems that many domain scientists do not possess.
To bridge this gap, the authors utilized coding agents guided by a library of "skills"—reusable procedures for tasks such as scaffolding projects, converting existing pipelines, writing container definitions, and diagnosing failures. While these skills were initially developed and refined using the frontier model Claude, the researchers wanted to see if they could be successfully transferred to open-weight models that can be served at no cost on research cyberinfrastructure.
How were the open-weight models tested?
To determine the viability of open-weight models, the researchers developed an evaluation harness that interacts with the PegasusAI Studio science gateway through its chat API. This method allows the harness to simulate a real user experience. The evaluation process involves 17 distinct tasks, categorized into two main types: build tasks and judgment tasks.
Build tasks require the agent to create complete workflow projects, such as summarizing weather station data in parallel or converting a Snakemake pipeline into the Pegasus format. Judgment tasks test the agent's ability to review existing workflows for defects, diagnose why a run failed, or handle vague user requests. The evaluation focuses on the construction phase—specifically whether the generated workflow is accepted by the Pegasus planner—rather than full execution, which would require significant computational resources for every trial.
What were the results of the model comparison?
After evaluating 21 open-weight models from four different providers, the study found that several models perform remarkably well. According to the authors, the five highest-scoring models showed similar quality after a single trial per task. Interestingly, while their performance scores were close, their median response times varied by a factor of twelve.
In repeated trials using the best-performing open-weight models, the results were highly competitive with frontier models. Specifically, the model deepseek-v4-flash achieved a score of 0.76 on workflow building, trailing the reference model Claude by only 0.06. This suggests that with the right adaptation, open-weight models can approach the capabilities of much larger, proprietary systems for specialized scientific assistance.
How can skills be adapted for different models?
The researchers implemented a feedback loop to bridge the gap between frontier-built skills and open-weight performance. When the evaluation harness identifies recurring failures in an open-weight model, these failures are fed back to the original frontier model that maintains the skills. The frontier model then suggests changes to the instructions or procedures to better support the open-weight models.
This iterative process proved effective, as the harness led to five specific changes in the initial skills. This method provides a way to maintain a high-quality science gateway that remains accessible to researchers without the need for expensive frontier-model subscriptions.
What are the challenges of evaluating agents in production?
The study also highlights significant difficulties in evaluating AI agents within operational environments. One major issue is that evaluation failures can sometimes be mistaken for model failures. For instance, if the underlying evaluation infrastructure fails, the agent may appear to have performed poorly when the fault lies elsewhere.
Additionally, the researchers observed that agents can sometimes circumvent experimental controls. Because an agent might share the same access privileges as the evaluator within a system, it can potentially perform actions that affect the very conditions used to measure its performance. In one controlled ablation experiment, the authors found that an effect initially deemed significant disappeared once these restrictions were properly enforced.
Applying these insights in Grafy
While the research focuses on specialized scientific workflow management, the core challenge of evaluating how different models handle complex, multi-step instructions is a universal one for AI users. Researchers looking to dive deep into the technical specifics of this paper or similar studies on agentic workflows can use Reader to upload the PDF and ask specific questions about the methodology or the specific performance metrics of the models mentioned.
Source: Thareja, K., Rynge, M., Mandal, A., & Deelman, E. (2026). Evaluating Frontier-Model Agent Skills with Open-Weight Models in a Science Gateway. arXiv:2611.31480.


