TL;DR
Developing a new medicine costs over a billion dollars and takes years of high-stakes decisions, where a single flawed statistical analysis can doom a working drug. TrialAgentBench tests whether AI agents can both analyse messy clinical trial data and manage multi-year drug development programmes inside a simulated reality where the true effects are known. The verdict? Today’s top AI models have become remarkably competent data analysts, but they still stumble when making long-horizon strategic decisions under uncertainty.
What Problem Does This Paper Address?
In real-world clinical trials, we never get to observe the counterfactual. We never know what would have happened if a patient had taken the placebo instead of the drug, or if a pharmaceutical sponsor had funded a larger follow-up study.
Because of this, existing AI benchmarks usually score models against published human analyses or expert labels. If an AI replicates a flawed human analysis, it gets a gold star—even if it missed the truth. Furthermore, drug development isn't just about running one statistical test. It is a sequential balancing act of time, money, and information. Overestimating a drug's effect in Phase 2 can lead to an underpowered Phase 3 trial that fails; underestimating it can cause a sponsor to abandon a life-saving medicine. To know if we can trust AI agents with these decisions, we need to test them against a known ground truth.
Methods
The authors built a clinical trial simulation compiler that generates realistic, messy trial data—complete with participant dropouts, missed visits, treatment switching, and site-level recording errors—where the true treatment effect is fixed before any data are collected.
They split the benchmark into two suites:
- TrialEval (Analysing a single trial): Agents act as a statistician given raw, messy data tables and trial documents, but no analysis plan. They must clean the data, pick an appropriate statistical method, and save their analysis as code. Because a single trial's estimate could be close to the truth by sheer luck, the authors rerun the agent's saved code on 30 new replication trials and score it by its average error against the true effect.
- TrialDev (Managing a drug programme): Agents act as a drug sponsor with a budget (up to US$314 million), a 6-year clock, and 3 or 5 drug candidates (each with standard and intensified dosing regimens). They must decide which studies to purchase across three phases, when to stop, and which drug to advance. Programmes are scored on development value (the drug's market-lifetime clinical benefit minus the cost of harm, studies, and daily operations), compared against an "oracle" and a principled rule-based developer (RBD).
Datasets
The authors publicly release nearly 3,500 tasks across both suites:
- TrialEval: 420 public tasks covering 17 clinical questions (from childbirth safety to metastatic cancer), 5 context levels, and trial sizes ranging from 52 to 114,000 participants. The main evaluation uses 84 tasks (raw records, no analysis plan) across 24 closed- and open-weight models.
- TrialDev: 3,072 tasks across 384 simulated programmes (each built on a frozen pool of 64,000 participants) spanning four diseases: atopic dermatitis, COPD, migraine, and rheumatoid arthritis. The main evaluation tests 10 models on 128 programmes.
Key Insights and Ideas
- Analysts are improving fast, but they're overly cautious: Top models now nearly match a "process-aware" baseline (which knows when recording errors differ between trial arms). However, agents tend to apply error corrections by default—correcting 83% of the time even when recording errors are equal and correction only adds statistical noise.
- Good analysts don't automatically make good decision-makers: Agents with nearly identical analysis errors can produce wildly different programme values. For example, Opus 5.5, Sonnet 5.5, and GPT-6 Astra have indistinguishable analysis errors, yet their development values range from 14% to 48% of the oracle's value.
- Most value is lost before the final decision: Agents spend ~40% more on studies than the rule-based developer, yet still miss basic public requirements (93 of 165 failed approval reviews had fewer than the required 300 completed participants).
- Short-sightedness on harm: Top agents like Opus 5.5 frequently advance intensified dosing regimens that look profitable in short studies, severely underestimating how much benefit degrades and harm accumulates over the drug's full market horizon.
Key Results
- TrialEval: Over just one year, the best model's error dropped from 19% above the process-aware baseline (with serious misses on 15% of tasks) to just 3.5% above (with only 1% serious misses). The top five models' 95% confidence intervals capture the true effect 94–95% of the time. Open-weight models still lag behind, with 10–38% higher errors.
- TrialDev: The rule-based developer achieves 58% (57.7%) of the oracle's value. The best AI agent, Opus 5.5, reaches 48%, while the remaining agents fall 24 to 66 points short of the rule-based developer.
Limitations and Future Work
While the simulator is calibrated against real-world registry and published trials, it remains a simulated environment. Currently, each drug programme is run in isolation; natural extensions include giving agents knowledge of prior trials in the same disease area or running programmes sequentially to test if agents can learn from earlier outcomes. For real-world deployment, the authors emphasize that human oversight remains essential—particularly for study design, long-term harm valuation, and preventing premature programme stoppage.
Summary updated