MediVoice AI is a cutting-edge AI Medical Voice Agent built with Next.js that revolutionizes healthcare consultations. Users can describe their symptoms, get matched with specialized AI doctors, and conduct voice conversations for medical advice. After each consultation, users receive comprehensive medical reports in structured PDF format.
- π€ AI-Powered Symptom Analysis
- ποΈ Voice Conversation Support
- π Detailed Medical Reports
- π₯ Multiple AI Medical Specialists
- π³ Flexible Pricing Plans
- π Secure Authentication
- π± Responsive Design
- 1 AI Medical Doctor Agent
- 10 Consultation Credits
- Basic medical consultations
- Standard report generation
- 10 Different AI Medical Doctor Agents including:
- General Physician AI
- Cardiologist AI
- Neurologist AI
- Pediatrician AI
- Dermatologist AI
- Orthopedic AI
- Psychiatrist AI
- Gynecologist AI
- ENT Specialist AI
- Gastroenterologist AI
- Unlimited Consultations
- Priority Support
- Advanced Report Features
- Voice Conversation History
Upgrade to Pro for unlimited access to specialized medical AI assistants!
Each consultation generates a comprehensive medical report in JSON format:
{
"sessionId": "unique_session_identifier",
"agent": "Medical_Specialist_AI",
"user": "Patient_Name_or_Anonymous",
"timestamp": "2024-03-19T10:42:00.000Z",
"chiefComplaint": "Brief summary of main health concern",
"summary": "2-3 sentence summary of consultation",
"symptoms": ["symptom1", "symptom2", "symptom3"],
"duration": "Duration of symptoms",
"severity": "mild|moderate|severe",
"medicationsMentioned": ["medication1", "medication2"],
"recommendations": ["recommendation1", "recommendation2"]
}| Field | Description | Type |
|---|---|---|
sessionId |
Unique consultation identifier | string |
agent |
AI medical specialist name | string |
user |
Patient name or "Anonymous" | string |
timestamp |
Consultation date/time (ISO) | string |
chiefComplaint |
Main health concern summary | string |
summary |
Consultation overview | string |
symptoms |
List of reported symptoms | array |
duration |
How long symptoms persisted | string |
severity |
Symptom severity level | string |
medicationsMentioned |
Current medications | array |
recommendations |
AI-generated advice | array |
- Node.js 18+
- npm or yarn package manager
- PostgreSQL database (NeonDB recommended)
# Clone the repository
git clone https://github.com/NaingMinThant77/Next-AI-Medical-Agent.git
cd Next-AI-Medical-Agent
# Install dependencies
npm install
# Copy environment variables
cp .env.example .env.local
# Run the development server
npm run devConfigure your .env.local file with the following variables:
# Database
DATABASE_URL=your_postgresql_database_url
# Clerk Authentication
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
CLERK_SECRET_KEY=your_clerk_secret_key
# OpenRouter API
OPEN_ROUTER_API_KEY=your_openrouter_api_key
# Vapi Voice Assistant
NEXT_PUBLIC_VAPI_VOICE_ASSISTANT_ID=your_vapi_assistant_id
NEXT_PUBLIC_VAPI_PUBLIC_KEY=your_vapi_public_keyπ Open http://localhost:3000 to view the application
| Category | Technologies |
|---|---|
| Framework | Next.js 14+ |
| Language | TypeScript |
| Styling | Tailwind CSS + Shadcn UI |
| Database | Drizzle ORM + NeonDB |
| Authentication | Clerk |
| AI/ML | OpenRouter (GPT-3.5-turbo) |
| Voice | Vapi + AssemblyAI |
| State Management | React Context API |
| HTTP Client | Axios |
| Date/Time | Moment.js |
| Animations | Framer Motion |
Register & Login System
π Login Page (OAuth Google & Email support)

Experience AI Medical Consultations with Basic Features
π³ Profile Model Tag
π³ Update Profile & Add New Email
π³ Update Password
π©Ί Selected Doctor
π©Ί Direct Consultation With Conduct Button in Doctor Lists
π¬ AI Conversation Interface

π¬ Talk With AI Medical Doctor Agent
π History Page With Data
π History Page with No Data Yet
π Pricing Page
Unlock Unlimited Access to Specialized Medical AI
π Buying Pro Version
π Pricing Page with Pro Active
π Billing Pro Version & Renew Date
π Billing Transaction
π Dashboard Home Page - Pro Version













