Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Accepted for/Published in: Journal of Medical Internet Research

Date Submitted: Jan 6, 2026
Date Accepted: Jul 28, 2026

The final, peer-reviewed published version of this preprint can be found here:

Automated Health Care Thematic Analysis Using a Multiagent Large Language Model: Algorithm Development and Evaluation Study

Xu Q, Amjad N, Giles G, Cumming A, Hermesky D, Wen A, Kwak MJ, Kim Y

Automated Health Care Thematic Analysis Using a Multiagent Large Language Model: Algorithm Development and Evaluation Study

J Med Internet Res 2026;28:e90872

DOI: 10.2196/90872

Automated Healthcare Thematic Analysis using Multi-Agent Large Language Model: Algorithm Development and Evaluation

  • Qidi Xu; 
  • Nuzha Amjad; 
  • Grace Giles; 
  • Alexa Cumming; 
  • De'angelo Hermesky; 
  • Alexander Wen; 
  • Min Ji Kwak; 
  • Yejin Kim

ABSTRACT

Background:

Understanding patients’ experiences is essential for advancing patient-centered care, especially in chronic diseases that require ongoing communication. However, qualitative thematic analysis, the primary approach for exploring these experiences, remains labor-intensive, subjective, and difficult to scale.

Objective:

The objective of our study was to develop a multi-agent large language model framework for automating qualitative thematic analysis and examine its performance and role in AI-human collaboration.

Methods:

In this study, we developed a multi-agent large language model framework that automates qualitative thematic analysis through three agents (Instructor, Thematizer, CodebookGenerator), named Collaborative Theme Identification Agent (CoTI). We applied CoTI to 12 heart failure patient interviews to analyze their perceptions of medication intensity. The outputs (key phrases, themes, and codebook) were compared with those generated by a senior investigator. We also implemented CoTI into a user-facing application to enable AI–human interaction in qualitative analysis.

Results:

CoTI identified key phrases, themes, and codebook that were more similar to those of the senior investigator than both junior investigators and baseline NLP models. However, collaboration between CoTI and junior investigators provided only marginal gains.

Conclusions:

CoTI can automate qualitative thematic analysis with performance comparable to expert qualitative analysis. Limited gains from AI–human collaboration suggest junior investigators may over-rely on CoTI and limit their independent critical thinking.


 Citation

Please cite as:

Xu Q, Amjad N, Giles G, Cumming A, Hermesky D, Wen A, Kwak MJ, Kim Y

Automated Health Care Thematic Analysis Using a Multiagent Large Language Model: Algorithm Development and Evaluation Study

J Med Internet Res 2026;28:e90872

DOI: 10.2196/90872

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.