Skip to content

FANIMAN/ai-agent-ecommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

# 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.txt

Add 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 --reload

Frontend

cd frontend
npm install
npm run dev

Visit http://localhost:5173 for the dashboard.

Usage

  • Click "Run Agent" to trigger AI analysis manually.
  • Alerts and AI summary will appear on the dashboard.
  • Daily automated checks run via scheduler.

Future Improvements

  • Real email integration (SendGrid / Gmail API)
  • Real e-commerce API integration (Shopify / WooCommerce)
  • Multi-user support and authentication
  • Analytics & learning feedback loop

Notes

  • All APIs used are free-tier compatible.
  • Frontend and backend can run locally for testing.

About

Automated AI assistant for e-commerce businesses. Monitors orders, inventory, and generates AI-powered summaries.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors