A study published in Nature Cancer evaluates a system comprising six specialized agents designed to identify, in clinical notes, certain complications associated with immunotherapies. The results combine retrospective validation, prospective deployment, and studies involving professionals, but also show a decline in performance under real-world conditions and a persistent difficulty in determining severity. The challenge, therefore, is not to entrust therapeutic decision-making to AI, but to assess whether agent-based assistance can make literature review faster, more consistent, and verifiable.
What Just Happened
On October 29, 2026, *Nature Cancer* published a study on the use of an agent-based AI system to identify immune-related adverse events in the clinical notes of patients treated with immune checkpoint inhibitors.[1] These treatments mobilize the immune system to fight cancer but can cause inflammation affecting various organs. The authors note that these complications affect up to 40% of patients receiving this class of treatments.
The study does not focus on a standalone diagnosis at the patient’s bedside. The system extracts information already present in patient records: the existence of a complication, its timing, severity, attribution to treatment, and degree of certainty. Its goal is to support clinical curation, pharmacovigilance, clinical trials, and the generation of data from routine care.
The protocol consists of three main stages: a retrospective validation using notes annotated by experts, a prospective “silent” deployment in the electronic health record, and a randomized crossover study evaluating the effect of the assistance on the work of healthcare professionals. This sequence provides a more informative level of evidence than an isolated benchmark, though it does not yet constitute external clinical validation or a demonstration of patient benefit.
What’s Really New
Automated natural language processing systems are already used to classify medical documents. What’s new here is the breakdown of the work. Six specialized agents contribute to the extraction process, and then a consistency-checking mechanism compares multiple responses to refine the result. The system also highlights the sections of the record that support its conclusions, which facilitates human verification.
The framework covers six complications: myocarditis, dermatitis, thyroiditis, hepatitis, colitis, and inflammatory lung disease. However, it covers only a portion of the toxicities listed in the CTCAE clinical classification. The other contribution is methodological. The authors do not limit themselves to testing the system on historical data. They observe its performance on a prospective stream of more recent records, then measure the effect of its use on working time, accuracy, and inter-rater agreement.
How Does the Multi-Agent System Work
Based on a clinical note, the system must generate a structured representation of the complication. The task is more complex than a simple keyword search. The same symptom may be a past or current one, attributed to treatment or to another cause, documented with caution, or presented as confirmed. The severity level sometimes depends on details scattered across several sentences.
The agents query these dimensions separately and rely on a self-consistency procedure. Multiple outputs are generated and then compared to select a more stable response. According to the study, this mechanism improves the F1 score by 0.14. However, it increases the number of model calls and does not guarantee that multiple consistent responses are clinically correct.
Why This Matters for Monitoring Immunotherapies
Clinical guidelines indicate that the appropriate course of action varies greatly depending on the affected organ and the grade of toxicity. A Grade 1 complication may be managed with close monitoring, while certain more severe toxicities may require suspending treatment, administering corticosteroids, or considering permanent discontinuation.[3]
In this context, quickly extracting relevant information can improve cohort formation, trial monitoring, and the identification of cases requiring review. The organizational benefit is significant when teams must review numerous disparate notes and reconstruct the timeline of an event.
The distinction between data extraction and decision-making remains fundamental, however. The system under study does not directly examine the patient, does not necessarily have access to all biological or imaging data, and does not select a treatment. The decision must take into account the patient’s clinical condition, alternative diagnoses, the course of the cancer, and the patient’s preferences.
What the results actually allow us to conclude
During the retrospective phase, the system achieved a macro-averaged F1 score of 0.92 for identifying an active complication. Performance dropped to 0.66 for multi-class severity classification, while performance for classification independent of timing reached 0.94.[1] These differences show that a system can correctly detect the presence of an event while remaining less reliable at characterizing its severity.
The transition to forward deployment is even more revealing. Out of 884 notes, the F1 score for detection ranges from 0.72 to 0.79. The authors attribute this decline to changes in document templates, differences in vocabulary, the diversity of cases, and writing practices. Performance achieved on a historical corpus cannot, therefore, be applied uncritically to a future clinical data stream.
In the cross-validation study, the tool reduced annotation time by 2.71 minutes, or approximately 40 percent. It also increased the probability of a complete match with the reference, with an odds ratio of 1.45, and improved inter-rater agreement. The Krippendorff alpha coefficient ranges from 0.22 to 0.51 without assistance and from 0.82 to 0.85 with the tool.
These results support a specific conclusion: in the setting studied, agent-based assistance can make case management more effective. They do not demonstrate earlier detection in the care pathway, a reduction in hospitalizations, safer treatment adjustments, or improved survival. These outcomes were not evaluated.
Issues of Accountability, Data, and Oversight
All phases were conducted within the same healthcare system. The study therefore does not provide external validation in facilities that use different patient populations, scoring models, languages, or software. The reference annotations also depend on the quality of the medical records and involve some degree of human judgment, particularly regarding severity and assignment.
The main system uses GPT-4.1-mini via a commercial interface. The highest-performance configuration costs approximately $0.021 per note, or nearly $18.50 for the 884 prospective notes. This inference cost may seem low, but it does not include integration with the electronic health record, security, local validation, monitoring, maintenance, or incident handling. The open-source models tested avoid external calls but perform worse in this study.
Clinical notes contain particularly sensitive health data. Any deployment must specify data flows, retention periods, access rights, logs, the handling of data exports, and the conditions under which a provider may intervene. Extracting supporting passages improves auditability, though it does not eliminate the risk that a professional might accept an incorrect proposal simply because it is presented in a structured manner.
When the system falls under the European framework for high-risk AI systems, Section 14 of the AI Act requires human oversight that is proportionate to the risk, the level of autonomy, and the context of use.[4] The professional must be able to understand the system’s limitations, detect anomalies, avoid automatic reliance, disregard an output, and shut down the system. In a medical context, therefore, supervision cannot be reduced to a quick validation step added after automation.
What to Watch for Now
The first step will be a multicenter external validation study. It must include other institutions, other electronic health record systems, various documentation styles, and—if the project expands internationally—multiple languages. The results should be presented separately for each complication and each severity level, as an average may mask a weakness related to a rare but critical event.
The scope will then need to be expanded beyond the six toxicities studied. Robustness must be assessed when multiple complications coexist, when the documentation is contradictory, or when symptoms may be attributed to cancer, an infection, or another medication. Comparisons between proprietary models, open models, and local solutions must use the same data and the same protocols.
Finally, future studies will need to assess clinical outcomes: time to diagnosis, initiation of appropriate treatment, hospitalization, interruption of immunotherapy, false positives, and effects on cognitive load. Reducing the time to treatment is beneficial, but it is not sufficient on its own to establish a benefit for the patient.
The accompanying commentary published in *Nature Cancer* highlights that the system can make human review faster and more consistent.[2] The study thus marks a credible methodological milestone for agentic AI in healthcare. Its scope, however, remains narrow: to assist in the structuring of clinical information under human supervision. The advancement will be demonstrated when this assistance maintains its reliability in other centers and contributes to better outcomes without undermining professional judgment.
For more information
To contextualize this study within the debates on clinical validation, human oversight and the responsible use of medical data , see also these analyses from the aivancity blog:
Sources
[1] Gallifant, J. et al. (October 29, 2026). An agentic AI system enhances clinical detection of immune-related adverse events in a multi-phase validation study. Nature Cancer. View the scientific study
[2] Jaume, G. and Kather, J. N. (October 29, 2026). AI for the detection of adverse events in the real world. Nature Cancer. View the scientific publication
[3] Schneider, B. J. et al. (2021). Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: ASCO Guideline Update. Journal of Clinical Oncology. View the ASCO clinical guidelines
[4] European Union. (2024, consolidated version in 2026). Regulation (EU) 2024/1689, Article 14 on human oversight. View the European regulation (AI Act)
