Noah: AI Therapist
Real-time AI mental-wellness companion, 50K+ installs
Noah is a shipped AI mental-health companion where users text-chat and hold real-time voice conversations with an AI therapist. I worked across the Flutter app, the Node.js/TypeScript backend and the Python AI pipelines during a period in which the app reached 50K+ Play Store installs and launched on the App Store.
The Problem
Mental-health support needs to feel immediate and human. Text chat alone isn't enough: real-time voice with low latency, interruption handling and clinical-grade onboarding were required, monetized sustainably across two app stores.
The Solution
A Flutter app with LiveKit-powered voice sessions (noise filtering, a native Kotlin foreground service for call persistence, a Swift AirPlay output picker), PHQ-questionnaire clinical onboarding, and a Remote-Config-driven paywall stack spanning RevenueCat subscriptions and Stripe offers. Behind it, a Firebase Functions backend routes requests across multiple LLM providers with fallback, six STT vendors, and a memory system combining static long-term memory with sliding-window context.
Architecture
- Flutter + GetX app with typed Firestore collection/document observers as the data layer
- LiveKit voice: token minting, session metrics, call summaries; Kotlin foreground service on Android, native AirPlay platform view on iOS
- Multi-provider LLM router: OpenAI, Claude, Gemini, Azure, Bedrock and more behind one adapter interface with fallback chains
- STT abstraction across AssemblyAI, Deepgram, ElevenLabs, Groq, Mistral and OpenAI
- Monetization: RevenueCat + Stripe webhooks; growth: Amplitude, Branch, Facebook CAPI; prompt A/B testing framework
- Python LiveKit agent workers deployed on AWS ECS via CloudFormation
Challenges & How I Solved Them
Voice latency users can feel
Every hop (STT, LLM, TTS, end-of-utterance detection) was measured per stage so provider swaps were data-driven; providers are runtime-swappable per user via remote config.
Calls that survive the OS
Android kills backgrounded audio apps; a native foreground service with proper notification channels keeps therapy sessions alive through screen-off and app-switching.
Shipping in 8 languages
Full i18n across onboarding, paywalls and clinical flows without forking the codebase.
My Contributions
- Built the cross-platform Flutter app with the real-time conversational UI
- Developed Node.js/TypeScript backend services for REST APIs, sessions and auth
- Designed AI pipelines integrating LLMs and speech-to-text in Python
- Containerized services with Docker and deployed to AWS
Impact
- 50K+ Play Store installs and live on the App Store
- Users across 50+ countries in 8 languages
- Real-time voice therapy sessions in production
Lessons Learned
Production voice AI is a systems problem, not a model problem, and the wins came from provider abstraction, per-stage latency metrics, and native platform work that most cross-platform teams avoid.