GlycoSwarm AI
A multi-agent clinical decision-support platform screening diabetic routine labs for early kidney, nerve, eye, and cardiac complication risk.
Overview
GlycoSwarm AI is a multi-agent clinical decision-support system designed to detect subtle, sub-clinical complication markers in diabetic patient lab panels months before irreversible symptoms appear.
In diabetic care, patients often present with seemingly stable HbA1c readings while underlying multi-marker shifts (e.g., microalbumin-to-creatinine ratios, eGFR velocity, lipid subfractions) are quietly tracking progressive tissue damage. GlycoSwarm eliminates siloed review by running specialized diagnostic agents in parallel over raw patient panels, synthesizing comprehensive risk assessments for primary care physicians.
Multi-Agent Architecture
The core pipeline uses LangGraph to coordinate four domain-specialist clinical agents and a central synthesis orchestrator:
[Raw Patient Lab Panel (NHANES)]
│
┌───────────────┬────────┴───────┬───────────────┐
▼ ▼ ▼ ▼
[Renal Agent] [Neuropathy Agent] [Retinal Agent] [Cardiac Agent]
(eGFR / uACR) (HbA1c / B12 / Neu) (Vascular/BP) (Lipids / CRP)
│ │ │ │
└───────────────┼────────────────┴───────────────┘
▼
[Clinical Synthesis Agent]
(Priority Ranking & Referrals)
│
▼
[Next.js Physician Interface]
1. Parallel Specialist Agents
Each specialist (Renal, Neuropathy, Retinal, Cardiovascular) analyzes the panel through strict diagnostic lenses. Rather than relying on black-box hallucinations or static lookup thresholds:
- The agents dynamically formulate defensible early-warning cutoffs.
- Each agent writes and executes isolated Python scoring code against the patient's verified numerical values.
- They generate structured audit logs detailing why a particular marker pattern elevated risk.
2. Clinical Synthesis Agent
The synthesis agent aggregates all 4 specialist reports, evaluates competing organ risk priorities, and delivers an actionable clinical brief:
- Flags which complication is progressing most urgently.
- Suggests targeted follow-up confirmatory tests (e.g., dilated eye exam, spot urine albumin).
- Provides physician-facing disclaimers and transparent reasoning chains.
Clinical Data Validation & Guardrails
- Real Population Cohort: Validated on de-identified patient records from the CDC NHANES 2017–2018 survey dataset rather than synthetic data.
- Fail-Closed Reliability: If inference is degraded or schema validation fails, the system safely reports "Data Unavailable for Specialist" instead of fabricating clean health metrics.
- Conservative Thresholds: Early-warning flags are calibrated to prompt early clinical intervention without triggering false alarm fatigue.
Infrastructure & Technology Stack
- Primary Inference: Gemma 4 26B running on genuine on-GPU Ollama/ROCm hardware powered by an AMD Instinct MI300X accelerator (AMD Developer Cloud).
- Resilient Fallback: GLM 5.2 via Fireworks AI serverless API when local GPU throughput is constrained.
- Backend Orchestrator: FastAPI, LangGraph, Python 3.12, asyncio execution graph.
- Frontend & Visualization: Next.js (App Router), TypeScript, Tailwind CSS, and reactive lab visualization charts.
- Recognition: Built for the AMD Developer Hackathon: ACT II (Track 3 — Unicorn Track) by Team Snowfall.