DEV Community

Cover image for 🧠 MindMirror: Real-time Mental Health Analysis with RedisAI
Richie Looney
Richie Looney

Posted on

🧠 MindMirror: Real-time Mental Health Analysis with RedisAI

Redis AI Challenge: Beyond the Cache

This is a submission for the Redis AI Challenge: Beyond the Cache.

What I Built

I created MindMirror - an innovative mental health analysis platform that uses RedisAI to perform real-time psychological assessments. This application processes user input to:

Identify dominant psychological archetypes (7 distinct profiles)

Generate dynamic 3D brain visualizations

Track emotional states through multi-dimensional mood vectors

Analyze temporal patterns in mental states

The system transforms Redis from a simple cache into a powerful AI inference engine capable of processing natural language, storing psychological vectors, and generating real-time insights with sub-200ms response times.

Demo

https://youtu.be/YWSW3bBuIBU
https://github.com/LooneyRichie/Mind-Mirror

How I Used Redis 8

MindMirror uses RedisAI as its real‑time inference core, storing each user’s mood as an 8‑dimensional tensor and instantly retrieving it for analysis. Incoming text is vectorized on the fly, matched against 1 000+ archetype keyword patterns, and compared using RedisAI’s vector similarity tools. Session data streams through Redis Streams, structured insights live in RedisJSON, and RedisTimeSeries tracks emotional shifts over time — all coordinated to deliver psychological feedback in under 200 milliseconds.

Creator

Richie Looney is the developer and creator of Mind Mirror. I am open to work and/or donations.

Top comments (0)