How mohamednavith/stylix---ai-outfit-suggestor works
Stylix lets people catalog clothing, manage laundry and wardrobe rotation, and get context-aware outfit plans through a web/mobile dashboard or Telegram. The main flow runs from client requests through the FastAPI gateway to wardrobe or planning agents, which use Supabase-backed state and return catalog or outfit results. README-described calendar/weather context and Telegram integration are shown as capabilities, but sampled excerpts do not establish all of their runtime wiring; those relationships are omitted or marked unverified.
Main entry points: coordinator.py Cycle coordinator · App.jsx Stylix dashboard · main.py FastAPI gateway · wardrobe.py Wardrobe agent
Components 19
User interfaces
- Stylix dashboard
frontend/src/App.jsx - Routine planner
frontend/src/components/RoutinePlan.jsx - Wardrobe catalog
frontend/src/components/WardrobeCatalog.jsx - Laundry hub
frontend/src/components/LaundryHub.jsx - Admin panel
frontend/src/components/AdminPanel.jsx - 3D mannequin
frontend/src/components/MannequinPreview.jsx
API and orchestration
- FastAPI gateway
backend/main.py - Cycle coordinator
backend/agents/coordinator.py
Wardrobe intelligence
- Wardrobe agent
backend/agents/wardrobe.py - Stylist agent
backend/agents/stylist.py - Calendar and weather context
backend/agents/coordinator.py
Persistence and integrations
- Wardrobe and plans
backend/database.py - API configuration
backend/config_keys.py - Supabase
- Gemini Vision
- Groq Vision
- Telegram Bot API
Other components
- Wardrobe user
- Telegram user
Connections 26
- Wardrobe user → Stylix dashboard: uses
README.md - Stylix dashboard → Routine planner: renders
frontend/src/App.jsx - Stylix dashboard → Wardrobe catalog: renders
frontend/src/App.jsx - Stylix dashboard → Laundry hub: renders
frontend/src/App.jsx - Stylix dashboard → Admin panel: renders
frontend/src/App.jsx - Routine planner → 3D mannequin: renders
frontend/src/components/RoutinePlan.jsx - Stylix dashboard → FastAPI gateway: requests
- Routine planner → FastAPI gateway: requests
frontend/src/components/RoutinePlan.jsx - FastAPI gateway → Cycle coordinator: orchestrates
backend/main.py - FastAPI gateway → Wardrobe agent: catalogs garments
- Cycle coordinator → Stylist agent: generates plans
backend/agents/coordinator.py - Cycle coordinator → Wardrobe agent: updates laundry
backend/agents/coordinator.py - Cycle coordinator → Wardrobe and plans: reads and writes
backend/agents/coordinator.py - Stylist agent → Wardrobe and plans: reads and writes
backend/agents/stylist.py - Wardrobe agent → Wardrobe and plans: reads and writes
backend/agents/wardrobe.py - Wardrobe and plans → Supabase: persists remotely
backend/database.py - Wardrobe agent → Gemini Vision: classifies images
backend/agents/wardrobe.py - Wardrobe agent → Groq Vision: tries first
backend/agents/wardrobe.py - API configuration → Wardrobe and plans: configures
backend/database.py - API configuration → Wardrobe agent: supplies keys
backend/agents/wardrobe.py - Cycle coordinator → Calendar and weather context: builds schedule context
backend/agents/coordinator.py - Calendar and weather context → Cycle coordinator: informs plan
backend/agents/coordinator.py - Telegram user → Telegram Bot API: sends messages
README.md - Telegram Bot API → FastAPI gateway: posts webhook
README.md - FastAPI gateway → Telegram Bot API: replies
backend/main.py - Cycle coordinator → Calendar and weather context: uses calendar and weather
backend/agents/coordinator.py