End to End AI Agent Project: "AI agent that can search for information related to various products across ecommerce platforms and the web"
π The application is deployed and live
Note
The web app may take 1-2 minutes to load.
Tip
For the best experience, please refer to the Usage Guide section below to learn how to navigate and use the web app effectively.
The Product Search Agent is an AI-powered web application that allows users to search for product details, including price comparisons, from multiple online sources. It leverages various agentic tools and Large Language Models (LLMs) to fetch, analyze, and present product information.
- π Product Information Retrieval: Fetches product details from multiple e-commerce platforms.
- π° Price Comparison: Compares prices from Amazon, Flipkart, and other supported sites.
- π Web Search Capabilities: Utilizes AI-powered search tools for accurate results.
- π₯ Modern UI: A clean, user-friendly interface built with Flask and HTML/CSS.
- π Structured Response: Provides formatted responses with product details, pricing, and best recommendations.
| Technology | Description |
|---|---|
| Python | Programming language used |
| Agno AI (formerly Phidata) | AI framework for building agents and tools |
| Exa Tools | Web search tool for retrieving product details |
| SerpApiTools | Search engine results page to find product informations |
| GoogleSearchTools | Google Search tools to search for products |
| Together AI | LLM for natural language processing |
| Flask | Web framework for UI and API integration |
| HTML & CSS | Frontend design and styling |
/πProduct-Search-Agent-WebApp
βββ /πstatic
β βββ styles.css # CSS for UI styling
βββ /πtemplates
β βββ index.html # Main webpage template
βββ app.py # Flask backend
βββ agent_builder.py # AI agent logic
βββ exception.py # Custom exception handling
βββ requirements.txt # Python dependencies
βββ .env # Environment variables
git clone https://github.com/Dhanush-Raj1/Product-Search-Agent-Project.git
cd Product-Search-Agent-WebApppython -m venv venv
source venv/bin/activate # On macOS/Linux
venv\Scripts\activate # On Windowspip install -r requirements.txtCreate a .env file in the root directory and add:
TOGETHER_API_KEY=your_together_ai_api_key
EXA_API_KEY=your_exa_api_key
SERPAPI_API_KEY=your_serpapi_keypython app.pyThe app will be available at: http://127.0.0.1:5000/
1οΈβ£ Open the web app in your browser.
2οΈβ£ Enter a search query:
You can search for any specific product prices, just simply enter the query in the search tab.
- Find the price of the book 'Start with why' written by Simon sinek - Find me the price of 'Redmi note 13 pro'
3οΈβ£ Click the Search button.
4οΈβ£ View the retrieved product details and price comparisons.
β
Add more e-commerce websites for price comparison.
β
Implement real-time currency conversion.
β
Improve UI with a more interactive design.
β
Optimize LLM prompts for better response accuracy.
β
Add user authentication for personalized recommendations.
π‘ Have an idea? Feel free to contribute or open an issue and pull requests!
This project is licensed under the MIT License β see the LICENSE file for details.