Blood Connect runs AI workloads as Python FastAPI services under infrastructure/ai-services/, wired into the Next.js app via NEXT_PUBLIC_AI_SERVICES_URL and tRPC routers such as matching.
Ranks eligible donors for a blood request using blood type compatibility, proximity, availability, and urgency.
Predicts blood demand patterns to support inventory planning and donor recruitment.
Supports donor eligibility and donation-safety evaluation using structured health and history signals.
The unified FastAPI entrypoint is infrastructure/ai-services/main.py. Matching has a dedicated module at infrastructure/ai-services/matching/; forecasting and risk assessment live alongside shared middleware, caching, and monitoring.
The web app does not ship a public npm/Python SDK. Integrate through the Blood Connect backend (tRPC / internal AI client), not a direct third-party SDK package.
Typical product paths:
bloodRequests + matching routers@bloodlink/ai-sdk package in this repository. Accuracy percentages shown in older marketing copy are not product SLAs.