ABSTRACT
Background
Developing diagnostic reasoning in nephrology is particularly challenging due to its pathophysiological complexity and reliance on abstract clinical data. Objective Structured Clinical Examinations (OSCEs) are pivotal for nephrology training but remain resource-intensive and difficult to scale. Generative artificial intelligence (AI) offers a promising alternative, yet its capacity to emulate nephrology-specific OSCEs has not been formally assessed.
Methods
We developed ECOSBot, a web-based tool powered by GPT-4o, to simulate both standardized patients and examiners for nephrology-focused OSCEs. In this multicenter prospective study, undergraduate medical students from five French medical schools interacted with ECOSBot across four clinical stations. All interactions were double-rated by nephrology faculty members to establish a gold standard. ECOSBot’s performance was evaluated against this standard using four criteria (script coverage, authenticity, correctness and relevance) for patient simulation, and via checklists and competency-based ratings for examiner scoring. Usability was assessed using the Chatbot Usability Questionnaire (CUQ), adapted to include six items on feedback quality.
Results
Ninety-one students generated 2939 prompts across 184 OSCE sessions. ECOSBot demonstrated high fidelity in patient simulation: authenticity 98.6% [95% confidence interval (CI) 98.2–99.0], correctness 98.3% (95% CI 97.9–98.7) and relevance 99.2% (95% CI 98.9–99.5), including during exchanges not explicitly covered by the pre-specified scenario. As an examiner, ECOSBot showed strong agreement with human raters on global scores [intraclass correlation coefficient (ICC) = 0.94, 95% CI 0.91–0.96], consistent across case formats, training levels and institutions. However, scoring of attitude and communication skills was less reliable (ICC = 0.44, 95% CI 0.28–0.58). Median CUQ score was 69.7/100, with 91.7% of students finding the tool highly useful for OSCE preparation in nephrology.
Conclusions
ECOSBot reliably simulated both roles in nephrology OSCEs with high fidelity and strong alignment with expert rating. While challenges remain for subjective skill assessment, this tool offers a scalable and autonomous solution to enhance nephrology education.
Keywords: generative AI, LLM-powered simulation, medical education technology, nephrology, virtual standardized patient
GRAPHICAL ABSTRACT
GRAPHICAL ABSTRACT.
KEY LEARNING POINTS.
What was known:
Objective Structured Clinical Examinations (OSCEs) are essential for clinical training but remain resource-intensive and difficult to scale, especially in nephrology.
Early studies showed artificial intelligence (AI) chatbots could answer predefined, scenario-bound student questions in medical training.
No multicenter validation existed for AI tools simulating both OSCE patients and examiners.
This study adds:
ECOSBot, a GPT-4o–powered chatbot, reliably simulated standardized patients and examiners across nephrology OSCEs.
Nearly half of student queries went beyond the written scenarios, yet responses remained accurate, authentic and relevant.
Communication and attitude ratings showed lower reliability, highlighting current boundaries of AI-based evaluation.
Potential impact:
This study provides a proof-of-concept for scalable AI-driven OSCE simulation in nephrology education.
ECOSBot offers a validated framework for future studies assessing educational outcomes and clinical skill acquisition.
This work underlines the need for multimodal AI approaches (voice, video) to improve assessment of interpersonal skills.
INTRODUCTION
Nephrology is increasingly perceived by medical students as one of the most cognitively demanding specialties [1–3]. This perception has contributed to a sustained decline in interest for nephrology careers across several countries [4–6]. In the USA, for example, only 52% of nephrology fellowship positions were filled in the 2024 Match, continuing a trend observed over the past decade [7]. Similar concerns have been raised in Europe and other high-income regions [8]. A major driver of this erosion is the discipline’s perceived complexity, which students often describe as abstract, conceptually dense and poorly integrated with clinical relevance, particularly during the preclinical years [1, 2, 9, 10]. The term “nephrophobia” has emerged to describe this phenomenon: a mix of anxiety and cognitive disengagement in the face of nephrology-related clinical scenarios [11, 12]. This aversion extends beyond specialty choice and may hinder the development of core diagnostic reasoning skills, given nephrology’s inherently integrative and systems-based nature [9].
In response, major nephrology societies have called for renewed pedagogical strategies that emphasize clinical relevance, early engagement and innovative learning methods [6, 13]. Among these, simulation-based approaches have gained traction, offering structured, repeatable environments for students to practice clinical reasoning safely [14–16]. In parallel, ongoing reforms in undergraduate medical education promote competency-based curricula and early development of diagnostic reasoning as foundational elements of training [17–19]. Objective Structured Clinical Examinations (OSCEs) play a key role in this transformation [20–22]. Widely adopted across medical schools, OSCEs provide structured, time-limited encounters in which students interact with standardized patients and are assessed on clinical and communication skills [23, 24]. In some countries, such as France, OSCEs are now mandatory components of final undergraduate medical evaluations and directly contribute to national rankings used to assign medical specialty placements at the end of the sixth year [25]. While traditionally used for summative assessment, OSCEs are increasingly integrated into formative training programs, with evidence linking repeated exposure, even in simulated settings, to improved performance and reduced test-related anxiety [24, 26]. However, logistical constraints, most notably the need for trained actors, expert raters and individualized feedback, and the time-intensive nature of OSCEs, limit their scalability, particularly for formative purposes [27].
The rapid rise of generative artificial intelligence (AI), particularly large language models (LLMs) such as ChatGPT, has created new opportunities for healthcare and medical education [28–30]. These tools have demonstrated promise in various domains, from clinical documentation and decision support to patient communication and medical question answering. Their capacity to simulate interactive dialogue and generate tailored responses positions them as compelling candidates to support OSCE training in a scalable and flexible manner [31, 32].
In this pilot study, we present the development and technical validation of ECOSBot, a generative AI–based tool designed to simulate both standardized patients and standardized examiners in nephrology-focused OSCEs. ECOSBot enables autonomous, on-demand training with instant feedback. We assessed its ability to (i) simulate a realistic virtual patient, (ii) reliably evaluate student performance compared with expert raters and (iii) offer a usable and engaging experience from the student’s perspective, based on a validated usability questionnaire. This latter objective was exploratory and focused on perceived utility rather than educational outcomes. To our knowledge, this is the first prospective, multicenter study aimed to validate a large language model–powered simulator for both standardized patient and examiner roles in nephrology-focused OSCEs.
MATERIALS AND METHODS
Platform design and implementation
ECOSBot is a web-based application developed in Rust with a responsive interface compatible across devices. It leverages the GPT-4o language model via OpenAI’s API, operating under deterministic settings (temperature = 0; top-P = 0) to ensure reproducibility. Users interact with ECOSBot through a dual-panel interface layout, enabling text-based interaction with the standardized patient, followed by automated feedback from the virtual examiner (Fig. 1). All exchanges are securely stored in encrypted format, with no personal identifiers retained. To simulate the independence between patient and examiner roles, ECOSBot was configured with two distinct prompting pipelines (Supplementary data, Fig. S1). For the standardized patient, a minimal prompt was provided containing only the relevant clinical script and behavioral instructions, closely matching what a human standardized patient would receive. The examiner prompt was designed independently, without access to the case script or student instructions, ensuring isolated, unbiased evaluation (Supplementary data, Table S1).
Figure 1:
Interface of ECOSBot during an OSCE interaction on nephrotic syndrome. The left panel displays the text-based conversation between the student and the simulated standardized patient. The right panel shows the automated feedback generated by ECOSBot in its role as a standardized examiner, structured according to the evaluation rubric. This dual-panel layout enables seamless transition from clinical interaction to immediate debriefing.
Study design and experimental procedure
This multicenter, prospective study included undergraduate medical students (years 4–6) from five French medical schools, recruited on a voluntary basis during February 2025. Informed consent was obtained, including explicit authorization to analyze anonymized conversation data. The study protocol was approved by the institutional review board of Lille University (January 2025). Upon registration on the platform, students completed a short questionnaire on demographics, nephrology exposure, self-rated confidence in nephrology and OSCEs (0–10 scale) and prior use of OSCE training AI-powered tools (free or paid). Each participant used ECOSBot during a 1-h supervised session, with four nephrology-focused OSCE stations available: (i) nephrotic syndrome (history-taking), (ii) hypervolemia assessment (history-taking), (iii) chronic kidney disease follow-up (biological reasoning) and (iv) metabolic acidosis diagnosis (biological reasoning) (Supplementary data, Table S2). Students were free to choose the order and depth of interaction. Feedback was generated in real time, and optional faculty-led debriefings were offered locally.
Validation protocol
To assess ECOSBot’s performance as a standardized patient, all bot–student interactions were independently reviewed by six faculty members with expertise in nephrology and OSCE evaluation (V.M., N.F., A.L., M.B., B.B. and A.H.), all of whom are associate professors or senior academic clinicians in nephrology. Ratings were performed in randomly assigned pairs after dedicated training on the study protocol and evaluation grid. Each prompt–response pair was evaluated according to four predefined criteria. The first, script coverage, assessed whether the student’s question had been anticipated and explicitly addressed in the original clinical script, or whether the chatbot had to generate a response beyond the scripted content. In this context, we define “unscripted” interactions as student queries that were not explicitly foreseen in the pre-specified scenario. The second criterion, authenticity, examined whether the response plausibly mirrored how a real patient might speak, in terms of tone, comprehension level and conversational realism. Correctness, the third criterion, referred to the factual accuracy of the response and its coherence with the clinical context of the vignette. Finally, relevance captured whether the information provided was appropriate and directly addressed the student’s query without being misleading, confusing or unnecessarily complex. Each response was rated as satisfactory or unsatisfactory on each dimension. In cases of disagreement between reviewers, the more critical appraisal was retained. Reviewers also had the opportunity to document anomalies or concerns in a dedicated free-text field.
To assess ECOSBot’s performance as a standardized examiner, we established a human-derived gold standard by combining two complementary evaluation processes. First, “clinical skills” were scored using a station-specific binary checklist (14–18 items), independently rated by random pairs of nephrology faculty members as previously described. In case of disagreement between ECOSBot and either human rater, a third faculty member (R.B.), experienced in OSCE scoring and blinded to the source of each response, independently reviewed the transcript to render a definitive “present” or “absent” determination. Second, “communication and professional attitudes” were assessed through three items rated on a 5-point Likert scale (0 = insufficient to 4 = remarkable), covering competencies such as attentive listening, effective questioning, clear information delivery, structured interviewing and data synthesis. For these subjective domains, the human reference score was defined as the average of the two faculty reviewers’ ratings. All adjudicated checklist scores and averaged Likert scores were then aggregated into a global score on a 0–100 scale, with clinical reasoning contributing 70%–80% and professional attitudes 20%–30%. Separate sub-scores were also calculated for detailed comparisons with ECOSBot’s automated evaluations.
Usability and user perception
At the end of the session, all students were invited to complete a self-administered usability questionnaire based on the validated Chatbot Usability Questionnaire (CUQ), originally developed to assess interactions with conversational agents in healthcare [33]. For this study, the CUQ was adapted to assess the ECOSBot’s feedback component. The final 22-item instrument covered four domains: perceived personality (e.g. realism, friendliness, clarity of purpose), ease of use (e.g. simplicity of use, ease of navigation), answer quality and error handling (e.g. chatbot comprehension, clarity of responses, management of misunderstandings), and feedback quality (e.g. personalization, relevance to the case, motivational impact). Each domain included paired positive and negative items rated on a 5-point Likert scale. A global usability score was calculated on a 0–100 scale, with 68 commonly considered a benchmark threshold for acceptable chatbot usability [32, 34]. In addition, students rated ECOSBot’s perceived usefulness for OSCE preparation on a 0–10 scale and were invited to provide three keywords describing their experience. These subjective measures were collected to inform future improvements of the platform and to gauge students’ receptivity to this novel mode of autonomous training, rather than to infer learning outcomes.
Statistical analysis
Descriptive statistics were used to characterize the study population and summarize ECOSBot usage metrics, with continuous variables reported as medians and interquartile ranges (IQRs) and categorical variables as frequencies and percentages. To evaluate ECOSBot’s performance as a standardized patient, the proportion of satisfactory responses for each of the four rating criteria (script coverage, authenticity, correctness and relevance) was calculated, along with 95% confidence intervals (95% CIs) derived using the Wilson score method. For its role as a standardized examiner, ECOSBot’s scores were compared with those of two independent faculty reviewers and human-derived gold standard using boxplots, kernel density plots and the Kruskal–Wallis test to assess global differences.
Agreement between ECOSBot and the human gold standard was quantified using intraclass correlation coefficients (ICCs), calculated with a two-way random effects model for absolute agreement and 1000 bootstrap replicates to derive 95% CIs. Separate ICCs were computed for each faculty expert rater and for ECOSBot, and ECOSBot’s reliability was statistically compared with the average ICC of both human reviewers using the method proposed by Dormer and Zou [35]. Analyses were conducted for total OSCE scores and for each scoring component (i.e. binary clinical checklist and Likert-based competency items) independently. Sensitivity analyses were performed across OSCE station type, medical school, year of training and prior nephrology clerkship experience. Statistical significance was defined as a two-sided P-value <.05. All analyses were conducted using R version 4.3.2.
RESULTS
Participant characteristics and ECOSBot usage
Ninety-one undergraduate medical students [median age 23 years (IQR 22–24); 77% female] from five French medical schools participated. Most were in their final year of undergraduate medical studies (year 6, 53%), followed by 27% in year 4 and 20% in year 5. Two-thirds (67%) had completed a nephrology rotation (i.e. at least 6 weeks at bedside). Self-rated confidence was modest, with a median of 4/10 (IQR 3–5) for nephrology and 5/10 (IQR 3–6) for OSCEs. Forty percent had prior exposure to OSCE training tools using AI. A total of 184 chatbot conversations were recorded [median per student: 2 (IQR 1–3)], comprising 2939 prompts and a median of 21 prompts per session (IQR 14–29). Sessions lasted a median of 8 min 30 s (IQR 4 min 10 s to 15 min 20 s) and generated a median of 509 tokens (IQR 388–681) (Tables 1 and 2).
Table 1:
Participant characteristics (N = 91).
| Characteristic | Value |
|---|---|
| Age, years | 23 (22; 24)a |
| Sex | |
| Male | 21 (23%) |
| Female | 70 (77%) |
| Year of study | |
| Year 4 (MED4) | 25 (27%) |
| Year 5 (MED5) | 18 (20%) |
| Year 6 (MED6) | 48 (53%) |
| Home medical school | |
| Lille | 29 (32%) |
| Tours | 22 (24%) |
| Strasbourg | 19 (21%) |
| Caen | 11 (12%) |
| Marseille | 10 (11%) |
| Self-rated confidence in nephrology (0–10) | 4 (3; 5)a |
| Completed a nephrology clinical rotation | 61 (67%) |
| Self-rated confidence in OSCEs (0–10) | 5 (3; 6)a |
| Previous use of AI-based OSCE training tools | |
| No | 55 (60%) |
| Yes, paid | 30 (33%) |
| Yes, free | 6 (7%) |
aValues are presented as median (Q1; Q3) for continuous variables and n (%) for categorical variables.
Table 2:
Summary of ECOSBot usage metrics across all chatbot sessions.
| Metric | N or median (Q1; Q3) |
|---|---|
| Total number of conversations | 184 |
| Total number of prompts | 2939 |
| Number of conversations per student | 2 (1; 3) |
| Number of prompts per conversation | 21 (14; 29) |
| Number of tokens generated per conversation | 509 (388; 681) |
| Time spent per conversation | 8m30 (4m10; 15m20) |
Performance as a standardized patient
ECOSBot demonstrated high response quality across the evaluated dimensions: 98.6% (95% CI 98.2–99.0) of replies were rated as authentic, 98.3% (95% CI 97.9–98.7) as correct and 99.2% (95% CI 98.9–99.5) as relevant. Half of the responses (50.2%) were covered by the scripted vignette; the remainder (49.8%) required autonomous generation. Performance remained excellent in both conditions, with small but statistically significant differences: authenticity was slightly higher for unscripted responses (99.1% vs 98.1%; P = .027), while relevance was marginally higher in scripted cases (99.9% vs 98.4%, P < .001). Correctness did not differ significantly (P = .088) (Fig. 2).
Figure 2:
ECOSBot performance as a standardized patient according to script coverage. Left panel: distribution of responses classified as covered vs not covered by the original clinical script; right panel: proportion of satisfactory responses for each evaluation criterion (authenticity, correctness, relevance) stratified by script coverage. Comparisons between groups were performed using two-sided Chi-squared tests. Error bars indicate 95% CIs.
Out of 2939 responses, 117 (3.9%) were flagged as problematic: 1.7% were factually incorrect, 1.4% inauthentic (e.g. overly technical or robotic) and 0.9% contextually inappropriate. Common errors included logical incoherence (0.9%), omission of expected information (0.7%), and vague or irrelevant replies (0.2%–0.6%) (Table 3).
Table 3:
Classification of ECOSBot response errors with examples, frequencies, and explanatory notes (N = 2939 interactions).
| Error category | Error subtype | Student message | ECOSBot response | Absolute frequency | Explanation |
|---|---|---|---|---|---|
| Incorrect | Incoherent prompt | I saw you were at a wedding this weekend | What wedding? I haven’t attended a wedding recently | 0.90% | Candidate was informed of the wedding in the starting instructions, but that information was missing from the bot instructions |
| Hides paraclinical information | Have you ever had a urine dipstick test? | No, I’ve never had one | 0.40% | Omits result because student did not explicitly ask for it | |
| Hides clinical information | Do they take the shape of socks? | No, they don’t take the shape of socks | 0.30% | Fails to infer based on indirect symptom (“leaves a mark”) | |
| Invents clinical information | Do you have any medical history? | They told me I had eye problems because of diabetes, but I’m not sure about the details | 0.10% | Hallucination | |
| Inauthentic | Too expert or medical | Are the edemas white? | I have a bit of ocher dermatitis | 0.80% | Uses medically advanced terminology |
| Too robotic | Do you have anemia? | Repeats in a loop exactly: I don’t understand what that means | 0.40% | Repeats the same sentence | |
| Gives too much information | What happened? | I had a fainting episode without losing consciousness, but I didn’t have chest pain or palpitations. I felt it coming, but there were no abnormal movements, no tongue biting, and no urinary incontinence | 0.20% | Over-delivers scripted content without contextual need | |
| Inadequate | Unsolicited question or follow-up | Metabolic acidosis with ongoing respiratory compensation | I’m sorry, I don’t understand those terms. Could you explain what that means? | 0.60% | Should not ask for clarification |
| Vague or confusing response | I’m thinking of something like nephrotic syndrome | I’m not sure I understand, but I haven’t had any recent blood tests | 0.20% | Attempts to interpret the suspected diagnosis |
Error types were categorized into three main groups: inauthentic (1.4%), incorrect (1.7%) and inappropriate responses (0.9%). Each group was further subcategorized (e.g. expert-level phrasing, incoherence, unsolicited follow-up) based on independent human review. Frequencies are expressed as a percentage of total responses. Selected examples are provided to illustrate each error type.
Performance as a standardized examiner
Overall grade distributions for ECOSBot, the two human experts and the gold-standard consensus were nearly indistinguishable (Fig. 3A). Kernel density curves and boxplots showed overlapping medians and interquartile ranges for all evaluators, and no subgroup, whether defined by station topic, year of study, prior nephrology clerkship or institution, differed significantly on Kruskal–Wallis testing (all P > .05; Fig. 3B).
Figure 3:
Grade distribution comparisons by evaluator. (A) Overall distributions. Overlayed kernel density plots (left) and boxplots (right) of normalized OSCE grades (0–100) for the gold-standard consensus (yellow), ECOSBot (red), human expert 1 (teal), and human expert 2 (blue). Group medians are indicated by dashed vertical lines. Distributions were compared using the Kruskal–Wallis test. (B) Subgroup distributions. Boxplots of normalized OSCE grades (0–100) stratified by station topic, year of study, prior nephrology internship and institution. Colors as in (A). Subgroup comparisons across all four evaluators were performed with the Kruskal–Wallis test.
Agreement with the consensus (human-derived gold standard) was then assessed via ICCs (Fig. 4A). For total OSCE scores, ECOSBot achieved an ICC of 0.94 (95% CI 0.91–0.96), slightly higher than human expert 1 and expert 2 [ICC of 0.88 (95% CI 0.83–0.91) and 0.89 (0.83–0.93) respectively; P < .001 for ICC-dependent comparison]. Stratified by station format, ECOSBot’s ICC was 0.92 (0.87–0.95) in lab result analysis stations [versus 0.86 (0.77–0.92) and 0.89 (0.82–0.9) for the two experts (P = .094)] and 0.90 (0.84–0.94) in patient interview stations, compared with expert ICCs of 0.71 (0.56–0.80) and 0.72 (0.53–0.85) (P < .001). Interrater reliability for ECOSBot remained robust across all examined subgroups, including year of study, prior nephrology clerkship, and participating institutions (Supplementary data, Fig. S2). However, when restricting analyses to attitude-based items, capturing aspects such as communication, reasoning and interview structuring, ECOSBot’s agreement with the gold standard dropped to ICC = 0.44 (0.28–0.58), significantly lower than both expert 1 and expert 2 [respectively 0.82 (0.74–0.87) and 0.84 (0.76–0.89); P < .001]. This reduced reliability was observed across both station types, with ICCs for ECOSBot falling to 0.48 (0.23–0.64) in lab result analysis stations and 0.31 (0.07–0.49) in patient interview stations (Fig. 4B).
Figure 4:
Interrater reliability of ECOSBot compared with human experts. (A) ICCs and 95% CIs for the overall OSCE score across all stations and stratified by station format (lab results vs patient interview). (B) ICCs for the “communication and professional attitudes” component of the score, based on Likert-scale items, computed globally and by station format. In both panels, the performance of ECOSBot (red) is compared with that of two human expert raters (green and blue). All ICCs were calculated using a two-way random effects model for absolute agreement. P-values correspond to dependent ICC comparisons between ECOSBot and the average of human expert ratings.
User experience and perceived utility
Eighty-four students (92%) completed the post-session CUQ. ECOSBot received a median score of 71.1/100 (IQR 62.5–79.7) on the standard CUQ and 69.7 (IQR 60.6–75.5) on the adapted version, both exceeding the usability benchmark of 68.
In the personality domain, 56.0% agreed the chatbot felt realistic and natural, 65.5% found it welcoming and over 60% disagreed that it was unfriendly or unclear. Ease of use was rated highly: 86.9% found navigation easy and 89.3% described the interface as simple. Answer quality was generally well rated, with 58.3% agreeing ECOSBot understood queries clearly and 70.2% finding its responses helpful. While only 36.9% agreed it managed errors effectively, 38.1% responded neutrally, likely due to the low rate of observed errors. Feedback quality was highly rated: 79.8% agreed it was personalized, 82.1% said it helped identify strengths and weaknesses, and 86.9% found it encouraging (Fig. 5).
Figure 5:
Student responses to the adapted CUQ. Stacked bar charts summarizing Likert-scale responses (from “Strongly Disagree” to “Strongly Agree”) across four CUQ domains: chatbot’s personality, ease of use, answer quality and error handling, and debriefing usefulness. Each domain includes paired positive and negative items. Responses were collected immediately after the ECOSBot session (N = 84).
When asked to rate the tool’s usefulness for OSCE preparation, 91.7% scored it ≥7/10 (mode = 8). In free-text responses, students most frequently described ECOSBot as “useful”, “practical”, “simple” and “effective” (Fig. 6).
Figure 6:
Student perceptions of ECOSBot’s usefulness and overall experience. (A) Distribution of utility scores (0–10 scale) rating ECOSBot’s perceived usefulness for OSCE preparation (N = 84). (B) Word cloud representing the most frequently cited keywords used by students to describe their interaction with ECOSBot in free-text responses. Word size reflects frequency.
DISCUSSION
This prospective, multicenter pilot study demonstrates that a generative AI-powered chatbot, ECOSBot, can simulate both standardized patients and examiners in nephrology-focused OSCE. Across nearly 3000 student–bot exchanges, ECOSBot produced highly authentic, accurate and contextually appropriate responses, even when responses were not explicitly foreseen in the pre-specified scenario. Its scoring aligned strongly with expert faculty ratings [ICC = 0.94 (95% CI 0.91–0.96)] and remained consistent across various case formats, training levels and institutions. However, performance was less reliable for more subjective competencies such as communication and attitude, reflecting current limitations of LLMs in assessing nuanced interpersonal skills from written transcripts alone. While this study was not designed to measure educational effectiveness, the observed technical reliability on core clinical skills provides a necessary foundation for future investigations of its pedagogical impact.
In nephrology education, where abstract biochemical concepts (e.g. acid–base disorders, electrolyte imbalances) must be integrated with nuanced history-taking, effective simulation is especially difficult to scale [14]. Traditional OSCE stations in nephrology tend to simplify this complexity, often omitting key reasoning steps. Our findings suggest that generative AI may help fill this gap by offering dynamic, context-aware scenarios that reflect real diagnostic challenges. Recent studies have highlighted the potential of large language models to act as simulated patients in medical education, but most have been limited to narrowly defined scenarios [31, 32, 36, 37]. Holderried et al. explored this with GPT-3.5 and later GPT-4 in one to two scripted history-taking stations [31, 32]. They reported high plausibility in both studies (97.9% and over 99% of chatbot responses, respectively) but also noted a substantial reliance on fabricated content when students’ questions fell outside the preloaded script (56.4% of off-script answers in the first study) [32]. Our results are consistent with these high plausibility scores, but extend them in several ways: ECOSBot operated across four nephrology-focused OSCE stations with varied formats and clinical objectives, and maintained high fidelity even when nearly half of student prompts were unscripted. Unlike prior studies that embedded detailed behavioral instructions into their prompts, our design mimicked the minimal briefing typically given to human standardized patients. Despite this, hallucinated content was rare, suggesting that modern foundation models may now be capable of improvising in clinically plausible ways under less structured prompting conditions.
In its examiner role, ECOSBot achieved expert-level agreement on global scores, aligning with prior findings. For instance, Holderried et al. reported “almost perfect” agreement (κ = 0.832) between GPT-4 and human feedback on structured history-taking interactions, though 8 of 45 feedback dimensions fell below κ = 0.6, mainly those requiring nuanced, fine-grained judgment [31]. Similarly, Jamieson et al., evaluating over 10 000 OSCE post-encounter notes with GPT-4, reported 89.7% agreement at the rubric-item level (κ = 0.79) and a Spearman correlation of 0.86 with human scores [38]. In both cases, the AI evaluated structured written outputs such as SOAP (Subjective, Objective, Assessment, Plan) notes or feedback checklists. By contrast, ECOSBot’s assessment was based on free-text OSCE transcripts and required interpreting student performance without guidance beyond a standard rubric. This methodological difference likely contributed to the significantly lower agreement observed for subjective, attitude-based ratings, especially in patient interview stations, where ECOSBot’s ICC fell to 0.31 (0.07–0.49) versus 0.78 (0.64–0.88) for human raters. These competencies (e.g. listening, effective questioning, clear information delivery, structured interviewing or data synthesis) are inherently more ambiguous, lack direct linguistic markers and are difficult to quantify homogeneously, even for humans (particularly through chatbot discussions). This limitation highlights the current inability of LLMs to consistently evaluate nuanced interpersonal behaviors in unstructured interactions. As such, these findings reinforce the need for human expertise in the assessment of relational competencies and delineate ECOSBot’s current boundaries as a formative, not summative, training tool. These findings are however relevant for nephrology educators, who face increasing pressure to deliver individualized formative feedback amid limited faculty time. ECOSBot’s ability to reliably score core diagnostic reasoning steps could be integrated into flipped classroom models or pre-rotation preparation, not only allowing faculty to concentrate on mentoring rather than repetitive assessment, but also helping reduce student anxiety before starting clinical clerkships in nephrology [39, 40].
Our study also contributes to the growing body of evidence on user perceptions of LLM-based educational tools. In their initial evaluation of a GPT-3.5–powered chatbot, Holderried et al. reported a median CUQ score of 77/100, reflecting a generally positive user experience in history-taking simulations [32]. This aligns closely with our own findings, as ECOSBot received a median global CUQ score of 71/100, above the commonly accepted benchmark of 68 for acceptable chatbot usability [34]. However, their version of the CUQ focused primarily on usability and interaction quality, without addressing the pedagogical value of the chatbot’s feedback. In contrast, our study extended the instrument by adding a dedicated domain specifically designed to evaluate the quality of the automated debriefing, a central pedagogical component in OSCE preparation [41–44]. This addition allowed for a structured appraisal of whether ECOSBot’s feedback was perceived as personalized, specific and motivational, in line with established dimensions of effective clinical feedback [41, 44]. While we did not benchmark this new domain against external datasets, its inclusion addresses a documented gap in the current literature and underscores the growing need to assess not only the usability of AI-driven simulators, but also the educational value they provide [45]. This focus is particularly relevant given the well-established role of feedback in fostering student engagement, self-regulated learning and performance improvement in clinical education [40, 46]. Although these results suggest a favorable user experience, they should not be interpreted as evidence of educational benefit. Rather, they highlight students’ willingness to engage with the tool, a necessary precursor to future effectiveness studies. Emerging evidence suggests that generative AI simulators may eventually translate into educational benefits. A recent randomized controlled trial by Lavigne et al. demonstrated that an AI-powered OSCE simulator significantly improved both student performance and emotional readiness compared with standard training [47]. Building on these foundations, future studies should explore whether tools like ECOSBot can similarly enhance clinical reasoning, knowledge retention and student confidence in real-world educational settings.
Several limitations warrant mention. First, although ECOSBot was tested using OSCE transcripts based on four predefined clinical scripts, this format may limit exposure to the variability of real-life encounters. It currently cannot simulate procedural skills or interpret medical images, limiting its applicability to certain station types. Second, the use of text-based transcripts precluded assessment of oral delivery or non-verbal communication, although this format aligns with how students often engage in asynchronous, self-directed learning and supports standardized evaluation [15]. Third, the AI-based nature of the interaction may have influenced student behavior, and the voluntary design could introduce selection bias favoring more motivated or tech-confident participants [48]. Although the use of a single national sample of French medical students may limit generalizability, the study included participants from five institutions and multiple academic years, with varying nephrology exposure. Subgroup analyses showed no significant differences in ECOSBot’s performance across these profiles, supporting the tool’s technical reliability within the intended scope of this pilot validation. Moreover, the lower agreement observed for attitude and communication ratings may partly reflect the intrinsic difficulty of establishing a robust gold standard for such subjective competencies. Future work could explore whether incorporating multimodal data such as speech or video might enhance the evaluation of these interpersonal skills by enabling the capture of tone, pacing and nonverbal cues, and help overcome current performance limitations observed in the assessment of subjective OSCE domains. Moreover, the study design did not include a control group or external validation cohort, as the primary objective was to pilot and internally validate the tool’s technical performance rather than to assess educational or clinical outcomes.
As class sizes grow and faculty time remains limited, AI-powered automated OSCE training may offer advantages in cost, scalability and interrater reliability [27, 38]. Because ECOSBot operates without nephrology-specific prompts, its capacity to generate contextually appropriate responses under minimal guidance suggests applicability beyond nephrology [37].
Although this study was limited to a first-stage, proof-of-concept validation framework assessing technical performance rather than educational or clinical impact, it represents, to our knowledge, the first prospective, multicenter implementation of a generative AI–based OSCE simulator in nephrology. By systematically analyzing nearly 3000 real-time interactions across both simulated roles, it lays essential groundwork for future outcome-driven research of LLM-powered simulation in medical education.
Supplementary Material
ACKNOWLEDGEMENTS
We thank all the medical students who volunteered to participate in this study, as well as the nephrology faculty members who contributed to the design and writing of the four OSCE stations used in the evaluation.
Contributor Information
Raphaël Bentegeac, Lille University, Department of Public Health – Epidemiology, Lille University Hospital Center, Lille, France; UMR1167 RID-AGE, Pasteur Institute of Lille, Inserm, Lille University, Lille University Hospital Center, Lille, France.
Nans Florens, Nephrology Department, Hôpitaux Universitaires de Strasbourg, Strasbourg, France; Inserm UMR_S 1109 Immuno-Rhumatology Laboratory, Translational Medicine Federation of Strasbourg (FMTS), FHU Target, Faculté de Médecine, Université de Strasbourg, Strasbourg, France; INI-CRCT (Cardiovascular and Renal Trialists), F-CRIN Network, Strasbourg, France.
Mehdi Maanaoui, Lille University, Department of Nephrology, Lille University Hospital Center, Lille, France; U1190 Translational Research for Diabetes, INSERM, Pasteur Institute of Lille, Lille University, Lille, France.
Valentin Maisons, Service de Néphrologie, CHU de Tours, Tours, France; U1246, INSERM, SPHERE, Université de Tours, Université de Nantes, Tours, Nantes, France.
Antoine Lanot, Normandie Université, UNICAEN, CHU de Caen Normandie, Néphrologie, CAEN, France; ANTICIPE U1086 INSERM-UCN, Centre François Baclesse, Caen, France.
Mickaël Bobot, Centre de Néphrologie et Transplantation Rénale, Hôpital de la Conception, AP-HM, Marseille, France; Aix Marseille Univ., INSERM 1263, INRAE 1260, C2VN, CERIMED, Marseille, France.
Benoît Brilland, Service de Néphrologie-Dialyse-Transplantation, CHU Angers, Angers, France; Univ. Angers, Nantes Université, Inserm, CNRS, CRCI2NA, SFR ICAT, Angers, France.
François Glowacki, Lille University, Department of Nephrology, Lille University Hospital Center, Lille, France.
Erwin Gérard, Université de Lille, CHU Lille, ULR 2694-METRICS: Évaluation des Technologies de Santé et des Pratiques Médicales, Lille, France.
Marc Hazzan, Lille University, Department of Nephrology, Lille University Hospital Center, Lille, France.
Philippe Amouyel, Lille University, Department of Public Health – Epidemiology, Lille University Hospital Center, Lille, France; UMR1167 RID-AGE, Pasteur Institute of Lille, Inserm, Lille University, Lille University Hospital Center, Lille, France.
Bastien Le Guellec, UMR1167 RID-AGE, Pasteur Institute of Lille, Inserm, Lille University, Lille University Hospital Center, Lille, France; Lille University, Department of Neuroradiology, CHU Lille, Salengro Hospital, Lille, France; INSERM, U1172-LilNCog-Lille Neuroscience & Cognition, Université de Lille, Lille, France.
Aghiles Hamroun, Lille University, Department of Public Health – Epidemiology, Lille University Hospital Center, Lille, France; UMR1167 RID-AGE, Pasteur Institute of Lille, Inserm, Lille University, Lille University Hospital Center, Lille, France; INI-CRCT (Cardiovascular and Renal Trialists), F-CRIN Network, Strasbourg, France; Lille University, Department of Nephrology, Lille University Hospital Center, Lille, France.
FUNDING
This work was supported by the University of Lille through the CAPS'UL project (‘CAmpus Participatif en Santé numérique du site Universitaire de Lille’).
AUTHORS’ CONTRIBUTIONS
R.B., B.L.G. and A.H. conceived the study, designed the methodology, and led data analysis and interpretation. N.F. and M.M. contributed to study implementation and data management, and supported manuscript drafting. N.F., V.M., A.L., M.B., B.B. and A.H. contributed to the expert evaluation and validation of the study. All authors provided supervision, critical appraisal of the findings, and reviewed and approved the final version of the manuscript.
DATA AVAILABILITY STATEMENT
Anonymized transcripts of the student–ECOSBot interactions, containing no identifiable information, are available from the corresponding author upon reasonable request.
CONFLICT OF INTEREST STATEMENT
The authors declare no competing interests related to the content of this article.
REFERENCES
- 1. Jhaveri KD, Sparks MA, Shah HH et al. Why not nephrology? A survey of US internal medicine subspecialty fellows. Am J Kidney Dis 2013;61:540–6. 10.1053/j.ajkd.2012.10.025 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2. Burgner A, Ikizler TA. Increasing interest in nephrology: focusing on the medical students. Am J Nephrol 2019;50:1–3. 10.1159/000501060 [DOI] [PubMed] [Google Scholar]
- 3. Nair D, Pivert KA, Baudy A et al. Perceptions of nephrology among medical students and internal medicine residents: a national survey among institutions with nephrology exposure. BMC Nephrol 2019;20:146. 10.1186/s12882-019-1289-y [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4. Lane CA, Brown MA. Nephrology: a specialty in need of resuscitation? Kidney Int 2009;76:594–6. 10.1038/ki.2008.685 [DOI] [PubMed] [Google Scholar]
- 5. Sozio SM, Pivert KA, Caskey FJ et al. The state of the global nephrology workforce: a joint ASN-ERA-EDTA-ISN investigation. Kidney Int 2021;100:995–1000. 10.1016/j.kint.2021.07.029 [DOI] [PubMed] [Google Scholar]
- 6. Parker MG, Ibrahim T, Shaffer R et al. The future nephrology workforce: will there be one? Clin J Am Soc Nephrol 2011;6:1501–6. 10.2215/CJN.01290211 [DOI] [PubMed] [Google Scholar]
- 7. Results and Data: Specialties Matching Service. 2024. Appointment Year. NRMP. February 13, 2024. Available from: https://www.nrmp.org/match-data/2024/02/results-and-data-specialties-matching-service-2024-appointment-year/ (26 May 2025, date last accessed). [Google Scholar]
- 8. Perrotta AM, Rotondi S, Amicone M et al. Residents’ satisfaction and suggestions to improve nephrology residency in Italy, and comparison with the organization in other European countries. J Nephrol 2024;37:611–23. 10.1007/s40620-024-01901-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9. Daniels MN, Maynard S, Porter I et al. Career interest and perceptions of nephrology: a repeated cross-sectional survey of internal medicine residents. PLoS One 2017;12:e0172167. 10.1371/journal.pone.0172167 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10. Nakhoul GN, Mehdi A, Taliercio JJ et al. Residents’ perception of the nephrology specialty. Kidney Int Rep 2020;5:94–99. 10.1016/j.ekir.2019.08.013 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11. Hull W, Jewell E, Shabir S et al. Nephrophobia: a retrospective study of medical students’ attitudes towards nephrology education. BMC Med Educ 2022;22:667. 10.1186/s12909-022-03713-z [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12. Williams SE. Nephrophobia: teaching renal medicine to the undergraduate student. J Nephrol 2018;31:793–4. 10.1007/s40620-018-0528-9 [DOI] [PubMed] [Google Scholar]
- 13. Hoenig MP, Shapiro E, Hladik GA. Lessons learned from the ASN Renal Educator Listserv and survey. Clin J Am Soc Nephrol 2013;8:1054–60. 10.2215/CJN.07410712 [DOI] [PubMed] [Google Scholar]
- 14. Maisons V, Lanot A, Luque Y et al. Simulation-based learning in nephrology. Clin Kidney J 2024;17:sfae059. 10.1093/ckj/sfae059. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15. Tavarnesi G, Laus A, Mazza R et al. Learning with virtual patients in medical education. CEUR Workshop Proceedings, 2018. [Google Scholar]
- 16. Jhaveri KD, Perazella MA. Nephrologists as educators: clarifying roles, seizing opportunities. Clin J Am Soc Nephrol 2016;11:176–89. 10.2215/CJN.12151214 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17. Cumming A, Ross M. The tuning project for medicine—learning outcomes for undergraduate medical education in Europe. Med Teach 2007;29:636–41. 10.1080/01421590701721721 [DOI] [PubMed] [Google Scholar]
- 18. Frank JR, Snell L, Sherbino J (eds), CanMEDS 2015 Physician Competency Framework. Ottawa: Royal College of Physicians and Surgeons of Canada, 2015. [Google Scholar]
- 19. Common Program Requirements. 2025. https://www.acgme.org/programs-and-institutions/programs/common-program-requirements/ (28 May 2025, date last accessed). [Google Scholar]
- 20. Khan KZ, Ramachandran S, Gaunt K et al. The Objective Structured Clinical Examination (OSCE): AMEE Guide No. Part I: an historical and theoretical perspective. Med Teach 2013;35:e1437–46. 10.3109/0142159X.2013.818634 [DOI] [PubMed] [Google Scholar]
- 21. Khan KZ, Gaunt K, Ramachandran S et al. The Objective Structured Clinical Examination (OSCE): AMEE Guide No. Part II: organisation & administration. Med Teach 2013;35:e1447–63. 10.3109/0142159X.2013.818635 [DOI] [PubMed] [Google Scholar]
- 22. Prince LK, Abbott KC, Green F et al. Expanding the role of objectively structured clinical examinations in nephrology training. Am J Kidney Dis 2014;63:906–12. 10.1053/j.ajkd.2014.01.419 [DOI] [PubMed] [Google Scholar]
- 23. Chisnall B, Vince T, Hall S et al. Evaluation of outcomes of a formative objective structured clinical examination for second-year UK medical students. Int J Med Educ 2015;6:76–83. 10.5116/ijme.5572.a534 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24. Al-Hashimi K, Said UN, Khan TN. Formative Objective Structured Clinical Examinations (OSCEs) as an assessment tool in UK undergraduate medical education: a review of its utility. Cureus 2023;15:e38519. 10.7759/cureus.38519 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25. Cohen Aubart F, Roux D. [Reform of the second cycle of medical studies in France: risk or opportunity?]. Rev Med Interne 2021;42:149–53. 10.1016/j.revmed.2020.12.005 [DOI] [PubMed] [Google Scholar]
- 26. Neuwirt H, Eder IE, Gauckler P et al. Impact of familiarity with the format of the exam on performance in the OSCE of undergraduate medical students—an interventional study. BMC Med Educ 2024;24:179. 10.1186/s12909-024-05091-0 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27. Bosse HM, Nickel M, Huwendiek S et al. Cost-effectiveness of peer role play and standardized patients in undergraduate communication training. BMC Med Educ 2015;15:183. 10.1186/s12909-015-0468-1 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28. Tsang R. Practical applications of ChatGPT in undergraduate medical education. J Med Educ Curr Dev 2023;10:23821205231178449. 10.1177/23821205231178449 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29. Zhang K, Meng X, Yan X et al. Revolutionizing health care: the transformative impact of large language models in medicine. J Med Internet Res 2025;27:e59069. 10.2196/59069 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30. Cascella M, Semeraro F, Montomoli J et al. The breakthrough of large language models release for medical applications: 1-year timeline and perspectives. J Med Syst 2024;48:22. 10.1007/s10916-024-02045-3 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31. Holderried F, Stegemann-Philipps C, Herrmann-Werner A et al. A language model–powered simulated patient with automated feedback for history taking: prospective study. JMIR Med Educ 2024;10:e59213. 10.2196/59213 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32. Holderried F, Stegemann-Philipps C, Herschbach L et al. A generative pretrained transformer (GPT)–powered chatbot as a simulated patient to practice history taking: prospective, mixed methods study. JMIR Med Educ 2024;10:e53961. 10.2196/53961 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33. Holmes S, Moorhead A, Bond R et al. Usability testing of a healthcare chatbot: can we use conventional methods to assess conversational user interfaces? In: Proceedings of the 31st European Conference on Cognitive Ergonomics. ECCE ’19. Association for Computing Machinery, 2019, 207–14. Available from: 10.1145/3335082.3335094 [DOI] [Google Scholar]
- 34. Radziwill NM, Benton MC. Evaluating quality of chatbots and intelligent conversational agents. 2017. arXiv; not peer reviewed; preprint posted online 15 April 2017. 10.48550/arXiv.1704.04579 [DOI] [Google Scholar]
- 35. Dormer A, Zou G. Interval estimation for a difference between intraclass kappa statistics. Biometrics 2002;58:209–15. 10.1111/j.0006-341X.2002.00209.x [DOI] [PubMed] [Google Scholar]
- 36. Stamer T, Steinhäuser J, Flägel K. Artificial intelligence supporting the training of communication skills in the education of health care professions: scoping review. J Med Internet Res 2023;25:e43311. 10.2196/43311 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37. Liaw SY, Tan JZ, Lim S et al. Artificial intelligence in virtual reality simulation for interprofessional communication training: mixed method study. Nurse Educ Today 2023;122:105718. 10.1016/j.nedt.2023.105718 [DOI] [PubMed] [Google Scholar]
- 38. Jamieson AR, Holcomb MJ, Dalton TO et al. Rubrics to prompts: assessing medical student post-encounter notes with AI. NEJM AI 2024;1:AIcs2400631. 10.1056/AIcs2400631 [DOI] [Google Scholar]
- 39. Kelly S, Smyth E, Murphy P et al. A scoping review: virtual patients for communication skills in medical undergraduates. BMC Med Educ 2022;22:429. 10.1186/s12909-022-03474-9 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40. He J, Liu Y, Ran T et al. How students’ perception of feedback influences self-regulated learning: the mediating role of self-efficacy and goal orientation. Eur J Psychol Educ 2023;38:1551–69. 10.1007/s10212-022-00654-5 [DOI] [Google Scholar]
- 41. Bing-You R, Hayes V, Varaklis K et al. Feedback for learners in medical education: what is known? A scoping review. Acad Med J Assoc Am Med Coll 2017;92:1346–54. 10.1097/ACM.0000000000001578 [DOI] [PubMed] [Google Scholar]
- 42. Bernard AW, Ceccolini G, Feinn R et al. Medical students review of formative OSCE scores, checklists, and videos improves with student-faculty debriefing meetings. Med Educ Online 2017;22:1324718. 10.1080/10872981.2017.1324718 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 43. Ahmed A, Alwaheedy M, Choudhury A et al. The value of quality feedback in formative OSCEs. Med Educ Online 2017;22:1353877. 10.1080/10872981.2017.1353877 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44. Cavalcanti AP, Barbosa A, Carvalho R et al. Automatic feedback in online learning environments: a systematic literature review. Comput Educ Artif Intell 2021;2:100027. 10.1016/j.caeai.2021.100027 [DOI] [Google Scholar]
- 45. Dai W, Lin J, Jin H et al. Can large language models provide feedback to students? a case study on ChatGPT. In: 2023 IEEE International Conference on Advanced Learning Technologies (ICALT), 2023, 323–5. 10.1109/ICALT58122.2023.00100 [DOI]
- 46. Meyer J, Jansen T, Schiller R et al. Using LLMs to bring evidence-based feedback into the classroom: AI-generated feedback increases secondary students’ text revision, motivation, and positive emotions. Comput Educ Artif Intell 2024;6:100199. 10.1016/j.caeai.2023.100199 [DOI] [Google Scholar]
- 47. Lavigne E, Lopez A, Frandon J et al. AI-standardized clinical examination training on OSCE performance. NEJM AI 2025;2. 10.1056/AIoa2500066 [DOI] [Google Scholar]
- 48. Moldt JA, Festl-Wietek T, Mamlouk M et al. Chatbots for future docs: exploring medical students’ attitudes and knowledge towards artificial intelligence and medical chatbots. Med Educ Online 2023;28:2182659. 10.1080/10872981.2023.2182659 [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
Anonymized transcripts of the student–ECOSBot interactions, containing no identifiable information, are available from the corresponding author upon reasonable request.







