Team AIMA - Conversational Shopper
Enablling shopping for everyone - your personal shopping navigator
About The Project
DEMO video: https://www.loom.com/share/098d535ab0f145f7b0f7c87a87b01390
# Voice Shop — Agora ConvoAI Hackathon (Team AIMA)
A pseudo e-commerce storefront you control entirely with your voice. Tell the agent "add two blue shirts to my cart" or "take me to checkout" and the UI updates within ~1 second. Built on Agora's Conversational AI Engine + RTC SDK with a custom LLM server in the middle that performs tool calling against a JSON state file.
## What it does
- Speak to a voice agent in the browser - The agent has tools: `add_to_cart`, `remove_from_cart`, `clear_cart`, `navigate` - Tool calls mutate a single JSON file (`shop_state.json`) - The frontend polls that state every second and re-renders the cart, product grid, and current page badge
The whole point of the project is to demonstrate **voice-driven app state mutation** through Agora's ConvoAI custom LLM hook — not just a talking head.
## Architecture
``` ┌──────────────┐ RTC audio ┌─────────────────┐ tool calls ┌───────────┐ │ │ ◄─────────► │ │ ──────────────► │ │ │ Browser │ │ Agora ConvoAI │ │ OpenAI │ │ (Next.js) │ │ (cloud) │ ◄────────────── │ │ │ │ │ │ completions └───────────┘ └──────────────┘ └────────┬────────┘ │ │ POST /chat/completions │ poll GET /shop/state │ │ every 1s ▼ │ ┌─────────────────┐ │ │ custom-llm │ └────────────────────► │ (FastAPI) │ │ │ │ shop_state.json│ └─────────────────┘ ▲ │ POST /start-agent (once per session) │ ┌─────────────────┐ │ backend (Flask)│ │ token + agent │ │ provisioning │ └─────────────────┘ ```