💡 Inspiration
Online shopping for specific items within a strict budget often requires browsing multiple store pages, manually calculating tax and total costs, and navigating tedious checkout flows. I wanted to build a fast, lightweight agent that allows users to state what they need in plain English and immediately receive a secure, pre-configured PayPal checkout link.
🛒 What It Does
AutoShop AI is an autonomous C++ shopping assistant. Users enter a natural prompt like "Find an ergonomic desk setup under $150 and buy it."
AutoShop AI then:
- Parses User Intent: Extracts item requirements and budget limits.
- Evaluates & Selects: Matches parameters against targeted products to keep costs strictly within budget.
- Executes PayPal Checkout: Connects to PayPal infrastructure, formats the JSON payload, and automatically opens the official PayPal portal via Microsoft Edge for instant authorization.
🛠️ How I Built It
- C++ Core Engine: Built entirely in C++ using Dev-C++ for maximum execution speed, deterministic memory management, and low memory overhead.
- Networking Integration: Utilized
libcurlfor low-level HTTP/HTTPS REST calls and OAuth authorization handling with PayPal's endpoint. - Browser Launch & Automation: Standardized OS system calls to open the secure browser session cleanly and quickly upon order creation.
- Presentation & Design: Designed slide decks using Canva to clearly articulate system architecture and problem/solution dynamics.
🧠 Challenges I Faced
Integrating low-level C++ network calls (libcurl) with REST APIs while keeping standard input parsing fast and error-free required careful string handling, memory allocation, and debugging within Dev-C++. Coordinating seamless browser launching straight from terminal execution was also a key focus area.
🏃 Accomplishments That I'm Proud Of
- Successfully completing the entire project—from architecture, C++ programming, and PayPal API integration to presentation design and video demo—as a solo developer!
- Achieving sub-second processing time from terminal prompt entry to browser launch.
🔮 What's Next for AutoShop AI
- Multi-Retailer Comparison: Expanding price scraping capabilities across dynamic store inventories.
- Automated PayPal Webhooks: Adding background status listeners for instant payment confirmation callbacks.