๐Ÿฉบ Doctor Ruby AI โ€” Real-Time Medical Conversation Assistant

Doctor Ruby AI is a real-time, AI-powered voice assistant designed to enhance telemedicine and healthcare support. Whether assisting doctors during consultations or offering conversational medical guidance, Doctor Ruby leverages advanced speech and AI technologies to make healthcare more accessible, accurate, and intelligent.

Built for modern clinical workflows. Designed with precision. Powered by trusted tools like Retell AI, Supabase, and Cal.com.


โš™๏ธ Features

  • ๐Ÿ—ฃ๏ธ Live medical transcription of patient-doctor conversations
  • ๐Ÿค– AI-powered analysis for symptom detection and clinical insights
  • ๐Ÿ“Š Interactive dashboards for health metrics and summaries
  • ๐Ÿ” Smart search and filtering of previous consultations
  • ๐Ÿ“… Scheduling and appointment coordination via Cal.com

๐Ÿงฐ Technology Stack

Layer Technologies Used
Frontend Next.js 13, React, TypeScript
UI Components Tailwind CSS, Shadcn UI
Data Visualization Tremor
Database Supabase (โœ…Included โŒnot used)
Voice Intelligence Retell AI
Scheduling Cal.com (โœ…Included โŒnot used)
Real-Time Layer WebSocket
Authentication NextAuth.js (โœ…Included โŒnot used)

๐Ÿš€ Getting Started

โœ… Prerequisites

  • Node.js v18 or higher
  • npm or pnpm
  • API keys for:

    • Retell AI
    • Cal.com
    • Supabase

๐Ÿ›  Installation

  1. Clone the repository:
git clone https://github.com/punisher-303/DoctorRubyAi.git
cd Doctor Ruby Ai
  1. Install dependencies:
npm install
  1. Configure environment variables:

Create a .env example.env file in the root directory with the following content:

# Supabase
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_service_role_key

# URLs
NEXT_PUBLIC_SITE_URL=your_site_url
NEXT_PUBLIC_APP_URL=your_app_url

# Retell AI
RETELL_WEBHOOK_URL=your_webhook_url
NEXT_PUBLIC_WEBSOCKET_URL=wss://api.retellai.com/retell-llm/llm-websocket
NEXT_PUBLIC_RETELL_AGENT_ID=your_agent_id
RETELL_API_KEY=your_retell_api_key
NEXT_PUBLIC_RETELL_API_KEY=your_retell_api_key
RETELL_AGENT_ID=your_agent_id

# WebSocket
NEXT_PUBLIC_WEBSOCKET_PORT=3001
WEBSOCKET_PORT=3001

# Cal.com
CAL_API_KEY=your_cal_api_key
CAL_EVENT_TYPE_ID=your_event_type_id
  1. Start the local development server:
npm run dev

๐Ÿ’ก Recommended deployment: Vercel with environment variables configured.


๐Ÿฉป Application Highlights

  • ๐Ÿ“ Consultation Transcripts โ€” Automatically generated and editable
  • ๐Ÿงพ Case History Search โ€” Retrieve old visits and records
  • ๐Ÿ“† Patient Scheduling โ€” Through integrated Cal.com workflows
  • โš™๏ธ AI Parameters โ€” Customize model behavior for specialty focus (e.g., pediatrics, neurology)

๐Ÿ‘ฅ Who Is This For?

  • Doctors and clinicians needing real-time transcription
  • Health tech startups building conversational care platforms
  • Researchers analyzing patient interactions
  • Developers building HIPAA-compliant AI interfaces

๐Ÿ“„ License

MIT ยฉ Anand (punisher-303)


๐Ÿค Contribute

We welcome medical innovators, AI engineers, and open-source contributors to collaborate and elevate Doctor Ruby AI.

Open a PR or issue to get involved.


๐Ÿ“š Resources

Built With

Share this project:

Updates

posted an update

You must enter your retell ai api key and agent id you will only get free trail account in retell ai otherwise you need purchase there membership i included free trail api key so website working based on limited time

Retell AI

RETELL_WEBHOOK_URL=your_webhook_url NEXT_PUBLIC_WEBSOCKET_URL=wss://api.retellai.com/retell-llm/llm-websocket NEXT_PUBLIC_RETELL_AGENT_ID=your_agent_id RETELL_API_KEY=your_retell_api_key NEXT_PUBLIC_RETELL_API_KEY=your_retell_api_key RETELL_AGENT_ID=your_agent_id

Log in or sign up for Devpost to join the conversation.