Inspiration
Digestive health is often overlooked despite being crucial to overall wellness. We noticed that while people track calories, steps, and sleep, there's no comprehensive solution for monitoring bowel health patterns. The Bristol Stool Scale exists in medical literature, but it's not accessible to everyday users. We wanted to bridge this gap by creating an AI-powered platform that makes gut health tracking as intuitive as tracking your daily steps.
What it does
Bowel Max is an AI-powered gut health tracking app that helps users monitor their digestive patterns and receive personalized insights. Users log daily bowel movements using the Bristol Stool Scale, and our AI analyzes patterns to provide:
- Personalized Insights: AI-generated health summaries, key patterns, and recommendations
- Smart Analytics: Consistency scores, health trends, and daily stool count visualizations
- Dr. Gut Chatbot: An AI assistant that combines personal data with medical research to answer questions
- Health Correlations: Integration with Apple HealthKit to correlate sleep, activity, and gut health
- Research Integration: Access to PubMed research for evidence-based recommendations
How we built it
Frontend: Built with React Native and Expo for cross-platform compatibility
- Custom UI components with expandable AI insight cards
- Interactive charts using react-native-chart-kit
- Real-time data visualization and trend analysis
Backend: Supabase for database management and real-time data sync
- PostgreSQL database with Row Level Security
- Real-time subscriptions for live updates
- User authentication and data privacy
AI Integration:
- OpenRouter API with GPT-4 for intelligent analysis
- Custom AI agent with 4 specialized tools:
queryUserData: Analyzes personal bowel health patternssearchPubMed: Accesses medical research databasegetHealthData: Integrates Apple HealthKit metricsanalyzeHealthPatterns: Correlates multiple health factors
Architecture:
- Modular service architecture with separate AI and data services
- Context-based state management for user data
- Tool-based AI agent system for comprehensive health analysis
Challenges we ran into
Data Privacy: Balancing detailed health tracking with user privacy required careful implementation of Supabase RLS policies and secure data handling.
AI Tool Integration: Creating a multi-tool AI agent that could seamlessly combine personal data with medical research while maintaining conversational flow was technically complex.
Health Data Correlation: Integrating Apple HealthKit data with bowel health patterns required understanding both APIs and creating meaningful correlation algorithms.
User Experience: Making medical concepts (like Bristol Stool Scale) accessible to everyday users while maintaining scientific accuracy was a design challenge.
Real-time Analytics: Building dynamic charts and insights that update based on different time periods (7, 30, 60 days) required complex data processing and visualization logic.
Accomplishments that we're proud of
- AI Agent Innovation: Created a sophisticated AI chatbot that combines personal health data with medical research to provide evidence-based insights
- Comprehensive Health Tracking: Successfully integrated bowel health tracking with broader health metrics (sleep, activity, heart rate)
- User-Centric Design: Transformed complex medical concepts into an intuitive, engaging user experience
- Real-time Analytics: Built dynamic visualization system that provides meaningful insights across multiple time periods
- Cross-platform Compatibility: Delivered a seamless experience across iOS and Android using React Native
What we learned
AI Integration: Learned how to build sophisticated AI agents that can use multiple tools and provide personalized, data-driven responses while maintaining conversational flow.
Health Data Privacy: Gained deep understanding of health data privacy regulations and best practices for secure health information handling.
Medical Research Integration: Discovered how to effectively integrate medical literature with personal health data to provide evidence-based recommendations.
User Experience in Healthcare: Learned how to make complex medical concepts accessible while maintaining scientific accuracy and user trust.
Real-time Data Processing: Mastered techniques for processing and visualizing health data in real-time across multiple time periods.
What's next for Bowel Max
Enhanced AI Capabilities:
- Integration with more health platforms (Google Fit, Samsung Health)
- Advanced pattern recognition using machine learning
- Predictive health insights based on historical data
Medical Integration:
- Direct integration with healthcare providers
- Export capabilities for medical consultations
- Integration with electronic health records
Community Features:
- Anonymous community insights and trends
- Support groups for digestive health conditions
- Expert Q&A sessions
Advanced Analytics:
- Seasonal pattern analysis
- Dietary correlation tracking
- Stress and mood integration
- Medication effect tracking
Research Contributions:
- Anonymous data contribution to digestive health research
- Partnership with medical institutions
- Publication of insights on gut health patterns
Built With
- claude
- openai
- reactnative
- supabase
Log in or sign up for Devpost to join the conversation.