How mansi-upadhyay-12/ai-product-manager--copilot works
AI Product Manager Copilot is a React dashboard backed by a FastAPI service. Product managers authenticate, inspect feedback and product telemetry, then use analysis, prioritization, chat, PRD, user-story, and roadmap tools to turn customer signals into planning artifacts. The backend exposes these capabilities through routers, with AI agents for selected generation and analysis tasks and MySQL access for user and roadmap data. The README describes CSV fallbacks and broad feedback capabilities; sampled excerpts do not establish every route’s internal data path, so uncertain links are omitted or marked unverified.
Main entry points: agentService.js API client · AppRoutes.jsx Page routing · main.py FastAPI app · agent.py Copilot API
Components 28
Product workspace
- Page routing
frontend-1/src/routes/AppRoutes.jsx - Auth state
frontend-1/src/context/AuthContext.jsx - Sign-in pages
frontend-1/src/pages/Login.jsx - Dashboard
frontend-1/src/pages/Dashboard.jsx - Pain points
frontend-1/src/pages/PainPoints.jsx - Prioritization
frontend-1/src/pages/Prioritization.jsx - Trend analysis
frontend-1/src/pages/TrendsClusters.jsx - Reports
frontend-1/src/pages/Reports.jsx - Copilot chat
frontend-1/src/pages/AiChat.jsx - PRD generator
frontend-1/src/pages/PrdGenerator.jsx - User stories
frontend-1/src/pages/UserStories.jsx - Roadmap
frontend-1/src/pages/RoadmapPage.jsx - API client
frontend-1/src/api/agentService.js - Auth client
frontend-1/src/api/authService.js
API and identity
- FastAPI app
backend/app/main.py - Authentication
backend/app/routers/auth.py - Dashboard API
backend/app/routers/dashboard.py - Copilot API
backend/app/routers/agent.py
Feedback insights
- Theme analysis
backend/app/routers/theme_pain_point_agent.py - Feedback agents
backend/app/agents/feedback_agent.py - Feature agents
backend/app/agents/feature_agent.py - Feedback utilities
backend/app/utils.py
Product planning
- Roadmap service
backend/app/routers/roadmap_agent.py - Roadmap agent
backend/app/agents/roadmap_agent.py - Story service
backend/app/routers/user_story_agent.py - Story agent
backend/app/agents/story_agent.py
Persistence
- MySQL database
backend/app/database.py
Other components
- Product manager
Connections 42
- Product manager → Page routing: uses
frontend-1/src/routes/AppRoutes.jsx - Page routing → Sign-in pages: routes to
frontend-1/src/routes/AppRoutes.jsx - Page routing → Dashboard: routes to
frontend-1/src/routes/AppRoutes.jsx - Page routing → Pain points: routes to
frontend-1/src/routes/AppRoutes.jsx - Page routing → Prioritization: routes to
frontend-1/src/routes/AppRoutes.jsx - Page routing → Trend analysis: routes to
frontend-1/src/routes/AppRoutes.jsx - Page routing → Reports: routes to
frontend-1/src/routes/AppRoutes.jsx - Page routing → Copilot chat: routes to
frontend-1/src/routes/AppRoutes.jsx - Page routing → PRD generator: routes to
frontend-1/src/routes/AppRoutes.jsx - Page routing → User stories: routes to
frontend-1/src/routes/AppRoutes.jsx - Page routing → Roadmap: routes to
frontend-1/src/routes/AppRoutes.jsx - Sign-in pages → Auth state: uses auth
- Auth state → Auth client: calls
frontend-1/src/context/AuthContext.jsx - Auth client → Authentication: requests auth
frontend-1/src/api/authService.js - FastAPI app → Authentication: registers
backend/app/main.py - FastAPI app → Dashboard API: registers
backend/app/main.py - FastAPI app → Copilot API: registers
backend/app/main.py - FastAPI app → Theme analysis: registers
backend/app/main.py - FastAPI app → Story service: registers
backend/app/main.py - FastAPI app → Roadmap service: registers
backend/app/main.py - Dashboard → API client: requests data
frontend-1/src/pages/Dashboard.jsx - Pain points → API client: requests analysis
frontend-1/src/pages/PainPoints.jsx - Prioritization → API client: requests scores
- Trend analysis → API client: requests analysis
- Reports → API client: requests reports
- Copilot chat → API client: sends messages
frontend-1/src/pages/AiChat.jsx - PRD generator → API client: generates PRD
frontend-1/src/pages/PrdGenerator.jsx - User stories → API client: generates stories
- Roadmap → API client: manages roadmap
frontend-1/src/pages/RoadmapPage.jsx - API client → Copilot API: calls endpoints
frontend-1/src/api/agentService.js - API client → Theme analysis: calls endpoint
- API client → Story service: calls endpoint
- API client → Roadmap service: calls endpoints
- Authentication → MySQL database: queries users
backend/app/routers/auth.py - Dashboard API → MySQL database: accesses data
backend/app/routers/dashboard.py - Copilot API → Feature agents: uses agents
backend/app/routers/agent.py - Copilot API → Feedback agents: uses agent
backend/app/routers/agent.py - Copilot API → Feedback utilities: uses utilities
backend/app/routers/agent.py - Theme analysis → Feedback utilities: uses utilities
backend/app/routers/theme_pain_point_agent.py - Roadmap service → Roadmap agent: invokes
backend/app/routers/roadmap_agent.py - Roadmap service → MySQL database: accesses data
backend/app/routers/roadmap_agent.py - Story service → Story agent: uses agent
backend/app/routers/user_story_agent.py