Download the open-source code, upload to GitHub, deploy to a server, and start chatting with your AI health manager on WhatsApp or Telegram.
curl -fsSL https://get.medgent.in | bash
Start here if you just want to try Medgent. No server needed β runs right on your device.
Go to python.org/downloads β click the big yellow button. Run the installer. Done.
Open Terminal (Mac/Linux) or Command Prompt (Windows) and type:
python --version # Should show: Python 3.11.x or higher
Click the big download button above, or use this command:
git clone https://github.com/medgent/medgent.git cd medgent
This installs all the helper libraries Medgent needs.
pip install -r requirements.txt # Wait ~30 seconds while packages download... # You'll see "Successfully installed..." when done β
This guided wizard asks you 8 questions and sets everything up automatically.
python setup.py
Once setup is complete, run this to start your health manager:
bash scripts/start.sh # OR for Telegram only: python channels/telegram_bot.py # OR for WhatsApp only: python channels/whatsapp_bot.py
This makes your Medgent version available to anyone in the world to download. It's like creating your own app store listing β free forever on GitHub.
Go to https://github.com/medgent/medgent β the Medgent code is already there. Click the green Code button β Download ZIP.
Go to https://github.com/medgent/medgent β the code is already there, ready to download.
The easiest way β no terminal, no coding, just click.
Faster once you know it. Replace YOUR-USERNAME with your GitHub username.
# Initialize Git in your medgent folder git init git add . git commit -m "Initial Medgent release π₯" git branch -M main git push -u origin main # β Done! Your code is now on GitHub
For proactive reminders (morning briefings, medication alerts) to work even when your phone is off, you need a server that runs all the time. Here are the free options.
| Provider | Cost | How to get it | Rating |
|---|---|---|---|
| Oracle Cloud | FREE forever | cloud.oracle.com/free β Create account | βββββ Best |
| Hetzner | β¬3.29/month | hetzner.com β Cloud β Create Server | βββββ Best paid |
| DigitalOcean | $4/month | digitalocean.com β Droplets β Create | ββββ Easy |
| Hostinger VPS | $4.99/month | hostinger.com/vps | ββββ Good support |
| Your computer | FREE | Just leave it running | ββ Not 24/7 |
Your VPS provider gives you an IP address (looks like 123.45.67.89). Use it here:
ssh root@YOUR-SERVER-IP # Example: ssh [email protected] # Enter the password your VPS provider gave you # You're now INSIDE your server! π
Paste this in your server terminal. It automatically installs everything.
# Step 1: Install Medgent (downloads everything) curl -fsSL https://get.medgent.in | bash # Step 2: Go into the medgent folder cd medgent # Step 3: Run setup wizard python3 setup.py # Step 4: Start running 24/7 bash scripts/start.sh
Here's the complete picture of how Medgent works end-to-end.
Easiest option. Free forever. Create a bot with @BotFather in 60 seconds.
Needs a free Twilio account. $15 free credit when you sign up.
No messaging app needed. Just open a URL in your browser.
python channels/web_server.pyComplete cost breakdown. Medgent itself is free. These are the only external costs.
Total time: ~15 minutes Β· Total cost: $0 Β· Works forever
pip install -r requirements.txtpython setup.py and answer 8 questionsbash scripts/start.shMedgent is live. Your AI health manager will send you daily briefings, medication reminders, meal plans, BMI updates, and weekly reports β all in WhatsApp or Telegram.
β¬οΈ Download Medgent Now β Free