RH.RONY
Back to Projects
AI & Full-Stack Developer (Personal Project)•Self-Directed Learning

ShopMate AI: Voice & Conversational E-Commerce Agent

A self-directed AI project exploring how autonomous agents and real-time voice assistants streamline e-commerce. Instead of manually filtering catalogs and guessing search terms, shoppers can chat or speak directly with an agent that verifies inventory and manages their cart automatically.

View Source Code
Next.js 16React 19TypeScriptGoogle Gemini APIPostgreSQLPrismaRedisDocker
The Challenge

Shopping on traditional e-commerce platforms requires tedious manual effort: clicking through complex filter menus, guessing exact keyword matches, and second-guessing whether a missing product is out of stock or just buried by search filters. Adding items and picking sizes requires repetitive navigation across multiple pages.

  • Manual navigation and rigid category filters make product discovery slow and frustrating for shoppers.
  • Standard search boxes cannot interpret conversational questions, stylistic preferences, or price constraints.
  • Browsing, picking variants, and managing cart quantities requires multiple clicks and page transitions.
The Approach

Engineered an autonomous conversational agent equipped with declared database tools and voice capabilities. Shoppers can speak or chat naturally to check product availability, receive definitive answers, and have the agent populate their cart automatically.

  • Voice & Conversational Interface— Built-in real-time voice and text chat allowing shoppers to ask questions naturally and hear immediate spoken or text feedback.
  • Grounded Inventory Tool Calling— Equipped the Gemini agent with structured database query tools to check real inventory counts, eliminating out-of-stock hallucinations.
  • Autonomous Cart Mutations— Empowered the agent to select correct product variants and add them directly into the user's active shopping cart, leaving only checkout.
  • Reactive Client Synchronization— Synchronized backend agent actions with the frontend cart drawer in real time so the user sees items added instantly.