community/demos_2025/femtracker-agent.md
FemTracker Agent is an innovative AI-powered women's health tracking platform that leverages cutting-edge multi-agent technology to provide personalized health insights, cycle predictions, and comprehensive wellness monitoring. The system features 8 specialized AI agents that work together to deliver intelligent health assistance, real-time analytics, and WHO-standard health scoring.
Key Problems Solved:
Frontend Stack:
Backend & AI Stack:
Specialized AI Agents:
GitHub Repo: https://github.com/ChanMeng666/femtracker-agent
Deployed Demo: https://femtracker-agent.vercel.app/
Note: Include a screenshot of your demo in action
Chan Meng - AI & Healthcare Technology Developer
LinkedIn: chanmeng666
An innovative women's health tracking platform that leverages cutting-edge AI multi-agent technology to provide personalized health insights, cycle predictions, and comprehensive wellness monitoring.
Built with CopilotKit for seamless conversational AI experience
🚀 Live Demo · 📖 Documentation · 🐛 Issues
</div>FemTracker Agent is a cutting-edge women's health companion that combines the power of AI multi-agent systems with comprehensive health tracking. Built with CopilotKit integration, it features 8 specialized AI agents that provide personalized health insights, cycle predictions, and wellness monitoring through natural language conversations.
# Required
Node.js 18.0+
Python 3.12+
Supabase Account
OpenAI API Key
# Optional for enhanced performance
Redis
1. Clone Repository
git clone https://github.com/ChanMeng666/femtracker-agent.git
cd femtracker-agent
2. Frontend Setup
npm install
# or
pnpm install
3. AI Agent Setup
cd agent
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt
Frontend (.env.local):
# OpenAI Configuration
OPENAI_API_KEY=your_openai_api_key_here
# Supabase Configuration
NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key
# CopilotKit Agent Configuration
NEXT_PUBLIC_COPILOTKIT_AGENT_NAME=main_coordinator
NEXT_PUBLIC_COPILOTKIT_AGENT_DESCRIPTION="AI health companion with specialized agents for women's health tracking"
# Optional: Redis for Performance
REDIS_URL=your_redis_connection_string
Backend (agent/.env):
# OpenAI Configuration
OPENAI_API_KEY=your_openai_api_key_here
Execute SQL files in your Supabase SQL Editor in order:
database/1-database-setup.sql - Core schemadatabase/2-database-fix.sql - RLS policiesdatabase/6-fertility-tables.sql - Fertility trackingdatabase/7-recipe-tables.sql - Recipe managementTerminal 1 - AI Agent System:
cd agent
langgraph dev
Terminal 2 - Frontend:
npm run dev
Access Application:
graph TB
subgraph "CopilotKit Interface"
A[User Input] --> B[CopilotKit Provider]
B --> C[Conversational AI]
end
subgraph "Agent Orchestration"
D[Main Coordinator] --> E{Intelligent Routing}
E --> F[Specialized Agents]
F --> G[Health Processing]
end
subgraph "Response Generation"
H[Agent Responses] --> I[CopilotKit State]
I --> J[User Interface]
end
C --> D
G --> H
J --> A
// src/app/api/copilotkit/route.ts
const agents = [
{
name: "main_coordinator",
description:
"Main health coordinator that routes requests to specialized agents",
graph_id: "main_coordinator",
},
{
name: "cycle_tracker",
description:
"Specialized agent for menstrual cycle tracking and predictions",
graph_id: "cycle_tracker",
},
// Additional specialized agents...
];
Cycle Tracking:
User: "I think my period started today, can you help me track it?"
AI: "I'll help you track your period! Let me log that your cycle started today and update your predictions. Based on your history, your next period is likely around [date]. How is your flow today - light, medium, or heavy?"
Fertility Monitoring:
User: "Am I in my fertile window this week?"
AI: "Based on your cycle data, you're approaching your fertile window! Your predicted ovulation is in 2-3 days. I recommend tracking your BBT and cervical mucus for more accurate predictions. Would you like me to set up reminders?"
Health Insights:
User: "I've been feeling more tired lately, any patterns you notice?"
AI: "I've analyzed your recent data and noticed your fatigue tends to increase during the luteal phase of your cycle, which is normal. Your sleep quality has also decreased by 15% this week. Let me suggest some cycle-aware wellness strategies..."
cd agent
langgraph up
# Install Vercel CLI
npm i -g vercel
# Deploy frontend
vercel --prod
# Deploy AI agents
cd agent && langgraph up
We welcome contributions to advance women's health technology:
git checkout -b feature/health-improvement)Contribution Areas:
This project is licensed under the MIT License - see the LICENSE file for details.
If you find FemTracker Agent helpful, please consider giving it a star!
<em>Built with CopilotKit • Pioneering the future of conversational healthcare</em>
⭐ Star us on GitHub • 🚀 Try Live Demo • 🤖 Explore AI Agents • 🤝 Join Community
Made with ❤️ for women's health empowerment
</div>