ShopperAI is an Agentic AI application built using Google ADK and the Google Gemini API.
All agent logic—including planning, execution, memory, and tools—is implemented in a single file:
agent.py
Ensure you have the following installed and configured:
-
Python 3.10+
-
A Google AI Studio (Gemini) API key
- Billing must be enabled
- Free-tier keys will stop working after a few requests
git clone https://github.com/HagTheDon/ShopperAI.git
cd ShopperAIpip install -r requirements.txt
Create a .env file at the root of the project and add the following:
# Google Gemini API GOOGLE_API_KEY=YOUR_GEMINI_API_KEY # Direct public image URL (ImgBB recommended) USER_IMAGE="" # Optional: enables real product search # Get a trial key from https://serpapi.com/ SERPAPI_API_KEY= # Models (defaults recommended) ADK_MODEL=gemini-2.0-flash TRYON_IMAGE_MODEL=gemini-2.5-flash-image TRYON_VIDEO_MODEL=veo-3.1-fast-generate-preview
This project runs using the Google ADK local web interface.
-
Activate your virtual environment (if using one)
-
Confirm
.envis correctly configured -
Navigate to the project directory
cd ShopperAI -
Start the ADK web interface
adk web --port 8001
- The port is optional; you may use any free/open port
-
Open the app in your browser
http://127.0.0.1:<port-number> -
In the ADK UI
- Select
srcas the agent in the left panel - Start your shopping experience
- Select
- Ensure your API keys remain private
- Public image URLs are required for try-on functionality
- This setup is optimized for local development and demos