# AI Operations Coordinator
Automated AI assistant for small e-commerce businesses. Monitors orders, inventory, and generates AI-powered summaries.
## Features
- Detects delayed orders and low-stock inventory
- Sends automated emails to customers and internal staff
- Generates daily AI summaries using Google Gemini API
- Manual trigger via frontend dashboard
- Scheduler runs daily automated checks (APScheduler)
- Tailwind-styled Vue.js frontend dashboard
## Tech Stack
- Backend: Python FastAPI
- AI: Google Gemini API
- Email: Mock email service (console output)
- Frontend: Vue 3 + Vite + Tailwind CSS
- Scheduler: APScheduler (daily job)
## Setup Instructions
### Backend
```bash
cd backend
python -m venv venv
source venv/bin/activate
pip install -r requirements.txtAdd your API keys in .env:
GEMINI_API_KEY=<your_gemini_api_key>
GOOGLE_API_KEY=<your_google_api_key>Run backend:
uvicorn app.main:app --reloadcd frontend
npm install
npm run devVisit http://localhost:5173 for the dashboard.
- Click "Run Agent" to trigger AI analysis manually.
- Alerts and AI summary will appear on the dashboard.
- Daily automated checks run via scheduler.
- Real email integration (SendGrid / Gmail API)
- Real e-commerce API integration (Shopify / WooCommerce)
- Multi-user support and authentication
- Analytics & learning feedback loop
- All APIs used are free-tier compatible.
- Frontend and backend can run locally for testing.