Health Equity Bridge is an AI-assisted healthcare navigation app designed to reduce access barriers for patients who face language, cost, and care-navigation challenges.
It combines a Next.js frontend, a FastAPI backend, and a local multi-agent orchestration layer that can:
- translate and normalize symptom descriptions
- assess urgency with deterministic safety overrides
- recommend nearby care options
- estimate likely care costs
- generate provider-facing summaries
- support multilingual, stateful chat flows
Many patients do not fail because care is unavailable. They fail because the path to care is confusing.
This project focuses on practical barriers:
- language mismatch between patients and providers
- uncertainty about urgency
- difficulty finding appropriate nearby care
- lack of cost transparency
- poor handoff quality when moving from chat to real care
- Conversational symptom intake with session state
- Structured follow-up questions when information is missing
- Triage with hybrid AI + deterministic emergency rules
- Care navigation using Google Places
- Cost estimation with fallback heuristics
- Provider-facing summary generation
- Streaming chat responses to the frontend
- Visit note extraction from transcripts
- Conversation summarization
- Turn-by-turn translation
- Appointment workflow hooks, including VAPI-based scheduling integration
- User profile persistence via Firebase or local file fallback
This is an agent-oriented monolith, not a distributed system.
Authoritative runtime path:
frontend -> backend/main.py -> backend/orchestrator.py -> a2a/router.py -> specialized/* -> tools/*
- The frontend sends a symptom or chat request.
- The backend creates a typed
AgentMessagestate object. - The orchestrator extracts semantic meaning and determines the next action.
- Specialized agents handle language, triage, emergency guidance, navigation, cost, and provider handoff.
- Tool adapters call Gemini, Google Places, Firebase, and scheduling services.
- The backend returns structured outputs, session state, and trace data for UI visualization.
language_agent: language detection, simplification, translationtriage_agent: urgency assessment with deterministic overridesemergency_agent: urgent guidance for high-risk symptom patternsnavigation_agent: nearby care searchcost_agent: care cost estimationcontact_agent: provider handoff summary generation
- Uses typed orchestration instead of free-form prompt chaining
- Combines LLM reasoning with deterministic safety logic
- Maintains multi-turn conversation state with follow-up resolution
- Streams responses and exposes traceable agent execution to the UI
- Includes fallback behavior when external AI or API dependencies fail
- Next.js App Router
- TypeScript
- Tailwind CSS
- FastAPI
- Pydantic
- Firebase / Firestore fallback storage
- Gemini
- Modular local multi-agent orchestration
- Local A2A-style agent handoff router
- Google Places API
- VAPI
frontend/ Next.js UI
backend/ FastAPI routes, orchestration entrypoints, persistence helpers
specialized/ Specialized agent implementations
tools/ Gemini, maps, cost, formatting, profile helpers
a2a/ Local A2A-style handoff router
core/ Base agent runtime, tracing, response assembly
shared/ Shared schemas and TS/Python type bridge
tests/ Orchestration and tool tests
docs/ Architecture notes and demo script
