RetailX is an advanced multimodal AI agent designed specifically for retail intelligence and store management. This powerful platform combines computer vision, natural language processing, and real-time analytics to provide comprehensive retail insights through an intuitive conversational interface.
- Natural Language Interface: Chat with your retail data using plain English
- Computer Vision: Analyze camera feeds and visual data
- Real-time Analytics: Get instant insights from your store operations
- Intelligent Responses: Context-aware AI that understands retail terminology
- π₯ Live Camera Monitoring: Real-time security camera feeds with AI analysis
- π Performance Dashboards: Comprehensive store analytics and KPIs
- π₯ Customer Analytics: Traffic patterns, behavior analysis, and satisfaction metrics
- π¦ Inventory Management: Stock levels, alerts, and optimization insights
- π° Sales Intelligence: Revenue tracking, transaction analysis, and forecasting
- π¨βπΌ Staff Performance: Employee metrics and operational efficiency
- Frontend: Next.js 14 (App Router), React, TypeScript
- UI/UX: shadcn/ui, TailwindCSS, responsive design
- AI Integration: Vercel AI SDK with multiple LLM providers
- Real-time Data: Live camera feeds, streaming analytics
- Authentication: Supabase Auth with role-based access
- πΈ OpenAI: GPT-4, GPT-4 Turbo, GPT-4o
- πΈ Anthropic: Claude 3.5 Sonnet, Claude 3 Opus
- πΈ Google: Gemini Pro, Gemini Flash
- πΈ Mistral: Large, Small models
- πΈ Groq: High-speed inference
- πΈ Local Models: Ollama support
- Monitor multiple store locations from a single dashboard
- Track customer traffic patterns and peak hours
- Analyze staff performance and scheduling optimization
- Real-time inventory alerts and stock management
- Live camera feed monitoring with AI-powered alerts
- Motion detection and suspicious activity identification
- Multi-location security oversight
- Incident reporting and documentation
- Sales performance analysis across time periods
- Customer satisfaction tracking and feedback analysis
- Competitive analysis and market insights
- Predictive analytics for demand forecasting
- Queue management and wait time optimization
- Customer journey mapping and behavior analysis
- Personalized recommendations and targeting
- Service quality monitoring and improvement
git clone https://github.com/your-org/retailx.git
cd retailxnpm installCreate a .env.local file:
# AI Provider Keys (choose one or more)
OPENAI_API_KEY=your_openai_key
ANTHROPIC_API_KEY=your_anthropic_key
GOOGLE_AI_API_KEY=your_google_key
MISTRAL_API_KEY=your_mistral_key
# Optional: Database & Auth
SUPABASE_URL=your_supabase_url
SUPABASE_ANON_KEY=your_supabase_key
# Optional: Analytics
NEXT_PUBLIC_POSTHOG_KEY=your_posthog_key
NEXT_PUBLIC_POSTHOG_HOST=your_posthog_host
# Optional: Rate Limiting
KV_REST_API_URL=your_kv_url
KV_REST_API_TOKEN=your_kv_tokennpm run devVisit http://localhost:3000 to start using RetailX!
npm run build
npm startAsk RetailX to show camera feeds:
- "Show me the camera feeds for Main Store"
- "Monitor the entrance cameras"
- "Display security footage from all locations"
Get business insights:
- "How is my store performing this month?"
- "Show me today's sales analytics"
- "What are the peak hours for customer traffic?"
Check stock levels:
- "What items are low in stock?"
- "Show inventory levels for electronics section"
- "Alert me about out-of-stock products"
Monitor team efficiency:
- "How is staff performance today?"
- "Show employee schedules and attendance"
- "Which team members need training?"
- Natural Language Understanding: Processes retail-specific queries
- Context Management: Maintains conversation history and store context
- Multi-modal Processing: Handles text, images, and video data
- Response Generation: Creates relevant insights and visualizations
- Camera Feeds: Real-time video streams from store cameras
- POS Systems: Transaction data and sales metrics
- Inventory Systems: Stock levels and product information
- Staff Management: Employee schedules and performance data
- Computer Vision: Object detection, people counting, behavior analysis
- Predictive Analytics: Sales forecasting, demand prediction
- Anomaly Detection: Unusual patterns, security alerts
- Recommendation Engine: Optimization suggestions, insights
- Configure camera feed URLs in the store management section
- Set up location-specific analytics dashboards
- Define custom KPIs and metrics for each location
- Add new model configurations in
lib/models.json - Implement provider-specific logic in
lib/models.ts - Configure model parameters for retail-specific tasks
- Create new visualization components in
components/ - Define data sources and metrics
- Add to the dashboard configuration
- Data Encryption: All data transmission is encrypted
- Access Control: Role-based permissions for different user types
- Privacy Compliance: GDPR and retail privacy standards
- Audit Logging: Complete activity tracking and monitoring
RetailX - Transforming retail operations through intelligent AI agents ποΈπ€

