Skip to content

danielmerja/nura

Repository files navigation

Nura

Voice-first health triage agent

Speak your symptoms. Know where to go for care.

Nura is a real-time voice AI that listens to your symptoms, asks focused follow-up questions, and tells you what level of care you need — rest at home, see a doctor, go to urgent care, or call 911. It is a triage and routing tool, not a diagnostic tool. Nura helps you make a faster, more confident decision about where to seek care, so you're never left guessing.

Built for the Zero to Agent Hackathon — Vercel x Google DeepMind, NYC, March 21 2026.


Tech Stack

Layer Technology
Framework Next.js (App Router)
Language TypeScript (strict)
Voice AI Gemini Native Audio Live API (gemini-2.5-flash-native-audio-preview-12-2025)
Text AI Vercel AI SDK
Voice output Gemini native audio (built-in)
WebSocket server Supabase Edge Functions (Deno) — Vercel serverless does not support persistent WebSockets
Medical codes NIH Clinical Tables API — real-time ICD-10 code lookup (clinicaltables.nlm.nih.gov)
Auth Clerk
Database Supabase Postgres
UI components shadcn/ui
Styling Tailwind CSS v4
Validation Zod v4
State Zustand v5

How It Works

  1. Speak — tap the orb and describe your symptoms in your own words
  2. Listen — Nura asks targeted follow-up questions and detects urgency in your voice
  3. Analyze — Gemini evaluates symptom severity, assigns a triage level (0–3), and enriches conditions with real ICD-10 codes from the NIH Clinical Tables API
  4. Route — Nura tells you exactly where to go: rest at home, see a doctor, urgent care, or the ER
  5. Save — your session transcript and triage result are saved to your account for future reference

Getting Started

Prerequisites

  • Chrome or Edge (Web Audio API required)
  • Gemini API key with Live API access (paid tier)
  • Accounts on: Clerk, Supabase

Environment Variables

Create a .env.local file at the project root:

GEMINI_API_KEY=                        # aistudio.google.com — paid tier required for Live API
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=     # clerk.com dashboard
CLERK_SECRET_KEY=                      # clerk.com dashboard
NEXT_PUBLIC_SUPABASE_URL=              # supabase.com project settings
SUPABASE_SERVICE_ROLE_KEY=             # supabase.com project settings (server-only)
NEXT_PUBLIC_WS_URL=                    # wss://<project-ref>.supabase.co/functions/v1/ws-session
                                       # leave unset for local dev (falls back to /api/ws)

Install and Run

bun install
bun dev

Open http://localhost:3000.


Triage Levels

Level Routing Color
0 Monitor at home Green
1 See a doctor soon Yellow
2 Urgent care today Orange
3 Emergency — call 911 Red

Disclaimer

Nura is not a medical device and does not provide medical diagnoses or advice. Triage recommendations are for informational purposes only and are not a substitute for professional medical evaluation. Always consult a qualified healthcare professional for any health concerns.


Built at the Zero to Agent Hackathon — Vercel x Google DeepMind, NYC, March 21 2026.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors