Skip to content
M

MedAgent

An AI-powered healthcare assistant

Created on 15th March 2026

•

M

MedAgent

An AI-powered healthcare assistant

The problem MedAgent solves

Triage Uncertainty: Patients often struggle to decide
if their symptoms warrant a costly or time-consuming
doctor's visit, leading to delayed care or unnecessary
ER overcrowding.

Remote Care Anxiety: People living far from their
elderly parents face immense anxiety trying to track
their daily health status, medical adherence, and
emerging symptoms remotely.

Scattered History: Medical records, lab results, and
personal health notes are often fragmented, making it
incredibly difficult to provide a comprehensive history
to a physician during a brief 15-minute appointment.

Challenges we ran into

Voice Loop: Fixed the bot transcribing its own voice by using strict React state and onend speech events to mute the mic while the bot speaks.

LLM Over-Asking: Tamed the Gemini model's habit of asking multiple questions at once through aggressive prompt engineering that enforced strict, single-question responses.

RAG Data Loss: Prevented lab result values from being cut off during PDF retrieval by upgrading to semantic chunking with a 64-token overlap.

SSE UI Lag: Resolved massive UI flickering during real-time token streaming by accumulating text in a useRef and throttling React state updates.

Overall: Integrating browser voice APIs, streaming LLMs, and vector databases ultimately required tight synchronization between prompt constraints and frontend rendering logic.

Tracks Applied (1)

Best Use of Gemini 3 [Google Deepmind]

Gemini 2.5-flash provided the ultra-low latency required to make our continuous voice conversation loop feel natural and...Read More

Google Deepmind

Discussion

Builders also viewed

See more projects on Devfolio