Developed as part of IBM SkillsBuild Summer Internship
Final Submission Deadline: August 7, 2025
Team Size: 6 Members
SDG Focus: Goal 3 – Good Health & Well-being
SmartOPDAgent is an intelligent multi-agent AI chatbot system designed to streamline hospital OPD (Outpatient Department) visits. The system uses two specialized AI agents, coordinated by a central agent, to:
- Book doctor-specific appointments
- Recommend the most suitable doctors based on symptoms
- Guide patients in real-time (traffic updates, crowd data, reminders)
This project addresses the core challenges in outpatient services, such as long wait times, patient confusion, and lack of personalized care — especially in public healthcare systems.
+----------------+
| Main Agent |
+----------------+
|
+---------------+---------------+
| |
+------------+ +-------------------+
| Agent 1 | | Agent 2 |
| (Booking & | | (Recommender + |
| Tracking) | | Feedback Matching)|
+------------+ +-------------------+
| |
+---------------+---------------+
|
+--------------------------+
| Patient Journey Support |
+--------------------------+
- First point of interaction.
- Detects patient intent:
- If patient mentions a specific doctor → forwards to Agent 1
- If patient describes symptoms/issues → forwards to Agent 2
- Checks doctor’s appointment slots
- Books available slots
- Tracks patient journey with:
- OPD crowd estimation
- Real-time traffic via API
- Automated reminders/notifications (SMS/WhatsApp)
- Guides patient till hospital arrival
- Uses vectorized feedback database
- Matches patient's issue with real patient experiences
- Recommends the most suitable and available doctor
- Ensures equal opportunity by balancing between senior/junior doctors
- After confirmation, routes back to Agent 1 for booking
| Layer | Technology |
|---|---|
| Programming | Python |
| AI Agent Orchestration | LangChain, OpenRouter |
| Embeddings & Search | FAISS (Vector Store) |
| Web UI / Chat Interface | Streamlit or Flask |
| Real-time Tracking | Google Maps API, Hospital API (mock) |
| Notifications | Twilio / WhatsApp / Email APIs |
| Version Control | Git, GitHub |
| Deployment (optional) | Render / Heroku / Vercel |
- Multi-Agent Orchestration with task-specific delegation
- Contextual Feedback Vectorization for real-world doctor suggestions
- Real-Time Tracking of hospital crowd and traffic
- Equal Opportunity Logic to prevent bias in doctor assignment
- Fully Conversational chatbot with structured routing
- Reduce OPD wait time by 30–50%
- Improve patient satisfaction
- Help hospitals better manage OPD queues
- Increase access to care for semi-urban & rural users
git clone https://github.com/your-username/smart-opd-agent.git
cd smart-opd-agentpython -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activatepip install -r requirements.txtstreamlit run app.py- Agent 1: Doctor Booking + Notification
- Agent 2: Symptom → Doctor Match
- Vector Feedback DB (mock)
- Real-time simulation (traffic + crowd)
This project aligns with UN Sustainable Development Goal 3 – Good Health and Well-Being, by improving access to timely, efficient, and equitable outpatient services.
| Name | Role |
|---|---|
| Arun Vijo | Architect + Full-stack Dev |
| Aswin Asokan | AI/NLP Model Dev |
| Abin A C | Backend Engineer |
| Abraham Manoj | Feedback DB & Embedding Logic |
| Aaron Stephen | Streamlit UI / UX |
| Albin Binu | Presentation + Documentation |
smart-opd-agent/
├── agent1_booking/
├── agent2_recommender/
├── main_agent_router.py
├── feedback_db/
├── frontend/ # Streamlit or Flask UI
├── utils/
│ └── traffic_api.py
├── requirements.txt
├── README.md
└── .gitignoreThis project is licensed under the MIT License.
For queries or collaboration:
- 📧 aaroncherian10@gmail.com
- GitHub: @Aaron-hub-dev-maker
- 📧 arunvijo2004@gmail.com
- GitHub: @arunvijo04