Just-in-Time Interventions: How AI Is Learning to Help During a Crisis
What if your phone noticed you were struggling before you even realized it yourself — and offered the right support at precisely that moment? That is the promise behind just-in-time adaptive interventions.
The Closed-Loop Concept
Traditional psychotherapy runs on a schedule: a session once a week, regardless of what happens between appointments. Adaptive interventions work differently. The system continuously monitors a person's state through smartphone data — sleep, activity, communication patterns — and steps in at the exact moment it is needed: when stress, anxiety, or a relapse is approaching.
A useful analogy from medicine: continuous glucose monitors used by people with diabetes, which automatically deliver insulin when readings go out of range. The same logic applies here, but for mental health.
How It Works Technically
The JITAI (Just-in-Time Adaptive Interventions) framework has several components: continuous collection of data about a person's state, a decision algorithm that determines when and how to intervene, a library of possible interventions — from a brief breathing exercise to a notification sent to a trusted contact — and a system for evaluating outcomes. Every decision is made based on current context, not a predetermined schedule.
What the Research Says
A meta-analysis of 23 studies involving more than 2,500 participants found a meaningful, if modest, effect from such systems. It is important to keep perspective: the field is very young. According to a 2025 systematic review, only five fully implemented JITAI systems for mental health exist worldwide. Most current apps still do not use sophisticated machine learning algorithms — they operate on simple if-then rules.
What Comes Next
The next step is systems that do not simply react to a crisis but predict it in advance, using each person's individual patterns. The early warning signs of a relapse are different for everyone: one person becomes less communicative, another starts sleeping worse, a third makes sudden changes to their daily routine. Personalized algorithms are designed to detect exactly these individual signals.
The central challenge is not technological but ethical: how to protect data privacy, how to obtain genuinely informed consent, and how to avoid situations where an algorithm intervenes at the wrong time or in the wrong way.