Inspiration

Suicide is one of the leading causes of death world-wide. Every year, there are over 800,000 deaths from suicide. That's about one death every 40 seconds. During this hackathon, there were about 5,000 deaths from suicide. Research shows that talking to someone can reduce the risk of suicide by up to 50%.

What it does

GuardianAI is a suicide prevention website that offers AI-based chat therapy, mood tracking via a journal, and a breathing pulse feature. The AI chat provides emotional support and resources, the journal helps users understand their emotional patterns, and the breathing pulse offers a simple tool for stress and anxiety management.

How we built it

We built GuardianAI using a variety of modern technologies and tools, including Next.js, tRPC, Prisma, LangChain, Mistral, HuggingFace, Supabase, Firestore, Shadcn/ui, and TailwindCSS.

Here's a run-down of the tech-stack: Front-end: Next.js, React, Shadcn/ui, TailwindCSS, Next-Themes Back-end: tRPC, Prisma, Supabase, Firebase Firestore Artificial Intelegence: Mistral-7B-Instruct-v0.2, LangChain, HuggingFace Deployment: Vercel

Challenges we ran into

One of the main challenges we ran into was making sure that our AI therapist responded kindly and compassionately when talking to users without hallucinating or making up random responses.

Accomplishments that we're proud of

We're proud of creating an AI therapist that is kind and compassionate. In a world where many people don't have the money or resources to access in-person specialists, creating a free, accessible solution is something to be proud of.

What we learned

We learned that suicide is a big problem. The amount of people struggling with their mental health has been on an upward trend.

What's next for GuardianAI

We plan to improve our AI therapists capabilities, as well as making GuardianAI more accessible to people with disabilities by following WAI-ARIA standards.

Features

  • AI-therapist with long-term chat memory.
  • Mood journal that tracks how you feel daily.
  • Pulse breathing that helps calm you down and reduce anxiety.
  • Analytics to track your usage.
  • Chat history to pick up your conversations at anytime.

Built With

  • firebase
  • huggingface
  • langchain
  • mistral
  • next-auth
  • next-themes
  • nextjs
  • prisma
  • react
  • react-query
  • shadcn/ui
  • supabase
  • tailwindcss
  • trpc
  • typescript
  • vercel
Share this project:

Updates