Tele Manas 2.0 / Project Plan – Source Code
TELE
MANAS 2.0
Comprehensive Software Implementation Blueprint
Prepared for: Shri J P Nadda, Hon'ble Minister of Health &
Family Welfare, Government of India
Prepared by: Hemen Parekh
| hemenparekh.ai | 27
March 2026
1. EXECUTIVE SUMMARY
This document provides a
comprehensive technical blueprint for the development and implementation of
Tele MANAS 2.0 — the next generation of India's national mental health
programme. The proposal encompasses the complete software codebase (provided
separately), step-by-step implementation plan, time frames, man-hour estimates,
team composition, technology stack, and cost guidance.
The implementation is structured
across 6 phases spanning 25 weeks for initial launch, followed by continuous
improvement. The system is designed to be scalable to 100 million users,
deployable on NIC Meghraj cloud (ensuring data sovereignty), and compliant with
the Digital Personal Data Protection (DPDP) Act 2023 and the IT Act 2000.
2. RECOMMENDED TECHNOLOGY STACK
All selected technologies are
open-source (where possible), India-deployable, and aligned with MeitY/NIC
guidelines:
|
Layer |
Technology |
Rationale |
|
Backend API |
Node.js 20 + Express.js |
High concurrency, npm
ecosystem, easy scaling |
|
Database |
PostgreSQL 15 + pgvector |
ACID compliance, JSON
support, NIC-compatible |
|
Cache / Session |
Redis 7 |
OTP storage, rate limiting,
real-time presence |
|
AI — Chatbot |
GPT-4o OR Sarvam-2B
(India-hosted) |
Sarvam-2B preferred for data
sovereignty |
|
AI — Indian NLP |
AI4Bharat IndicBERT /
IndicASR |
22 Indian languages,
Govt-backed, FOSS |
|
AI — Emotion |
Fine-tuned IndicBERT + custom
dataset |
40 emotion classes, Indian language
training data |
|
Mobile App |
React Native (iOS + Android) |
Single codebase, large talent
pool in India |
|
Web Portals |
React.js + TypeScript |
Saathi portal + Admin
dashboard + Observatory |
|
Real-time Comms |
Socket.io (WebSockets) |
Live chat, listener availability,
notifications |
|
Cloud / Infra |
NIC Meghraj Cloud (preferred)
or AWS India |
Data sovereignty, Govt rates,
MeitY approved |
|
Containerisation |
Docker + Kubernetes |
Scalability, rolling updates,
service isolation |
|
IVR / Voice |
IVRS via NIC / Tata Communications |
Existing 14416 infrastructure
extension |
|
WhatsApp Channel |
Meta WhatsApp Business API |
800M+ Indian users already on
WhatsApp |
|
SMS / OTP |
MSG91 (DLT registered) |
TRAI DLT compliance mandatory
for India |
|
Object Storage |
NIC S3-compatible / Amazon S3
India |
Encrypted session recording
storage |
|
Monitoring |
Prometheus + Grafana + Sentry |
Open source, standard,
NIC-deployable |
|
ABHA Integration |
NHA Sandbox → Production APIs |
ABDM mandate for health data
interoperability |
|
CI/CD |
GitLab CI (NIC-hosted GitLab) |
Automated testing +
deployment pipeline |
3. RECOMMENDED DEVELOPMENT TEAM
The team below covers the full
spectrum required for a Government-grade, CERT-In compliant, multilingual AI
application. Head count is for Phase 1-5 (25 weeks). Some roles taper off
post-launch:
|
Role |
Count |
Key
Skills |
Active
Phase |
|
Project Manager |
1 |
PMP/PRINCE2, Govt IT
projects, SDLC |
All phases |
|
Solution Architect |
1 |
Microservices, Cloud,
Healthcare IT |
1-2 (advisory ongoing) |
|
Backend Developers |
3 |
Node.js, PostgreSQL, Redis,
REST APIs |
2-5 |
|
AI/ML Engineer |
2 |
NLP, IndicBERT, Python, LLM
fine-tuning |
2-6 (ongoing) |
|
Mobile Developer (React
Native) |
2 |
React Native, iOS, Android,
Expo |
3-5 |
|
Web Developer (React.js) |
2 |
React, TypeScript, D3.js (for
analytics) |
3-5 |
|
Database Administrator |
1 |
PostgreSQL, query
optimisation, backup/restore |
1-6 |
|
DevOps / Cloud Engineer |
2 |
Docker, K8s, NIC Meghraj,
CI/CD |
1-6 |
|
QA Lead |
1 |
Test automation, k6, Postman,
mobile testing |
2-5 |
|
UI/UX Designer |
1 |
Figma, mobile UI,
accessibility, WCAG 2.1 |
1-3 |
|
NLP Specialist (Indian langs) |
1 |
Hindi/Regional language NLP,
AI4Bharat |
2-4 |
|
Security Consultant (CERT-In) |
1 |
VAPT, OWASP, IS Audit
(external agency) |
4, Annual |
|
Data Engineer |
1 |
ETL pipelines, PostgreSQL,
analytics, BI |
2-6 |
|
Training Coordinator |
2 |
Content development, Saathi
listener training |
5-6 |
|
Legal/DPO (Data Protection) |
1 |
DPDP Act 2023, IT Act,
healthcare data law |
1, 4 |
4. IMPLEMENTATION PHASES —
DETAILED TASK BREAKDOWN
Phase 1: Foundation &
Planning (Weeks 1–4 | ~640 Man-Hours)
Objective: Establish project
governance, finalise requirements, design the full system architecture, and set
up the development environment.
|
Task |
Duration |
Hours |
Team |
Deliverable |
|
Project kickoff & team
onboarding |
Week 1 |
80 |
PM, Tech Lead, Architect |
Project charter, team setup |
|
Requirement gathering &
stakeholder workshops |
Weeks 1-2 |
120 |
BA, PM, NHA/NIMHANS reps |
Signed BRS document |
|
System architecture design
& review |
Weeks 2-3 |
160 |
Architect, Tech Lead,
Security |
Architecture document |
|
Database schema design &
review |
Weeks 3-4 |
80 |
DBA, Backend Lead |
Approved schema.sql |
|
Dev/staging environment setup
(NIC cloud) |
Week 4 |
60 |
DevOps, Cloud Admin |
Running containers |
|
CI/CD pipeline setup
(Jenkins/GitLab CI) |
Week 4 |
40 |
DevOps |
Auto-deploy pipeline |
|
Security audit baseline &
penetration test plan |
Weeks 3-4 |
60 |
CERT-In empanelled agency |
Security baseline report |
|
ABHA API integration scoping
with NHA team |
Weeks 2-4 |
80 |
Integration Architect, NHA
POC |
API integration plan |
Phase 2: Backend Development (Weeks 5–10 | ~1,640 Man-Hours)
Objective: Build all server-side
APIs, database, AI engine (ASMI), emotion detection, multilingual NLP,
SwaSamvaad module, Saathi listener system, and ABHA integration.
|
Task |
Duration |
Hours |
Team |
Deliverable |
|
PostgreSQL schema
implementation & migrations |
Weeks 5-6 |
80 |
DBA, Backend (2) |
Live DB, all tables + indexes |
|
Authentication service
(OTP+JWT) |
Week 5 |
60 |
Backend Dev 1 |
Auth API, tested |
|
User & wellness profile
APIs |
Weeks 5-6 |
80 |
Backend Dev 1-2 |
CRUD APIs, Postman collection |
|
Session management APIs |
Week 6 |
60 |
Backend Dev 2 |
Session lifecycle APIs |
|
AI Engine — ASMI chatbot
integration |
Weeks 6-8 |
200 |
AI Engineer, Backend Dev |
Working ASMI endpoint |
|
AI Engine — Emotion detection
(AI4Bharat) |
Weeks 7-8 |
120 |
AI Engineer |
Emotion API integrated |
|
AI Engine — Risk scoring
& escalation logic |
Week 8 |
80 |
AI Engineer, Backend Dev |
Risk classifier tested |
|
Multilingual NLP — 22
language support |
Weeks 7-9 |
160 |
AI Engineer, NLP Specialist |
Language detection +
translation |
|
SwaSamvaad (Mantra) module —
full API |
Weeks 8-9 |
120 |
Backend Dev 1 |
Mantra CRUD + streak APIs |
|
Listener (Saathi) registry
& matching APIs |
Weeks 8-10 |
140 |
Backend Dev 2 |
Listener search, availability |
|
Payment calculation &
ledger APIs |
Week 10 |
80 |
Backend Dev 1, FinTech
Specialist |
Payment engine, UPI stub |
|
ABHA integration — link,
pull, push |
Weeks 9-10 |
100 |
Integration Dev |
ABHA sync working |
|
Analytics & research data
pipeline |
Weeks 9-10 |
100 |
Data Engineer |
Aggregation jobs running |
|
Admin dashboard APIs |
Week 10 |
80 |
Backend Dev 2 |
Admin CRUD endpoints |
|
WebSocket server (real-time
chat/notifications) |
Weeks 7-8 |
80 |
Backend Dev, DevOps |
Socket.io server live |
|
API documentation
(Swagger/OpenAPI) |
Weeks 9-10 |
60 |
Backend Dev 1 |
Swagger UI at /api/docs |
Phase 3: Frontend & Mobile
Development (Weeks 11–16 | ~1,420 Man-Hours)
Objective: Build the React Native
mobile app, Saathi web portal, Admin dashboard, and National Mental Health
Observatory dashboard.
|
Task |
Duration |
Hours |
Team |
Deliverable |
|
React Native app scaffolding
& navigation setup |
Week 11 |
60 |
Mobile Dev 1-2 |
App running on emulator |
|
Auth screens (OTP flow,
language selector) |
Weeks 11-12 |
80 |
Mobile Dev 1 |
Working login |
|
Home screen — mood check-in,
quick actions |
Week 12 |
60 |
Mobile Dev 1, UI Designer |
Home screen, both languages |
|
ASMI chat screen — text +
voice input |
Weeks 12-14 |
160 |
Mobile Dev 2, AI Engineer |
Chat with voice, emotion
feedback |
|
Find Saathi screen — search,
filter, connect |
Weeks 13-14 |
120 |
Mobile Dev 1 |
Listener browse + connect |
|
SwaSamvaad (Mantra) screens —
all 4 screens |
Weeks 13-15 |
140 |
Mobile Dev 2, UI Designer |
Full mantra journey |
|
Mood tracker & journey
chart screen |
Week 15 |
80 |
Mobile Dev 1 |
Chart with 30-day history |
|
Community Mantra Wall screen |
Week 15 |
60 |
Mobile Dev 2 |
Wall, share, resonate |
|
Push notifications (FCM)
setup |
Week 14 |
60 |
Mobile Dev, DevOps |
Notifications on all 3
triggers |
|
Offline mode & data sync |
Week 16 |
80 |
Mobile Dev 1 |
Basic offline mantra access |
|
Accessibility — screen
reader, large text |
Week 16 |
60 |
Mobile Dev 2, QA |
WCAG 2.1 AA compliance |
|
App localisation — Hindi,
English + 4 others |
Weeks 15-16 |
120 |
Mobile Dev, Translators (x4) |
i18n complete, 6 languages |
|
Saathi web portal (React.js)
— listener dashboard |
Weeks 13-16 |
200 |
Web Dev 1-2 |
Saathi portal live on staging |
|
Admin dashboard (React.js) —
MoHFW team |
Weeks 14-16 |
160 |
Web Dev 1 |
Admin panel live |
|
National MH Observatory
dashboard |
Weeks 15-16 |
120 |
Web Dev 2, Data Engineer |
Analytics dashboard for
Ministry |
Phase 4: Testing, Security &
UAT (Weeks 17–20 | ~820 Man-Hours)
Objective: Achieve 90%+ test
coverage, pass CERT-In penetration test, DPDP Act compliance audit, and User
Acceptance Testing with 200 pilot users across 5 states.
|
Task |
Duration |
Hours |
Team |
Deliverable |
|
Unit testing — backend APIs
(Jest) |
Weeks 17-18 |
120 |
QA Lead, Backend Dev |
90% coverage report |
|
Integration testing — API +
DB + AI |
Week 18 |
80 |
QA Lead |
Integration test suite |
|
Load testing — 10,000
concurrent users (k6) |
Week 18 |
60 |
DevOps, QA Lead |
Load test report, bottlenecks
fixed |
|
Mobile app testing — Android
+ iOS devices |
Weeks 17-18 |
100 |
QA (2), Mobile Dev |
Device test matrix, 0 P1 bugs |
|
Security penetration test
(CERT-In agency) |
Weeks 18-19 |
80 |
External CERT-In agency |
Pentest report, fixes applied |
|
VAPT (Vulnerability
Assessment) |
Week 19 |
60 |
Security Consultant |
VAPT certificate |
|
Data privacy audit (IT Act +
DPDP Act 2023) |
Week 19 |
60 |
Legal, Data Protection
Officer |
Compliance checklist signed |
|
UAT with 200 pilot users (5
states) |
Weeks 19-20 |
160 |
PM, QA, State nodal officers |
UAT sign-off report |
|
NIC cloud production
environment setup |
Week 19 |
80 |
DevOps, NIC Cloud Admin |
Prod environment ready |
|
Performance optimisation — DB
indexes, caching |
Week 20 |
60 |
DBA, Backend Dev |
Perf benchmark report |
Phase 5: Deployment, Training &
Launch (Weeks 21–25 | ~840 Man-Hours)
Objective: Production deployment
on NIC Meghraj cloud, IVR integration with 14416, Saathi listener training
(Batch 1: 500 volunteers), state nodal officer training, and full national
launch.
|
Task |
Duration |
Hours |
Team |
Deliverable |
|
Production deployment
(blue-green rollout) |
Week 21 |
40 |
DevOps, Tech Lead |
v2.0 live on prod |
|
IVR (14416) integration &
voice testing |
Weeks 21-22 |
80 |
Telephony Engineer, QA |
IVR fully connected |
|
WhatsApp Business API
integration |
Week 22 |
60 |
Integration Dev |
WhatsApp channel live |
|
Saathi listener onboarding —
Batch 1 (500) |
Weeks 21-24 |
200 |
Training team, Content
Writers |
500 certified Saathi
listeners |
|
State nodal officer training
(36 states/UTs) |
Weeks 22-23 |
120 |
Training team |
Training completion
certificates |
|
Monitoring & alerting
setup (Grafana/Prometheus) |
Week 21 |
60 |
DevOps |
Dashboards + alert rules |
|
24/7 on-call rotation setup |
Week 22 |
40 |
DevOps, Backend team |
Runbook + on-call schedule |
|
NIMHANS research data
pipeline activation |
Week 23 |
40 |
Data Engineer, NIMHANS team |
Research data flowing |
|
Soft launch — 3 states
(pilot) |
Weeks 23-24 |
120 |
PM, QA, State teams |
3-state pilot live |
|
Full national rollout |
Week 25 |
80 |
PM, Comms team, All state
teams |
National launch |
Phase 6: Ongoing Maintenance &
Continuous Improvement (Post Week 25)
Objective: Keep the system
secure, up-to-date, and continuously improving through AI model retraining, new
language additions, and regular feature releases.
|
Task |
Duration |
Hours |
Team |
Deliverable |
|
Monthly security patches
& dependency updates |
Monthly |
40/mo |
DevOps, Backend |
Security changelog |
|
AI model retraining (emotion
+ risk) |
Quarterly |
120/qtr |
AI Engineer |
New model version deployed |
|
New language addition (per
batch of 4 langs) |
Per batch |
80 |
NLP, Mobile, QA |
Language pack released |
|
Saathi listener batch
training |
Monthly |
160/mo |
Training team |
New certified listeners |
|
Feature releases (v2.1,
v2.2…) |
Every 6 wks |
200/rel |
Full team |
Release notes + App Store
update |
|
NIMHANS research report |
Quarterly |
40/qtr |
Data Engineer |
Research summary to Ministry |
|
Annual security audit |
Annual |
160/yr |
CERT-In agency |
Annual security certificate |
|
ABHA API version upgrades |
As needed |
60 |
Integration Dev |
Updated integration |
5. CONSOLIDATED TIME & COST
SUMMARY
|
Phase |
Duration |
Man-Hours |
Team
Size |
Estimated
Cost |
|
Phase 1: Foundation &
Planning |
Weeks
1-4 |
640 |
8 |
12-15 |
|
Phase 2: Backend Development |
Weeks
5-10 |
1,640 |
12 |
35-45 |
|
Phase 3: Frontend &
Mobile |
Weeks
11-16 |
1,420 |
10 |
30-40 |
|
Phase 4: Testing &
Security |
Weeks
17-20 |
820 |
8 |
18-22 |
|
Phase 5: Deployment &
Launch |
Weeks
21-25 |
840 |
15 |
20-25 |
|
Phase 6: Ongoing Maintenance |
Ongoing |
Varies |
6 |
15-20/yr |
|
TOTAL (Phases 1-5) |
25
Weeks |
~5,360 |
15 |
₹1.15-1.47
Cr |
Cost estimate based on: Senior
developer rate ₹80,000-1,20,000/month; AI4Bharat APIs (FOSS); NIC cloud
(subsidised Govt rates); excludes CERT-In audit fees (~₹8-12 lakhs separately).
All costs in 2026 INR.
6. DELIVERED CODE FILES —
INVENTORY
The following code files are
delivered as part of this blueprint package:
•
backend/server.js — Main API server with
all routes, middleware, error handling
•
backend/database/schema.sql — Complete
PostgreSQL schema (18 tables, views, triggers, indexes)
•
backend/routes/auth.js — OTP
authentication, JWT tokens, refresh flow
•
backend/routes/ai.js — ASMI chatbot,
emotion detection, risk scoring, crisis protocol
•
backend/routes/sessions.js — Session
lifecycle, escalation, payments
•
backend/routes/mantra.js — SwaSamvaad
module: practice, streaks, wall, analytics
•
backend/.env.template — Complete
environment configuration with all required keys
•
mobile/App.js — React Native app: Home,
ASMI Chat, SwaSamvaad, Saathi Finder
Files NOT included in this
blueprint (to be developed by chosen vendor/NIC team):
•
backend/routes/listeners.js — Saathi
listener CRUD, availability, matching algorithm
•
backend/routes/analytics.js — Research data
aggregation, Ministry dashboard APIs
•
backend/routes/admin.js — Admin operations,
user management, content moderation
•
backend/routes/abha.js — Full ABHA/ABDM
integration (requires NHA onboarding)
•
backend/routes/users.js — User profile,
wellness, mood history
•
mobile/screens/ — FindSaathiScreen,
MantraWallScreen, MoodTrackerScreen, ProfileScreen
•
web/saathi-portal/ — React.js Saathi
listener web portal (all screens)
•
web/admin-dashboard/ — Ministry admin
dashboard with Observatory analytics
•
web/observatory/ — National Mental Health
Observatory (maps, trend charts)
•
ai/emotion_model/ — Custom IndicBERT
fine-tuning code for 40-class emotion detection
•
ai/risk_model/ — Risk scoring model
training pipeline
•
devops/ — Kubernetes manifests, Helm
charts, Terraform for NIC Meghraj
•
docs/api/ — Swagger/OpenAPI specification
for all 60+ endpoints
7. RECOMMENDED NEXT STEPS FOR
MINISTRY
•
STEP 1: Issue an RFP (Request for Proposal)
to empanelled MeitY/NIC vendors sharing this blueprint as the technical
specification.
•
STEP 2: Mandate that the selected vendor
use AI4Bharat APIs for Indian language processing — ensuring data stays within
India.
•
STEP 3: Initiate ABHA integration
onboarding with NHA (National Health Authority) — this has a 4-6 week approval
process and should start immediately.
•
STEP 4: Earmark NIMHANS and ICMR as
research partners who will receive the anonymised data pipeline outputs.
•
STEP 5: Begin Saathi listener curriculum
development in parallel with technical development — training content takes
8-10 weeks to develop.
•
STEP 6: Engage CERT-In empanelled agency
NOW for security requirements — their onboarding lead time is 6-8 weeks.
•
STEP 7: Register for TRAI DLT compliance
for the SMS/OTP gateway — mandatory for all transactional SMS in India; takes
2-3 weeks.
Prepared
with deep respect for the mental well-being of every Indian citizen.
Hemen
Parekh |
hemenparekh.ai | Mumbai
| 27 March 2026
Word Doc — Implementation
Blueprint (7 comprehensive sections):
- Full technology stack table (18 rows — every
layer from DB to monitoring)
- Complete team roster (15 roles with skills and
active phases)
- Phase-by-phase task breakdown with 60+ tasks,
durations, hours, teams and deliverables
- Consolidated cost summary: ₹1.15–1.47 Crore
for full build (25 weeks)
- Inventory of all delivered vs. remaining code
files
- 7 concrete Next Steps for the Ministry to
action immediately
📦 Code ZIP — 8 Production-Grade Files:
- server.js — Full Express API server with all middleware
- schema.sql — 18-table PostgreSQL database with triggers, views, indexes, role
permissions
- auth.js — OTP + JWT authentication (TRAI DLT compliant SMS)
- ai.js — ASMI chatbot engine, 40-class emotion detection, risk scorer
with crisis protocol in 6 languages, SwaSamvaad mantra trigger logic
- sessions.js — Full session lifecycle with automatic listener payment
calculation
- mantra.js — Complete SwaSamvaad module: practice, streaks, community wall,
personal insights
- .env.template — Every environment variable documented with instructions
- App.js — React Native mobile app with all 4 key screens
📊 Gantt Chart (interactive above) — 25-week visual showing all 6 phases, 35 tasks,
and 5 milestones including the National Launch at Week 25
If Shri Naddaji's team comes
back, Bhai, you can hand them this entire package and say: "Yeh lo —
bas start karo." 🙏

No comments:
Post a Comment