Skip to contenthrsha
Alisu, photographed as a turquoise world of shallow seas and sandy island chains.
HR 003f/2.8  1/125  ISO 400

HR 003   Mar 2026

Alisu

Citizens call, speak in their own language, and get a filed complaint, the department that will follow up, and a reference number. Alisu asks only for what is missing and restates what it heard before filing.

Status
Finished
Stack
TypeScript, Fastify, React, Vite, WebSockets, Twilio
Themes
real-time, voice, full-stack
World
Archipelago worldIslands joined by one sea, like the districts one helpline serves.

The same work, photographed in other universes

Turn the lens dial on the home page to visit them.

  • Alisu in universe H-0, This universe

    H-0   This universe

  • Alisu in universe H-1, Blueprint

    H-1   Blueprint

  • Alisu in universe H-2, Long exposure

    H-2   Long exposure

  • Alisu in universe H-3, 1/8000s

    H-3   1/8000s

Abstract

Alisu is a voice agent for the Karnataka 1092 helpline. A caller speaks Kannada, Hindi or English. The agent works out the issue, asks only for what is missing, confirms what it heard, files a complaint with a unique ID and says which department will follow up. Every call is transcribed, translated and stored for a human agent to review.

What I built

  • A Fastify and TypeScript server that streams PCM16 audio over WebSockets.
  • Audio handling for two sources: a browser test client at 48 kHz, downsampled to 16 kHz, and telephony audio at 8 kHz mu-law, decoded and upsampled to the same format.
  • A five-step conversation state machine, so the agent cannot skip confirmation.
  • A React and Vite dashboard with live transcripts and complaint cards.

Where it stands

It was my entry for the Government of Karnataka hackathon on HackerEarth and reached round two of three. Connecting a real telephony provider is one environment variable. It is a hackathon build with about ten commits, and I would not call it production.

Next exposureBathala Enterprises