Inspiration
The inspiration for AR-Bazaar came from witnessing the massive disconnect in online shopping—we have powerful smartphones, yet shopping remains "dumb" with static 2D images and generic descriptions.
Three critical problems:
- 30-40% Return Rates - Customers can't visualize products in their actual space
- Decision Paralysis - Overwhelming choices without intelligent guidance lead to cart abandonment
- The Trust Gap - Uncertainty about product authenticity and style compatibility
We wanted to create a platform that acts like an intelligent, multi-armed octopus—handling AI assistance, visual search, AR visualization, voice control, and blockchain verification simultaneously.
The Vision: "What if an AI could analyze your room, understand your style, reason through your budget constraints, and let you see the product in your space before you buy—all controlled by your voice?"
That's when AR-Bazaar was born.
What It Does
AR-Bazaar is a next-generation e-commerce ecosystem that reimagines online shopping by integrating 8 parallel AI-powered technologies into one seamless flow:
🧠 1. Gemini "Deep Think" Advisor (The Brain)
World-first "Deep Think" reasoning mode for complex shopping decisions:
- Complex Reasoning: Handles prompts like "I have a $1500 budget for a 10x10 home office with back pain and need good lighting"
- Structured Planning: Breaks problems into steps (Space Analysis → Budget Allocation → Ergonomic Filter → Product Recommendation)
- Transparent Logic: Users see the AI's thought process in real-time before recommendations, building unprecedented trust
- RAG Architecture: Implements Retrieval-Augmented Generation to ensure 100% inventory accuracy by feeding verified catalog into context window
📸 2. AI Visual Room Analysis (The Eyes)
Computer vision that acts like a professional interior designer:
- Snap & Solve: Upload any room photo
- Gemini Pro Vision Integration: Detects interior style (Scandinavian, Industrial, Minimalist), analyzes lighting, extracts hex color palette
- Mathematical Matching: Recommends products with statistical compatibility scores
- Contextual Explanations: "This oak desk complements the warm tones detected in your flooring"
👓 3. WebXR Immersive Visualization (The Reality)
Production-grade AR experience:
- True-to-Scale AR: Place 3D models in real-world environment using mobile AR
- Cross-Platform Core: Supports .GLB (Android/Web) and .USDZ (iOS) for native experiences
- Interactive 3D: Desktop users rotate, zoom, and inspect product textures in high fidelity
- Draco Compression: 60% file size reduction (10MB → 3MB) for sub-second mobile loading
🗣️ 4. Full Voice Commerce (The Voice)
Complete hands-free shopping journey:
- Context-Aware Navigation: Route-aware commands—"Compare these" knows your current category
- Natural Language Processing: Custom regex parser interprets intent (Navigation vs. Search vs. Action)
- Web Speech API Integration: Zero-latency, privacy-focused speech-to-text
- Voice Commands: Search products, navigate categories, view details, manage wishlist, compare products, activate Deep Think, complete checkout
🤖 5. AI Chat Support (The Assistant)
24/7 intelligent shopping assistant:
- Context-Aware Conversations: Understands shopping context and user intent
- Smart Suggestions: Product recommendations based on browsing behavior
- Feature Guidance: Explains AR, blockchain verification, voice commands
- Gemini-Powered: Natural language understanding for conversational help
⚖️ 6. AI Product Comparison Engine (The Analyst)
Intelligent decision matrix beyond basic spec sheets:
- Total Cost of Ownership: Calculates 1-year and 3-year costs including maintenance and energy
- Market Intelligence: Price vs. features positioning, trend analysis, competitor benchmarking
- Eco-Score Evaluation: Sustainability ratings based on materials and carbon footprint
- AI-Generated Insights: Automatic pros/cons, best match recommendations, value analysis
- Detailed Scoring: Quality (0-10), Durability (0-10), Comfort (0-10), Value (0-10)
🛡️ 7. Blockchain Trust Layer (The Guardian)
Transparency and authenticity verification:
- Blockchain Authenticity Badges: Each high-value product has unique blockchain ID
- Transparent Supply Chain: Manufacturer verification, distribution tracking, quality assurance
- Immutable Records: Tamper-proof verification for premium products
- Web3-Ready Architecture: Foundation for future decentralized commerce integration
🛒 8. Complete Commerce Ecosystem (The Backbone)
Full production-ready shopping lifecycle:
- AI-Powered Recommendations: "AI Picks for You" based on browsing behavior and style preferences
- Smart Address Management: Save, edit, set default delivery addresses
- Flexible Payment: Credit/Debit card validation + Cash on Delivery (COD)
- Real-Time Order Tracking: Status updates from Processing → Delivered
- Wishlist Intelligence: Voice-controlled, price drop notifications, stock alerts
- Profile Management: Complete user account with order history
How We Built It
Building AR-Bazaar was an exercise in orchestrating 8 distinct AI technologies to work in perfect harmony. We adopted a "Vibe Coding" methodology, utilizing AI to accelerate boilerplate generation so we could focus on complex logic, system integration, and the "Deep Think" architecture.
1. Frontend & Experience Layer
- React 18 + Vite for ultra-fast UI rendering
- React Router v6 for smooth navigation
- Mobile-first design optimized for AR, voice, and AI interactions
- Deployed on Netlify with global edge delivery
2. Backend & Orchestration
- Node.js + Express as a lightweight API gateway
- Secure handling of Gemini APIs, image uploads, and voice commands
- Central orchestration layer routing inputs to AI, vision, or AR engines
3. Gemini 3 Intelligence Layer (Deep Think + Vision)
- Gemini 3 API for text, reasoning, and multimodal AI
- Deep Think (Chain-of-Thought) for structured decision-making
- RAG (Retrieval-Augmented Generation) using verified product catalog to prevent hallucinations
- Gemini Vision for room image analysis (style, color, space)
4. AR & 3D Reality Layer
- Google
<model-viewer>for cross-platform AR - Supports .GLB (Android/Web) and .USDZ (iOS)
- Three.js for desktop 3D previews
- Draco compression to reduce 3D size by ~60% for fast loading
5. Voice & NLP Layer
- Web Speech API for real-time, privacy-friendly voice input
- Custom context-aware voice parser
- Voice commands work across search, AR view, comparison, wishlist, and checkout
6. Data, Trust & Performance
- MongoDB + JWT for users, orders, and authentication
- Blockchain verification logic for product authenticity
- LocalStorage caching, lazy loading, and optimized API calls achieving sub-2s latency
Challenges We Ran Into
🎥 1. The "AR Permission Labyrinth"
- Problem: iOS Safari and Android Chrome handle AR permissions differently, breaking iPhone experiences
- Solution: Built Progressive Permission Handler that detects browser engine at runtime, dynamically serving AR Quick Look (iOS) and WebXR (Android)
🤖 2. Taming AI Hallucinations
- Problem: Early Gemini iterations recommended non-existent products ("Blue Velvet Sofa" not in stock)
- Solution: Implemented RAG (Retrieval-Augmented Generation) architecture feeding verified catalog into context window for 100% inventory accuracy
🗣️ 3. Context-Aware Voice Parsing
- Problem: API struggled distinguishing "Show me red chairs" (Search) vs. "Show me the red chair" (Detail)
- Solution: Built Context-Aware Parser checking active URL route to accurately determine user intent
📉 4. Mobile 3D Performance
- Problem: High-fidelity 3D models caused frame drops and >5s load times on mobile
- Solution: Used Blender to reduce polygons + Draco compression, achieving 10MB → 3MB compression for sub-second loads
Accomplishments That We're Proud Of
1. Visible AI Reasoning (Deep Think)
We made AI decision-making transparent, showing users how Gemini analyzes space, budget, and needs step-by-step — building real trust.
2. True Voice-First Commerce
AR-Bazaar enables a complete hands-free shopping journey, from discovery to checkout, using only voice commands.
3. Production-Ready AR Experience
Delivered true-to-scale AR across iOS, Android, and desktop with one codebase — no mockups, fully functional.
4. Hallucination-Free AI with RAG
Implemented 100% inventory-accurate AI recommendations using Retrieval-Augmented Generation.
5. High Performance, Real Impact
Achieved sub-2-second AI responses and smooth AR even on mobile devices — AI feels instant, not experimental.
What We Learned
1. Prompt Engineering is Engineering
Getting "Deep Think" mode to output structured JSON without breaking required precise system prompts. Treating the LLM as a logic engine is far more powerful than treating it as a chatbot.
2. The Power of Web Standards
Didn't need heavy game engines like Unity. Modern web browser (via WebXR and Web Speech API) is incredibly capable of delivering immersive experiences.
3. Multi-Modal AI Coordination
Orchestrating Voice, Vision, and Text AI simultaneously requires careful state management and event queuing to prevent conflicts.
4. Performance Matters
Sub-2-second response times transform AI from "feature" to "magical experience." Speed is UX.
5. Transparency Builds Trust
Showing AI's reasoning process (Deep Think steps) creates user confidence in recommendations.
What's Next for AR-Bazaar
- AI Shopping Co-Pilot 2.0: Expanding Gemini 3 to not just answer questions but actively manage post-purchase support (e.g., "Schedule a return for this item").
- Social AR Shopping: A "Multiplayer" mode where friends can join a shared AR session to view and discuss furniture placement in real-time.
- Virtual Try-On Expansion: Moving beyond furniture to support accessories, eyewear, and hats using face-tracking AR.
- Eco-Smart Mode: An AI filter that highlights products with sustainable materials and calculates the carbon footprint of the delivery.
Built With
- ar/vr
- aygmented-reality
- bcrypt-encryption
- blender
- computer-vision
- css3
- express.js
- font-awesome
- fontawesome
- framer-motion
- gemini-1.5-pro
- gemini-pro-vision
- github
- glb-format
- google-gemini-3-api
- google-gemini-api
- google-model-viewer
- html5
- javascript
- javascript-es6+
- jwt-authentication
- material-ui-icons
- model-viewer
- natural-language-processing
- netlify
- node.js-20+
- progressive-web-app
- react
- react-icons
- react-router
- react-router-6
- tensorflow
- three.js
- usdz-format
- virtual-reality
- vite
- web-speech-api
- webpack
- webxr
- webxr-device-api
Log in or sign up for Devpost to join the conversation.