AI Mental Wellness App
- #Healthcare & Wellness
An AI-powered emotional support app for a US digital health startup: a React Native app that reads how a person feels and replies in either of two languages, a Next.js admin console for clinicians, and a self-hosted model that keeps every conversation inside a private AWS account.
- Admin
- Mobile
You can learn more about the project at this link
Impact
The client planned to sell to clinics, so the product had to pass their security review before it reached a single patient. Its first proof of concept ran on a hosted model, answered every message in the same tone and stored logs on a vendor's servers. We rebuilt it around one rule: no user text leaves the client's AWS account. MVP took about five months.
The beta reached 93% emotion-detection accuracy, a mood-aware reply in about 1.8 seconds and roughly 4 sessions per active user per week. Two clinic groups asked for a pilot within a month of the beta closing, and at projected volume the self-hosted model costs roughly 35% less per conversation than the hosted API quote.
Services we provided
– AI Development
– Mobile App Development
– Cloud Infrastructure
– QA
Tech Stack
React Native
React.js
Python
Redis
Challenges and Solutions
🧐 Challenges
A chat about panic attacks becomes patient data the moment a covered provider is involved. Three requirements shaped the work:
- Privacy by design: user data isolated in a private environment in line with HIPAA, which ruled out hosted LLM APIs and any analytics script that could read message text.
- Emotional awareness: a sleepless week and good news should not get the same tone, length or suggestion.
- Bilingual conversations, including users who switch languages mid-sentence, without stiff after-the-fact translation.
💡 Solutions
Qwen 2.5 32B self-hosted on GPU instances in a private VPC, with emotion detection running as its own classifier next to the model:
- On-premise emotion detection: one of 7 emotional states plus an intensity score in about 120 ms.
- Bilingual conversational engine with tone rules and safety phrases written natively for both languages.
- HIPAA-aligned data isolation: encryption, least-privilege access, MFA for admins and an exportable audit log.
- Mood tracking: a 10-second daily check-in and weekly charts users can share with their therapist.
- Crisis escalation: a separate risk model shows crisis resources and alerts an on-call clinician.
- Next.js admin console with cohort mood trends, flagged conversations and model health on one page.
7
people worked
~5
months to MVP
93%
emotion-detection accuracy