Explainable AI in individual therapeutic plans at Brazil’s CAPS

Explainable AI (XAI), green UX and the Individual Therapeutic Plan (PTS) in mental health in Brazil’s SUS: less paperwork, more time to listen.

A person at the centre of a four-step care cycle

Introduction

Brazil’s psychiatric reform and the consolidation of the Psychosocial Care Network (RAPS) are among the most advanced civilisational achievements of the Unified Health System (SUS). Replacing the asylum model with territorial, community-based and humane care in the Psychosocial Care Centres (CAPS) — in their different forms (CAPS I, II, III, children and young people’s CAPS and CAPS AD for alcohol and drugs) — put the singularity of each person at the centre of the therapeutic process.

Yet the daily work of multi-professional mental health teams (psychologists, psychiatrists, occupational therapists, social workers and nurses) is marked by growing operational challenges:

  • Cognitive overload and bureaucratic friction: hours of clinical work are absorbed by filling in multiple administrative records, fragmented progress notes and reports demanded by oversight bodies, draining the time available for skilled listening.

  • Difficulty keeping the Individual Therapeutic Plan (PTS) alive over time: the PTS is the main tool for co-producing care, but it often becomes static in paper records or rigid digital systems, making it hard to follow dynamically and review regularly.

  • Late detection of disengagement and drop-out: subtle signs of therapeutic disengagement, impending crises or relapse into substance use get lost in the volume of daily appointments, leading to avoidable psychiatric readmissions and pressure on 24-hour urgent-care units (UPA 24h).

  • Bottlenecks in shared care between primary care and CAPS: communication between family health teams (eSF), multi-professional primary care teams (eMulti) and the CAPS tends to be asynchronous, bureaucratic and noisy, delaying shared interventions in the territory.

In 2026, applying explainable AI (XAI) together with green UX (sustainable, low-cognitive-load design) sets a new paradigm for public mental health: the technology does not try to standardise or mechanise human suffering, but works as invisible support for organising, summarising and backing the teams’ humane decisions.

1. Operational framework: explainable AI in the cycle of the Individual Therapeutic Plan

Service design redraws the four structural stages of the PTS (situational assessment, goal setting, sharing of responsibilities and review), bringing in compact language models (SLMs) and algorithmic explainability:

  1. Initial reception and psychosocial timeline: during reception and listening conversations, the AI helps with consented transcription and with summarising the person’s life story, automatically mapping social determinants (housing, income, family ties, history of loss and episodes of violence). Instead of rigid bureaucratic forms, the professional keeps eye contact and genuine therapeutic presence while the system builds a visual, holistic timeline.

  2. Co-producing goals and territorial strengths: the platform picks up spontaneous mentions of artistic, sporting, work or community interests and crosses these preferences with the catalogue of local assets (the municipality’s cultural workshops, community gardens at primary care units, solidarity-economy programmes and peer groups). The system suggests personalised cross-sector connections for the PTS, respecting the person’s autonomy.

  3. Ethical prevention of drop-out through XAI: auditable predictive algorithms analyse subtle patterns such as missed workshops, delays in renewing prescriptions or changes in how the person contacts the service. When the risk of disengagement is high, the system sends a non-stigmatising alert to the reference team, with a clear written reason (for example: “Disengagement alert: the person missed the last two music workshops and has not collected their regular medication; history of previous isolation during rainy periods”). This triggers a caring outreach visit before the crisis worsens.

  4. Agile shared care and RAPS–primary care interoperability: the tool summarises the critical points of the PTS in clear, brief referral notes, making it easier to discuss cases between the CAPS and the community health worker (ACS) or family doctor, and establishing a single contingency plan in the territory.

2. Green UX and cognitive sustainability: design principles for mental health

Mental health interfaces demand strict ethical and environmental care:

  • Low sensory stimulation (calm design): no intrusive notifications, flashing pop-ups or stressful sound alerts. Soft palettes (#00A86B, earthy tones and calm blue), legible typography and white space that promote well-being both for professionals under work stress and for neurodivergent users.

  • Computational eco-efficiency (edge AI and local SLMs): data processed on municipal servers or light on-premise infrastructure, potentially using less energy than continuous calls to large models in a corporate cloud, and removing any risk of sensitive data leaving the sovereignty of the SUS.

  • Transparency for citizens in the Meu SUS Digital app: people can see their own care plan in plain, warm language free of opaque clinical terms, and can confirm or suggest changes to their life goals.

3. Practical impact on management, the CAPS and the psychosocial care network

Area of change Expected result (hypothesis to validate in a pilot)
Time spent listening Less time on bureaucratic tasks and typing reports, more time for the therapeutic relationship.
Retention and continuity of care Less disengagement and drop-out from outpatient treatment in the first months of follow-up.
Urgent and emergency outcomes Fewer urgent referrals and admissions to psychiatric beds in urgent-care units for crises not managed early.
Effectiveness of shared care Greater shared adherence to therapeutic plans between eMulti/primary care teams and the CAPS.

4. Non-negotiable ethical guidelines for AI in mental health

  1. Autonomy and human agency: the AI never decides on admissions, definitive diagnoses or ending care. It acts strictly as support for the team’s working memory.

  2. No pathologising of diversity: algorithms must be audited continuously for discriminatory bias related to gender, race, sexuality or socioeconomic vulnerability.

  3. Absolute privacy and confidentiality: full compliance with Brazil’s data protection law (LGPD) and National Health Council Resolution 510/2016, with end-to-end encryption and anonymisation of territorial data.

References

  1. ResearchGate (2026) — Humanising mental health care: practices in CAPS AD and contemporary challenges (in Portuguese)

  2. SciELO Saúde e Sociedade — The meanings of mental health care from encounters and reception practices in the CAPS (in Portuguese)

  3. Brazilian Ministry of Health — Ordinance 3,088/2011, establishing the Psychosocial Care Network (RAPS) for people with mental suffering or disorders (in Portuguese)

  4. SciELO — Challenges of psychosocial care and the Individual Therapeutic Plan in the Unified Health System (in Portuguese)

Data checked on . Context figures carry their source in the text; the expected effects of the proposals are hypotheses to be validated in a pilot.

#MentalHealth#SUS#GreenUX#ArtificialIntelligence#ServiceDesign

Written by Everton Oliveira

Designer

Want to bring this to your service?

Tell me how this care pathway works today and we will see together what fits where you are. If you would rather start on your own, the radar shows in three minutes where your service stands.

Comments

Do not include patient data.