Researchers at UCSF mapped her brain's electrical activity for days to find a signal that tracked her depressive symptoms specifically, then implanted a device that watches for that exact signal and fires a brief pulse of stimulation the moment it appears.
The team found that a burst of gamma activity in her amygdala tracked symptom severity, and that stimulating a separate region, the ventral capsule and ventral striatum, relieved symptoms when triggered. The implanted device detected the biomarker and delivered a six-second stimulation pulse automatically, and her depression score dropped from severe to minimal within minutes of each triggered dose.
This is a single patient, so the specific biomarker and stimulation site found for her may not transfer directly to someone else's brain, and larger device trials are now testing whether a similar personalized mapping process can be done efficiently in more people. Still, it was the first closed-loop brain stimulation system built around one person's own depression signature.

Read the original study
Scangos et al., Nature Medicine, 2021 · doi.org/10.1038/s41591-021-01480-w
Her brain learned to interrupt its own depression.
Source
- Scangos, K. W., Khambhati, A. N., Daly, P. M., Makhoul, G. S., Sugrue, L. P., Zamanian, H., Liu, T. X., Rao, V. R., Sellers, K. K., Dawes, H. E., Starr, P. A., Krystal, A. D., & Chang, E. F. (2021). Closed-loop neuromodulation in an individual with treatment-resistant depression. Nature Medicine, 27(10), 1696–1700. https://doi.org/10.1038/s41591-021-01480-w