Coding-Free and Privacy-Preserving Agentic Framework for Data-Driven Clinical Research

Taehun Kim, Hyeryun Park, Hyeonhoon Lee, Yushin Lee, Kyungsang Kim, Hyung-Chul LeearXiv 2026

TL;DR

The Clinical Agentic Research Intelligence System (CARIS) is an AI framework that automates the entire clinical research pipeline—from initial hypothesis generation to final manuscript drafting—using natural language. By leveraging the Model Context Protocol (MCP), CARIS enables clinicians to execute robust, privacy-preserving machine learning studies on sensitive patient data without writing a single line of code.

What Problem Does This Paper Address?

Data-driven clinical research is notoriously bottlenecked by a multi-disciplinary skill gap. Clinicians possess vital domain expertise and hypotheses but often lack the advanced programming skills required for data preprocessing, cohort construction, and machine learning modeling. Conversely, external data scientists face massive hurdles trying to access sensitive, highly regulated patient data.

Compounding this technical barrier is an administrative one: drafting Institutional Review Board (IRB) documentation and formatting final reports to strict medical standards (like the TRIPOD+AI guidelines) takes immense time and effort. The authors introduce CARIS to eliminate these technical and bureaucratic friction points, accelerating the pace of medical discovery.

Methods

CARIS orchestrates a team of specialized, LLM-driven modular agents to execute an end-to-end research workflow.

Figure 1. Overview of Clinical Agentic Research Intelligence System (CARIS). Given a user intent, CARIS autonomously executes a multi-step clinical research workflow by interacting with agents, heterogeneous datasets, and various tools, while allowing user intervention. Users do not have direct access to the file or DB systems.

The system's core workflow includes:

  1. Research Planning Agent: Engages the user in an interactive chatbot session to refine a raw research topic into a structured plan using a specialized PIMO (Patient, Input, Model, Outcome) framework. It automatically searches PubMed to find and score relevant literature.
  2. Cohort Construction Agent: Explores database schemas, defines inclusion/exclusion criteria, and automatically generates and executes SQL queries to extract data into a unified CSV file.
  3. IRB Documentation Agent: Converts the research plan into standard IRB sections (background, data analysis methods, hypotheses) via iterative human-in-the-loop refinement.
  4. Vibe Machine Learning Agent: Handles automated exploratory data analysis (EDA), preprocessing (imputation, encoding), feature selection (e.g., RFE, Boruta), and trains multiple ML models (XGBoost, LightGBM, Random Forests) with hyperparameter tuning.
  5. Report Generation Agent: Compiles all results, visualizations, and text into a complete Word document formatted according to the standardized TRIPOD+AI reporting checklist.

A key technical highlight is the integration of the Model Context Protocol (MCP). MCP establishes a secure client-server architecture that decouples the user and the LLM from direct access to raw, sensitive databases. The AI can orchestrate tools and process data internally, but only returns aggregated, privacy-preserving outputs to the user interface.

Figure 2. Overview of the clinical research workflow. (A) User interaction to iteratively generate and refine a structured research plan. (B) Keyword extraction using the PIMO framework and retrieval of relevant PubMed literature. (C) Database exploration, cohort definition, query execution, and dataset generation. (D) Iterative generation and refine- ment of IRB document sections through user interaction. (E) Data analysis, preprocessing, model training, evaluation, and visualization, followed by the automated generation of a clinical ML report.

Datasets

The authors evaluated CARIS across three distinct, heterogeneous datasets representing different clinical tasks:

  • MIMIC-IV: A real-world electronic health record (EHR) dataset from Beth Israel Deaconess Medical Center (83,101 instances) used for predicting Intensive Care Unit (ICU) readmission.
  • INSPIRE: A perioperative dataset from Seoul National University Hospital (100,474 instances) used for predicting postoperative acute kidney injury (AKI).
  • SyntheticMass: A synthetic dataset of Massachusetts patient records (2,556 instances) in OMOP-CDM format used for predicting prediabetes-to-diabetes progression.

Key Insights and Ideas

  • Zero-Coding Clinical Data Science: CARIS proves that an agentic framework can successfully translate high-level clinical intent into precise computational subtasks (like SQL generation and ML training) without user-side programming.
  • Collaborative Refinement over Pure Automation: Rather than acting as a simple "one-click" generator, CARIS utilizes an iterative, human-in-the-loop approach. Expert-system interaction acts as a collaborative refinement process, significantly enhancing clinical relevance.
  • The "Leniency Gap" in AI Evaluation: A fascinating meta-insight from the paper is that while LLMs are highly reliable at verifying structured checklists, they are significantly more lenient than human reviewers when judging abstract qualities like "novelty" or cross-checking visual figure accuracy.

Key Results

  • Drastic Time Reductions: The entire end-to-end research pipeline—which normally takes weeks or months—was completed within hours. Research planning and IRB drafting typically took just 2 to 2.5 hours.
  • Rapid IRB Iteration: Across all three clinical tasks, CARIS successfully generated complete IRB documentation within just 3 to 4 iterative loops of human feedback.
Figure 3. Revision patterns in IRB document generation. (A) Sections revised across iterations. Each dot rep- resents a revision, with colors indicating section types. (B) Distribution of revision items per section. Numbers inside wedges indicate item counts, and percentages indicate their proportions.
  • Competitive Model Performance: The automated "Vibe ML" engine delivered predictive performance on par with existing manual literature benchmarks, achieving high AUROC scores across all tasks using models like XGBoost and LightGBM.
Table 2. Performance comparison of the top two ML models for each task under different feature selection methods. RF: Random Forest; MI: Mutual Information; RFE: Recursive Feature Elimination; TG: Triglycerides.
  • High-Quality Reporting: The final generated manuscripts achieved a 96% completeness score under LLM-based evaluation and an 82% score under rigorous human evaluation against the TRIPOD+AI standard.

Limitations and Future Work

Despite its success, the current implementation of CARIS has a few notable limitations. It is restricted to predefined tabular datasets and cannot yet process multimodal clinical data, such as unstructured clinical notes, medical imaging (DICOM), or physiological waveforms. Additionally, while the system automates the bulk of document generation, the final outputs still require manual formatting tweaks to match the highly specific submission templates of individual journals or specific institutional IRBs.

The authors note that future iterations will focus on integrating medical foundation models to support multimodal inputs and developing more robust exception-handling mechanisms to mitigate LLM API rate limits.

Summary updated

BibTeX
@misc{kim2026coding,
  author = {Taehun Kim and Hyeryun Park and Hyeonhoon Lee and Yushin Lee and Kyungsang Kim and Hyung-Chul Lee},
  title = {{Coding-Free and Privacy-Preserving Agentic Framework for Data-Driven Clinical Research}},
  year = {2026},
  eprint = {2604.12258},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.12258},
}
Figure