///////////////currently under maintainence , site got a lot of errors "Care doesn't stop at the prescription."
MediPilot is an intelligent health companion designed to bridge the gap between receiving a medical report and actually following the care plan. It transforms complex, static medical documents into dynamic, actionable daily schedules.
Patients often struggle to interpret lab reports or remember complex medication schedules. Pre-adherence failure occurs when patients don't fully understand what to do or why they are doing it before they even get home.
MediPilot uses advanced Multimodal AI to "read" your medical documents and generate a personalized health dashboard.
- Upload & Decode: Simply take a photo of a prescription or upload a PDF lab report.
- Instant Care Plan: The AI extracts medications, dosages, and critical findings.
- Visual Timeline: See exactly when to take your meds in a clear, linear day-view.
- Adherence Simulation: Tracks daily progress and generates "Doctor Summaries" for your next visit.
- Powered by Mistral Pixtral 12B (Vision-Capable Model).
- Analyses handwritten prescriptions and complex tabular lab reports.
- Categorizes outputs into Medications, Red Flags, and Wellness Tips.
- Global Chat: Chat about your overall health history without needing to select a specific report.
- Trend Analysis: Automatically extracts and tracks specific health metrics (e.g., HbA1c, Weight, BP) over time to show you the big picture.
- Living Medical Profile: Auto-builds a persistent profile of your Conditions, Allergies, and Medications that the AI uses for context in every conversation.
- Seamless History: All chats, whether report-specific or global, are saved and organized for easy access.
- Consolidates scattered instructions into a unified Daily Schedule.
- Differentiates between "Before Food", "After Food", and specific times (Morning/Noon/Night).
- Red Flag Detection: Highlights critical values (e.g., "High BP") or extensive drug warnings.
- Micro-Habits: Suggests dietary changes (e.g., "Add beetroot for BP control") based on the specific diagnosis.
- Daily Adherence Log: Users check off meds they've taken.
- Auto-Summarization: Generates a clinical note summarizing adherence and symptoms for the doctor.
- Framework: Next.js (App Router)
- Styling: Tailwind CSS v4 + "Medical Emerald" Theme
- AI Model: Mistral AI (Pixtral-12b-2409)
- Authentication: Clerk (Sign Up/Log In)
- Database: Supabase (PostgreSQL) + Prisma
- Animations: Framer Motion
- PDF Processing:
pdfjs-dist
-
Clone the repository
git clone https://github.com/sankalp771/medipilot.git cd medipilot -
Install Dependencies
npm install
-
Set up Environment Create a
.env.localfile and add your Mistral API key:MISTRAL_API_KEY=your_api_key_here
-
Run the App
npm run dev
Open http://localhost:3000 to view the application.
This project is open-source.