Optimizing Multi-Agent Costs on Bedrock: From ~$18 to ~$7 per Diabetes Report Run (Graph vs Swarm Comparison)

Dev.to AI
Generative AI

The Problem With 5,000 Rows of Blood Sugar Data I've been living with Type 1 diabetes for over 17 years. My mother had it too, along with some of its complications. The disease hasn't changed much - but the tech around it has. I use a MiniMed 780G insulin pump with a Guardian 4 CGM sensor running in SmartGuard auto mode. Every 14 days it produces a report: a ~5,000-row CSV of pump events and CGM readings plus pdf data. I wanted something better - a structured clinical summary that's actually useful for medical staff and for people, that makes sense of patterns.