AI-Based Real-Time Multi-Agent Depression Detection and Therapy System.

Show simple item record

dc.contributor.author Hettiarachchi, H.P.P.P.
dc.contributor.author Kavindya, P.P.
dc.contributor.author Jayasinghe, D.M.S.N.
dc.contributor.author Kumarasiri, L.I.N.
dc.contributor.author Sandamali, G.G.N.
dc.date.accessioned 2026-09-04T09:24:45Z
dc.date.available 2026-09-04T09:24:45Z
dc.date.issued 2026-03-04
dc.identifier.citation A en_US
dc.identifier.issn 2362-0412
dc.identifier.uri http://ir.lib.ruh.ac.lk/handle/iruor/21722
dc.description.abstract Depression is a prevalent mental health disorder in the world, but diagnosis is constrained by stigma, cost and lack of clinical services. This study describes an AI-Based Real-Time Multi-Agent Depression Detection and Therapy System which aims at early detection and provides therapy suggestions. NLP and speech emotion analysis are incorporated to assess the user input and calculate the level of depression using the Patient Health Questionnaire-9 (PHQ-9). Five specialized agents work collaboratively to process text and voice data, retrieve linguistic and emotional features, and categorize mental states from minimal to severe. A fusion model of PHQ-9 scores, classifier confidence, and speech-based emotion indicators produces a factor-calibrated depression index for precise severity differentiation. Depending on the identified level, the system can offer AI-assisted therapeutic care for minimal or moderate cases, while severe cases are referred to professional care. For voice-based emotion detection, wav2vec 2.0 was trained and reached 81% testing accuracy when classifying emotions into happy, sad, fearful, angry, and neutral categories. Among the 10 participants diagnosed with depression, the system correctly matched the actual severity level for 9 individuals, resulting in an accuracy of 90%. Among these matched cases, a comparison based only on PHQ-9 severity revealed one mismatch: PHQ-9 indicated minimal severity, while both the actual diagnosis and the system identified a moderate level. This demonstrates that the proposed system provides a more accurate severity classification than reliance on PHQ-9 scores alone. A comparison of Large Language Models showed that GPT-3.5 and Mistral produced the most fluent outputs, with BERTScores of 71% and 69.2% respectively, outperforming Gemini at 61% and Claude at 59.8%. Among them, GPT-3.5 was identified as the most suitable model to integrate into the system due to its overall performance. en_US
dc.language.iso en en_US
dc.publisher Faculty of Engineering , University of Ruhuna, Sri Lanka. en_US
dc.subject Artificial Intelligence en_US
dc.subject Depression Detection en_US
dc.subject Mental Health en_US
dc.subject Multi-Agent System en_US
dc.subject Natural Language Processing en_US
dc.title AI-Based Real-Time Multi-Agent Depression Detection and Therapy System. en_US
dc.type Article en_US


Files in this item

This item appears in the following Collection(s)

Show simple item record

Search DSpace


Browse

My Account