Inspiration

Nearly 1 in 4 U.S. adults lived with a mental illness last year, yet almost half got no treatment (SAMHSA, 2024). Those who reach out hit a wall: 53% of psychologists have no openings (APA, 2024), and 137 million Americans live in provider shortage areas (HRSA, 2025). We watched people we care about give up on getting help. We wanted the first step to feel like being heard.

What it does

Layan AI turns weeks of searching into one conversation:

  • 3 quick questions: state, language, and video or in person.
  • Sakinah, a video AI intake specialist, listens and asks what a clinician would. No waitlist, no forms.
  • Smart matching across 55 providers on concerns, state licensing, language, format, and availability, and it explains why each match fits.
  • Safety first: if someone may be at risk, their care team is flagged and the patient is pointed to the 988 crisis line.
  • Booking: pick a time; the therapist gets a clinical brief and accepts in one click.

How we built it

React + Vite frontend, Express + PostgreSQL (Drizzle) backend, Clerk for sign-in, and Tavus for the live AI video interviewer. Each provider is scored for the patient's concerns:

$$\text{score} = 100\,(0.85 \cdot \text{fit} + 0.15 \cdot \text{availability})$$

Success rates are adjusted so small samples can't win by luck: \( \hat{s} = \frac{s\,n + 60 \cdot 30}{n + 30} \).

Challenges we ran into

  • Getting a reliable transcript after the video call ends.
  • Matching on real constraints: a therapist can only treat patients in states where they're licensed.
  • Handling crisis signals responsibly, without overclaiming what AI can detect.

Accomplishments that we're proud of

A complete loop from "I think I need to talk to someone" to a confirmed appointment, plus tested matching logic and a built-in safety flag.

What we learned

In mental health, trust and fit matter as much as speed, and safety has to be designed in from the start.

What's next for Layan AI

Real therapist calendars, insurance matching, multilingual Sakinah, and clinician-reviewed safety workflows.

Built With

Share this project:

Updates

Submission history