Inspiration

In today's fast-paced digital world, mental health challenges are increasingly prevalent, yet many people struggle to access timely, personalized support. Having witnessed the profound impact of mental health struggles on individuals and communities, I was inspired to create Healix - a comprehensive AI-powered platform that breaks down barriers to mental health care. This platform combines cutting-edge AI technology with evidence-based therapeutic approaches, creating a safe space where users can access immediate support, engage in interactive therapy, and build lasting wellness habits. Let's revolutionize mental health care through technology, making compassionate support accessible to everyone, everywhere.

What it does

Healix is a holistic AI-powered mental health platform that leverages advanced language models and interactive technologies to provide comprehensive mental wellness support. The platform features an intelligent AI counselor powered by Google Gemini and LLaMA Scout for real-time conversations, a revolutionary Mindful Visualizer with 3D particle systems for meditation and biofeedback, curated music therapy with voice controls, and extensive mental health resources covering 16+ conditions. Additionally, Healix includes hand tracking for interactive therapy, voice navigation for accessibility, crisis detection capabilities, and multilingual support for global accessibility. It's not just a mental health app; it's a complete ecosystem that combines technology, empathy, and evidence-based practices to empower individuals on their mental wellness journey.

How we built it

I built Healix using a modern, scalable tech stack designed for performance and user experience. Frontend: Next.js 14 with TypeScript, Tailwind CSS, and Shadcn/ui for a responsive, accessible interface. Backend: Python FastAPI with dual AI integration - Google Gemini 2.0 Flash as primary AI (2-3 second responses) and LLaMA Scout as intelligent fallback. Interactive Features: MediaPipe for hand tracking, Web Speech API for voice controls, Three.js for 3D visualizations, and Rive animations for engaging user feedback. Database & Auth: Supabase for secure user management and data storage. AI Integration: Google Gemini for conversational AI, Whisper for speech-to-text, custom TTS for voice responses. Deployment: Vercel for frontend, Railway/Render for backend with Docker containerization. Special Features: Real-time particle systems for meditation, curated music therapy playlists, crisis detection algorithms, and support for 10+ languages including Hindi, Telugu, Tamil, and more.

Challenges we ran into

The primary challenge was achieving consistently fast AI response times while maintaining empathetic, contextually appropriate responses. Initially, our AI responses took 8-12 seconds, creating an awkward user experience. We solved this by implementing a dual-AI system with Google Gemini as primary (2-3 seconds) and LLaMA Scout as fallback, plus intelligent caching and response streaming. Another significant challenge was developing accurate hand tracking for the Mindful Visualizer - calibrating MediaPipe to detect subtle hand movements and gestures required extensive testing and fine-tuning. We also faced complexity in creating the 3D particle systems that respond smoothly to biofeedback inputs while maintaining 60fps performance. Additionally, implementing crisis detection that's sensitive enough to identify concerning language without false positives required careful prompt engineering and testing with mental health professionals.

Accomplishments that we're proud of

  1. Dual-AI Counseling System 🤖💬 Revolutionary AI counseling with Google Gemini delivering empathetic responses in 2-3 seconds, backed by LLaMA Scout for reliability. Features crisis detection, multilingual support, and context-aware conversations that adapt to user emotional states.

  2. Mindful Visualizer Innovation 🌌🧘 Breakthrough 3D meditation experience with hand tracking, breath detection, and biofeedback visualization. Eight unique particle shapes (sphere, heart, flower, DNA, spiral, Saturn, Buddha, fireworks) respond to user tension levels in real-time.

  3. Interactive Music Therapy 🎵🎯 Curated therapeutic music library with voice-controlled playback, categorized by mood and therapeutic benefits. Seamlessly integrated with AI counselor for personalized music recommendations during sessions.

  4. Advanced Hand Tracking Therapy 👋✨ AI-powered hand gesture recognition using MediaPipe for interactive therapy exercises. Open hands expand particles (relaxation), closed fists contract (tension), with clap gestures triggering celebration effects.

  5. Comprehensive Mental Health Hub 📚🧠 Evidence-based resources covering 16+ mental health conditions including anxiety, depression, PTSD, and stress management, with self-assessment tools and coping strategies.

  6. Voice-First Accessibility 🗣️♿ Complete hands-free navigation with voice commands, speech-to-text input, and text-to-speech responses, making mental health support accessible to users with disabilities.

  7. Crisis Intervention System 🚨💙 Intelligent crisis detection algorithms that identify concerning language patterns and immediately provide emergency resources, suicide prevention hotlines, and professional support contacts.

  8. Multilingual Global Support 🌍🗣️ Native support for 10+ languages including English, Hindi, Telugu, Tamil, Kannada, and more, breaking language barriers in mental health care.

  9. Real-time Biofeedback Integration 📊💓 Advanced camera-based breath tracking and shoulder movement detection for guided breathing exercises, with visual feedback through particle systems.

  10. Secure Session Management 🔒📱 Privacy-first architecture with Supabase authentication, encrypted chat storage, and HIPAA-compliant data handling for user confidentiality.

  11. Responsive Cross-Platform Design 📱💻 Fully responsive interface optimized for mobile, tablet, and desktop with progressive web app capabilities and offline functionality.

  12. Intelligent Conversation Context 🧠💭 Advanced conversation memory that maintains context across sessions, remembers user preferences, and provides personalized recommendations based on interaction history.

  13. Therapeutic Audio Engine 🎧🔊 Dynamic audio feedback system that adjusts ambient sounds based on user tension levels, creating immersive therapeutic soundscapes.

  14. Performance-Optimized Architecture ⚡🚀 Sub-3-second AI responses, 60fps 3D visualizations, and optimized loading with intelligent caching for seamless user experience.

What we learned

I gained invaluable insights into the intersection of AI technology and mental health care, learning how to design empathetic AI systems that provide genuine therapeutic value. My understanding of real-time biofeedback systems deepened significantly, particularly in implementing hand tracking and breath detection for therapeutic applications. I mastered advanced prompt engineering techniques to ensure AI responses are both clinically appropriate and emotionally supportive. The project taught me the critical importance of performance optimization in mental health applications - users in distress need immediate responses, not loading screens. I also learned about accessibility in mental health technology, implementing voice controls and multilingual support to serve diverse user needs. Additionally, I gained expertise in crisis intervention protocols and how to implement automated safety nets in AI systems. The experience highlighted the delicate balance between technological innovation and human-centered design in healthcare applications.

What's next for Healix

I am committed to expanding Healix's therapeutic capabilities and global reach. The immediate roadmap includes integrating wearable device support for continuous biometric monitoring, implementing group therapy sessions with real-time collaboration features, and developing personalized AI therapy programs based on cognitive behavioral therapy (CBT) and dialectical behavior therapy (DBT) frameworks. I plan to collaborate with licensed mental health professionals to validate and enhance our AI counseling protocols, ensuring clinical accuracy and effectiveness. Future features include mood tracking with predictive analytics, integration with healthcare providers for seamless care coordination, and expansion to support 25+ languages for global accessibility. I'm also exploring partnerships with mental health organizations and research institutions to contribute to the broader understanding of AI-assisted therapy. The ultimate goal is to make Healix a comprehensive mental health ecosystem that bridges the gap between technology and human care, providing evidence-based support that complements traditional therapy while being accessible to anyone, anywhere, at any time.

Built With

Share this project:

Updates