Skip to Main Content

Hokie

Built at Built with Claude: Life Sciences · Jul 7, 2026 · Remote

Demo video · claude.ai/…

What I built Clinical trials fail for predictable reasons. The problem is that teams usually discover those reasons after months of work and millions of dollars. I built TrialPremortem, an autonomous agent that stress-tests a clinical trial before the first patient is enrolled. Give it a draft protocol and it does two things. First, a validated machine-learning model estimates the risk that the trial will fail to recruit enough patients. Then the agent investigates why. It generates hypotheses specific to that trial, searches live biomedical sources including ChEMBL, Open Targets, PubMed, and ClinicalTrials.gov, and gathers evidence for or against each one. Before anything reaches the user, an adversarial critic challenges the findings and a programmatic citation gate checks every factual claim against the actual tool output. The result is not a generic protocol review. It is a ranked list of the most likely ways the trial could fail, the evidence behind each one, and a quantified recommendation for what to change. What I found The core result is a validated metric, not an opinion. I reconstructed the real version history of trials on ClinicalTrials.gov. For each trial, I recovered the original protocol, hid everything that happened afterward, made a prediction using only that first draft, and then checked what actually happened. Across 927 real trials, the model achieved an AUC of 0.67. It flagged 43% of the trials that later failed because of poor recruitment, while flagging only 21% of the trials that succeeded. I also found an outcome-leakage bug involving achieved enrollment. Had I left it in, the reported AUC would have been 0.82. That number was wrong, so I removed the leak and report the honest result instead. One of the more interesting findings came from the ablation study. On the hardest matched cohort, the engineered ML model scored 0.61 AUC. A zero-shot agent reasoning from the protocol scored 0.55. That is why TrialPremortem does not ask an LLM to magically predict trial failure from scratch. The agent uses the validated ML model as a tool, then investigates and explains the result. And on just 43 real failed trials that the system successfully flagged, I estimate a conservative $7.8 million in avoidable cost. Why it matters Most clinical trial protocols are reviewed again and again before launch. They still fail. Roughly 76% of protocols are amended after finalization, with each amendment costing an estimated $141,000 to $535,000. Insufficient accrual remains the leading cause of trial termination, accounting for about 39% of terminated studies. This is not because trial teams lack expertise. A protocol may already pass through five to seven expert reviews. The problem is structural. No individual reviewer carries the base rates of thousands of similar trials in their head. And the feedback loop is painfully slow: design a trial, launch it, wait 12 to 24 months, discover what went wrong, and hope that knowledge somehow makes it back to the next team. Usually, it does not. TrialPremortem closes that loop. It gives trial designers something they have never really had: institutional memory across thousands of past trials, applied to the protocol in front of them before the expensive mistakes happen. And the prediction is backed by a metric that anyone can reproduce using public data.

Team