⚕️ Medical Disclaimer — Please Read : Medgent is a wellness assistant only. It is NOT a substitute for professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider before making changes to medications, diet, or exercise routines. Medgent never diagnoses conditions. All responses include a reminder to consult your doctor for medical decisions. In emergencies call 112 / 911 or your country's emergency number.
By using Medgent, you acknowledge it is a personal wellness tool for informational purposes only.
Medgent is a free, open-source personal AI health agent that manages your health 24/7 via WhatsApp or Telegram. Set it up once in 5 minutes — then just message it naturally.
You: "What should I eat today?"
Medgent: 🥗 Here's your personalised meal plan for Type 2 Diabetes...
You: "I weighed 82kg this morning"
Medgent: ⚖️ BMI: 26.8 · Down 0.4kg · Goal: 30% reached 🎯
Medgent: 💊 [8:00 AM] Time for Metformin 500mg — take with breakfast
You: ✓ taken
Medgent: ✅ Logged! Adherence: 1/2 today · Next: 8:00 PM
Unzip it → open Terminal in that folder → go to Step 2 below.
curl -fsSL https://get.medgent.in | bashAutomatically installs Python, downloads Medgent, opens the setup wizard.
git clone https://github.com/medgent/medgent.git && cd medgentDownload from python.org/downloads and install it.
Windows users: Tick "Add Python to PATH" during install — important!
python --version # Should show: Python 3.11.x or higherpip install -r requirements.txtWait ~30 seconds. Done when you see "Successfully installed..." ✅
| AI Model | Get key (free) | Cost |
|---|---|---|
| 🧠 Claude — best for health | console.anthropic.com → API Keys | $5 free credit |
| 🤖 ChatGPT | platform.openai.com → API Keys | Free trial |
| 💎 Gemini | aistudio.google.com → Get API Key | Free tier |
| 🦙 Llama — fully offline | ollama.ai → ollama pull llama3 |
100% FREE |
python setup.pyAnswers 8 simple questions: name, condition, height/weight, medications, diet, goal. ~3 mins.
Telegram (easiest — recommended):
- Open Telegram → search @BotFather
- Send
/newbot - Name:
My Medgent Health Coach - Username: anything ending in
bot(e.g.MyMedgentBot) - Copy the token BotFather gives → paste into setup wizard
- Find your bot on Telegram → send
/start→ live! ✅
WhatsApp:
- Free account at twilio.com/try-twilio
- Dashboard → Messaging → Senders → WhatsApp Senders
- Follow steps to connect your number
- Copy Account SID + Auth Token → paste into setup wizard ✅
bash scripts/start.sh| Feature | Trigger |
|---|---|
| 🌅 Morning health briefing | Automatic daily at 7:30 AM |
| 💊 Medication reminders | Automatic on your schedule |
| 🥗 Personalised meal plans | "What should I eat today?" |
| ⚖️ BMI & weight tracker | "I weighed 80kg today" |
| 🏋️ Condition-safe workouts | "Give me a workout" |
| 📅 Health calendar | "Book doctor Friday 3pm" |
| 📋 Weekly health report | Automatic every Sunday |
| 💧 Hydration tracker | "Drank water" |
| 🧠 Symptom journal | "Log symptom: headache" |
| 🤖 Custom health agents | Build your own in setup wizard |
| Provider | Cost | Link |
|---|---|---|
| Oracle Cloud | FREE forever | cloud.oracle.com/free |
| Hetzner | €3.29/mo | hetzner.com |
| DigitalOcean | $4/mo | digitalocean.com |
| Hostinger VPS | $4.99/mo | hostinger.com/vps |
Completely free forever:
Oracle Cloud (FREE) + Telegram (FREE) + Gemini AI (FREE) = $0/month, 24/7
# On your server after SSH:
curl -fsSL https://get.medgent.in | bash
cd medgent && python3 setup.py && bash scripts/start.sh| Item | Cost |
|---|---|
| Medgent software | $0 forever |
| GitHub download | $0 forever |
| Oracle Cloud server | $0 forever |
| Telegram Bot API | $0 forever |
| Gemini AI (free tier) | $0 forever |
| Claude API (optional) | ~$0.05–0.20/day |
| Your minimum cost | $0/month |
- ✅ Health data stays on your device only — zero external servers
- ✅ API key stored locally only — never sent anywhere by Medgent
- ✅ No tracking, no ads, no analytics — ever
- ✅ Open source — read every line of code
medgent-v2.0.zip/
├── setup.py ← Run this first!
├── requirements.txt ← Python dependencies
├── core/medgent.py ← AI agent engine
├── channels/telegram_bot.py ← Telegram
├── channels/whatsapp_bot.py ← WhatsApp (Twilio)
├── scripts/install.sh ← Auto-installer
└── scripts/start.sh ← Start 24/7
Medgent v2.0 ZIP includes a bot file for every platform. Start with Telegram (easiest).
##⚠️
Important: The bots (Python scripts) need a separate VPS to run 24/7 . Use Oracle Cloud Free (free forever) or any VPS for the Python bots.
**
- Open Telegram → search @BotFather → tap it
- Send /newbot → choose a name → choose a username ending in "bot"
- BotFather sends a token → copy it
- In config/settings.json: set "telegram_token": "YOUR_TOKEN"
- On your VPS: python channels/telegram_bot.py → send /start to your bot ✅
Medgent is a wellness assistant only — NOT a medical device, NOT medical advice, CANNOT diagnose or treat. Always consult your doctor before changing medications, diet, or exercise.
Disclaimer appears automatically at every chat session start and whenever health advice is given.
Emergencies: 112 / 911 or find your country's number.
Made with 💚 · www.medgent.in