Skip to work
Harikishore Sஹரிகிஷோர்
  • Work
  • Consulting
  • About
  • Experience
  • Contact
  • Resume
Case 02 of 08

AI wellbeing coach for teams

Liya.ai

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.

  1. 01 ClientMobile appAndroid, iOS, manager dashboard
  2. 02 Edge Functions
    • coach-chat
    • daily-recs
    • growth-insights
    • push
    • webhooks
  3. 03 Postgres
    • profiles
    • conversations
    • messages
    • usage
    • surveys
    • insights
  4. Outside services
    • OpenAI
    • ElevenLabs
    • LiveKit
Role
Backend owner, plus voice and Flutter work
Built at
CloseFuture
Year
2025 – now
Platforms
Android, iOS, manager dashboard
Status
Live on Play Store and App Store

The problem

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.

The product

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.

Liya Coach
A chat coach that remembers the conversation, for stress, worries and how work is going.
Voice
The same coach by voice, for days when typing feels like too much.
Surveys
HR builds and sends surveys; answers arrive as a live read on mood, stress and engagement.
Summaries
Large batches of survey answers turned into a short read of trends and risk areas.
Dashboard
Filters by period and team, so HR can see where to act first.
Therapists
A route to a real person when an AI coach is not enough.

What I built

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.

Where it landed

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.

Stack

  • Flutter
  • Supabase
  • PostgreSQL
  • Edge Functions
  • TypeScript
  • OpenAI
  • ElevenLabs
  • LiveKit
  • WebRTC
  • Node.js
  • Fly.io
  • Next.js

Product case study on closefuture.io

Next caseVigo