Inspiration
What it does
How we built it
Challenges we ran into
Accomplishments that we're proud of
What we learned
What's next for NightNudge — sleep tracking on Ring
Inspiration
We noticed that many users have access to data but lack a clear path to improving their sleep hygiene. We wanted to bridge the gap between raw metrics and meaningful behavioral change using artificial intelligence. This led us to create NightNudge.
What it does
NightNudge monitors sleep patterns retrieved from Ring to identify specific disruptions or quality drops. It uses generative AI to analyze these patterns and provide morning nudges that help users adjust their routines. Users receive a daily summary of their sleep trends and tailored recovery strategies.
How we built it
We used Python as our primary language to glue the logic together using aws-lambda for execution. We integrated amazon-bedrock to process complex sleep data and generate natural language advice. The strands-agents-sdk allowed us to build intelligent agents that interact with the amazon-ring API seamlessly.
Challenges we ran into
Mapping the high-frequency biometric data into a format the LLM could interpret efficiently was difficult. We also struggled with ensuring the latency of the agent was low enough for a responsive morning notification experience. We solved these by optimizing our data processing logic within the lambda functions.
Accomplishments that we're proud of
We successfully created an end-to-end pipeline from raw sensor data to actionable insights. The integration with amazon-bedrock provides surprisingly sophisticated coaching that feels human. We are proud of how well the agent interprets subtle sleep stage fluctuations.
What we learned
We learned a lot about how to structure time-series data for generative AI models. We also gained deep experience with the strands-agents-sdk for managing complex agent workflows. Understanding the nuances of sleep architecture was particularly eye-opening for our team.
What's next for NightNudge
We plan to add more predictive modeling to forecast potential sleep debt before it happens critical. We also want to expand the variety of nudges to include exercise and nutrition recommendations. Our goal is to make NightNudge the gold standard for Ring-based health insights.
Built With
- amazon-bedrock
- amazon-ring
- aws-lambda
- nightnudge
- sleep
- strands-agents-sdk
Log in or sign up for Devpost to join the conversation.