AI wellbeing coach for teams
An AI coach employees can text or talk to. I own its backend: the Postgres schemas, row-level security, triggers and RPCs behind 300+ active users, and the edge functions that run chat coaching, daily recommendations and growth insights.
Companies tend to hear about stress and burnout late. Quarterly surveys miss the day-to-day, and people don't speak up when support feels public or far away. Liya had to be something people open when they're struggling, not when HR sends a reminder.
Liya is a wellbeing platform for companies. Employees talk to an AI coach by text or voice, answer short surveys about mood and stress, and can reach a human therapist. HR sees the trends on a dashboard, with long survey results summarised for them.
I own the backend of the Flutter app. That means the PostgreSQL schemas, the row-level security policies, and the triggers and RPC functions the app calls, serving 300+ active users.
The AI runs in Supabase Edge Functions written in TypeScript: chat coaching, personalised daily recommendations, AI-generated growth insights, push notifications and webhooks. Recommendations come from embedding search (RAG) over curated wellbeing content and book summaries.
Voice was the hard part. Coaching conversations run on ElevenLabs Conversational AI over WebRTC and LiveKit, with interruption support, gapless PCM audio streaming and a Node.js voice server deployed on Fly.io.
Chat messages and voice minutes are metered server-side, so limits hold whatever the client does. Engagement lives in the database too: timezone-aware scheduled notifications, nudges for inactive users, AI follow-ups, a store-rating prompt and a force-update flow.
For managers I built Liya Intelligence, a Next.js analytics dashboard, and I run the dev-to-production database migrations.
Text and voice side by side made it easier for people to open up. Survey answers from the app flow into the dashboard, where trends are summarised automatically.