Case study / 03 — 10

CASE_003 / Project overview

CrisisLineAI

AI and ML · Team · 2026

CrisisLineAI project preview

Project snapshot

Project type
Team build
Team size
3 members
My role
Full-stack developer
Timeline
2026

01 / Project overview

The idea behind the build

A closer look at the problem, the thinking, and the solution behind this project.

01 / Challenge

The problem

When every counselor is busy, people reaching a crisis line wait alone, on the phone or in a chat window.

02 / Approach

The solution

An AI agent answers right away by chat or voice, scores the risk level, and hands the conversation to a counselor with a summary.

02 / My role

What I owned. What I built.

A breakdown of my responsibilities, technical ownership, and contributions to the team.

Primary role

Full-stack developer

Role summary

I built the chat with its model calls, the counselor choices, the transcript view with risk badges and a summary button, and the Docker setup.

  • 01 / Ownership

    Primary ownership

    One of 3 on the team.

    Ownership scopeFull-stack developer
  • 02 / Execution

    Technical execution

    Built with Python, FastAPI, LangChain, OpenAI API.

    Key deliverableAnswer at once
  • 03 / Impact

    Teamwork & impact

    A crisis support chat and phone line where AI keeps people company until a counselor takes over.

    ResultHackathon project

03 / Workflow & architecture

How the system works

A visual breakdown of the system flow, core components, and data interactions.

System flow / high-level architecture

  1. 01 / Input

    Input

    A call or a chat comes in

  2. 02 / Process

    Process

    The AI answers and keeps listening

  3. 03 / Core logic

    Core logic

    Risk level and summary update

  4. 04 / Output

    Output

    A counselor takes over

04 / Key features

Features that make it work

Explore the core capabilities, interactions, and functionality built into the product.

  • Feature_01

    Answer at once

    Realtime chat on Firestore with streamed replies.

  • Feature_02

    Take over

    A counselor dashboard with one-click takeover.

  • Feature_03

    See the risk

    Each conversation carries a risk level and a summary.

  • Feature_04

    Talk by phone

    Twilio voice with AssemblyAI and ElevenLabs.

  • Feature_05

    Keep the record

    Full transcripts after every call.

Feature_01 / Detail view

Answer at once

Realtime chat on Firestore with streamed replies.

CrisisLineAI: Answer at once

Technical details

Platform
Web
Where the feature runs.
Framework
Python / FastAPI
Core technologies used to build the feature.
Status
Completed
Implementation and validation completed.

05 / Tech stack

The stack behind the system

A structured overview of the technologies, frameworks, infrastructure, and tools behind this project.

Stack layers / technology groups

  • 02 / Server layer

    Backend

    Server-side logic and services.

    • Python
    • FastAPI
    • LangChain
    • OpenAI API
    • Twilio
    • AssemblyAI
  • 03 / Data layer

    Data & storage

    Data storage and retrieval systems.

    • Firebase
  • 04 / Platform layer

    Infra & tools

    Deployment and development tools.

    • Docker

06 / Team & links

The people behind the build.

Meet the contributors and explore the resources behind this project.

01 / Contributors

Team directory

  • Member_01Khoi DoFull-stack developer
    ContributionAnswer at once
  • Member_02–03Teammates2 collaborators
    EventHackathon project