Inspiration

During a blood search, families should not have to translate a need into several forms. Blood Network Voice explores a short Hinglish conversation that turns a request into concrete, inspectable actions.

What it does

This is a simulated Alexa+ experience in a web app, not a real Alexa integration. Type or speak a request such as "O positive chahiye Dilsukhnagar me urgent, 2 units". The agent finds compatible synthetic donors ranked by distance. After confirmation it creates a simulated request. Follow-up turns escalate the search or check a donor's donation cooldown.

All 16 donors are synthetic demo records. Notifications and blood-bank alerts are simulated; no real person receives a message. This is not an emergency service or medical advice. Clinical eligibility needs professional review.

How I built it

A zero-dependency Node.js server serves a small web UI. Gnani Prisma transcribes Hindi/Hinglish audio; Gnani Timbre generates spoken replies. OpenRouter models choose a structured action. Deterministic code executes it, and replies are templates over tool results rather than invented donor facts. A deterministic Hinglish parser is the fallback when models are unavailable.

The four actions are find_donors, create_request, check_cooldown and escalate. They are also exposed at POST /mcp with Streamable HTTP and protocol version 2025-11-25. The entry uses the hackathon's simulated-experience path; no Amazon device connection or production Alexa certification is claimed.

What is new

Blood Network already existed as a donor-matching project. For this hackathon I built the simulated Alexa+ UI, stateful agent loop, model fallback and MCP surface. Matching rules and Hinglish parsing helpers were adapted from my existing Blood Network code. This is a significant extension, not a claim that the original project was built here.

Challenges and lessons

Free model endpoints can fail or rate-limit, so the agent rotates models and then falls back to deterministic parsing. Hindi transcription can return Devanagari while typed prompts use Latin script. Keeping action selection separate from data and reply templates makes these cases easier to inspect.

Testing and demo

Eight local unit tests cover the deterministic logic. The demo shows donor search, confirmed request creation, escalation, cooldown checking and a live MCP request. Text mode needs no microphone. The free Render host can take around 30 seconds to wake on the first visit.

AI disclosure

AI-assisted coding and synthetic narration were used. Runtime model decisions are constrained to structured actions; matching and response data come from deterministic tools. No real donor data or private contact details are included.

Next steps

Before real use: clinical validation, verified donor consent, secure persistent storage, abuse prevention and a tested notification service. A real Alexa+ deployment would need separate integration and validation.

Built With

Share this project:

Updates

Submission history