A multi-agent wellness assistant that streams its reasoning in real time.
Designed, built and deployed on my own: a supervisor and five specialist agents on an async FastAPI backend, streaming to a React 19 client, with Google OAuth 2.0 and JWT sign-in.
- Type
- Independent project
- My role
- Sole developer
- Timeline
- Jan – Mar 2026
- Status
- Live and publicly accessible

Results
Verified numbers
5
specialist agents
2
sign-in methods
Live
on Render + Netlify
The problem
Independent project · Jan – Mar 2026 · Live
Arogya answers health and wellness questions by routing them through specialist agents: symptoms, diet, fitness, lifestyle and more. Users watch each step stream in as it happens. I built the whole product, including the parts a demo usually skips: sign-in, persistent user context, recovering from unpredictable model output, safe handling of uploaded medical PDFs, and deployment. The API runs on Render with public interactive docs, and the client is a React 19 PWA on Netlify.
How it works
Simplified architecture
React 19 PWA
Vite on Netlify, Axios Bearer-token interceptors
Authentication
Google OAuth 2.0 or JWT, PBKDF2 SHA-256
FastAPI (async)
On Render; streams every step over SSE
Supervisor + 5 specialist agents
Symptom Analyzer
Preliminary triage guidance
Dietary Specialist
Nutrition strategies
Fitness & Lifestyle
Exercise, sleep and habits
MongoDB Atlas
Motor async driver: chats, profiles, sessions
What I built
6 key contributions
- Built an asynchronous FastAPI backend where a supervisor coordinates five specialist agents, streaming each step to the client over Server-Sent Events and WebSockets.
- Implemented two sign-in paths: Google OAuth 2.0 (authorization-code flow) and native JWT, with passwords hashed using PBKDF2 SHA-256 via Passlib.
- Integrated non-blocking MongoDB Atlas persistence through the Motor async driver for chat histories, health profiles and sessions.
- Wrote a two-pass extraction parser (regex plus boundary sanitization) that recovers structured JSON from non-deterministic LLM output.
- Parsed uploaded medical-record PDFs with pypdf into validated Pydantic schemas before adding them to agent context.
- Built the React 19 and Vite client with Axios interceptors that manage the Bearer-token lifecycle; deployed the API on Render and the client on Netlify.
Key decisions
What I chose, and why
- Stream agent steps instead of waiting for a final answer
- Multi-agent responses take several model calls, so users see progress immediately over SSE.
- Parse model output in two passes
- LLM responses are non-deterministic; regex extraction plus boundary sanitization recovers valid JSON when the first attempt fails.
- Stay asynchronous end to end
- FastAPI with the Motor driver keeps database I/O non-blocking for concurrent chats, profiles and sessions.
- Validate uploaded records before they reach a prompt
- PDF text goes through Pydantic schemas first, so malformed data never becomes agent context.
Screenshots

Evidence
Check the work yourself
Technology
- Python
- FastAPI
- Groq (Llama 3.1 8B)
- MongoDB Atlas
- Motor
- Pydantic
- PyJWT
- Passlib
- Google OAuth 2.0
- SSE
- WebSockets
- React 19
- Vite
- Render
- Netlify
Want the details behind Arogya?
I’m happy to walk through the architecture, trade-offs and code in a call or interview.