cds-agent / space /README.md
bshepp
Add HF Space deployment (Dockerfile, nginx, startup script) and auto-detect WebSocket URL
4ba0371
metadata
title: CDS Agent
emoji: πŸ₯
colorFrom: blue
colorTo: green
sdk: docker
app_port: 7860
fullWidth: true
custom_domains:
  - demo.briansheppard.com

CDS Agent β€” Agentic Clinical Decision Support

An agentic pipeline that orchestrates MedGemma (HAI-DEF) across six specialized clinical reasoning steps, augmented with drug safety APIs and guideline RAG, to produce comprehensive decision support reports in real time.

Architecture

Frontend (Next.js 14) ←WebSocketβ†’ Backend (FastAPI)
                                      β”‚
                            Orchestrator (6-step pipeline)
                            β”œβ”€β”€ Step 1: Parse Patient Data (MedGemma)
                            β”œβ”€β”€ Step 2: Clinical Reasoning (MedGemma)
                            β”œβ”€β”€ Step 3: Drug Interaction Check (OpenFDA + RxNorm)
                            β”œβ”€β”€ Step 4: Guideline Retrieval (ChromaDB RAG)
                            β”œβ”€β”€ Step 5: Conflict Detection (MedGemma)
                            └── Step 6: Synthesis (MedGemma)

Links