Clinical research requests skip hand-written SQL: an agentic pipeline matched analyst cohorts across 50 pediatric orthopedic queries
Natural-language data requests in clinical research used to require staff to translate them into computable rules, pick data sources and write institution-specific queries. A large-language-model multi-agent pipeline decomposes each investigator request into source-specific tasks, generates and executes SQL, then combines structured records with clinical-note adjudication. Of 50 pediatric orthopedic requests, 43 completed manual review, with adjusted median positive predictive value 0.93, sensitivity within the observed union 0.92 and F1 0.90.