Inspiration 🌙💡

Sleep and mental health are deeply connected, yet most people struggle to track and improve their sleep quality. We were inspired to build an AI-powered agent that helps users understand their sleep patterns, provides personalized insights, and guides them toward better wellness — all in a seamless, interactive way! 😴✨

What it does 🚀

Dreamguardian – AI is a multi-step, agentic app that:

  • 📝 Tracks sleep and health data from users
  • 🔍 Analyzes patterns using TiDB Cloud’s Serverless + Vector Search
  • 🤖 Generates AI-driven insights and personalized tips
  • 💬 Lets users ask AI questions about their sleep and wellness
  • 📊 Provides a holistic dashboard of health metrics over time

How we built it 🛠️

  • Users input their sleep and health data → Indexed & analyzed in TiDB Cloud
  • AI agent processes data using vector search and Chat2Query API → Returns actionable insights
  • Multi-step workflow: Data ingestion → Analysis → Personalized recommendations → User interaction
  • Secure API integration ensures privacy of sensitive data

Challenges we ran into ⚡

  • Integrating React frontend with TiDB endpoints securely
  • Designing a multi-step AI workflow that chains together vector search + AI responses
  • Ensuring API keys and private data remain secure

Accomplishments that we're proud of 🏆

  • Fully functional AI-driven sleep and health tracker
  • Leveraged TiDB Cloud vector search for real-time, intelligent queries
  • Created an intuitive, engaging UI that makes interacting with AI seamless 💻✨

What we learned 📚

  • Best practices for building multi-step AI agents
  • How to leverage TiDB Serverless + Vector Search for real-world solutions
  • Importance of securing API keys and handling sensitive user data responsibly 🔐

What's next for Dreamguardian – AI 🌟

  • Integrate wearable devices for automatic sleep data collection ⌚
  • Expand AI capabilities for deeper health insights and suggestions
  • Add social and gamification features to boost engagement and long-term adoption 🎮💪

Dreamguardian – AI

  • ✅ Uses TiDB Cloud Serverless + Vector Search
  • ✅ Multi-step AI workflow chaining data ingestion → query → AI recommendations
  • ✅ Demonstrates real-world value for users’ health and wellness

Built With

Share this project:

Updates