A Chrome extension for voice-driven autonomous shopping, powered by heyhaigh.ai.
Zero-click commerce: Browse and purchase products using only your voice. No buttons, no forms, no friction.
- Search for products on heyhaigh.ai using voice
- Tell rybot which product you want (including size, color, etc.)
- rybot handles the entire purchase flow autonomously
- Payment via Stripe virtual cards (Privy crypto coming soon)
-
Clone this repository:
git clone https://github.com/heyhaigh/ai-browser-plugin.git cd ai-browser-plugin -
Open Chrome and navigate to
chrome://extensions/ -
Enable "Developer mode" (toggle in top-right)
-
Click "Load unpacked" and select this directory
-
The rybot icon should appear in your extensions bar
- Click the rybot icon to open the popup
- Go to the Profile tab and enter your shipping details
- Go to the Payment tab and enter your Stripe virtual card info
- Visit heyhaigh.ai and start shopping with voice!
┌─────────────────┐ postMessage ┌─────────────────┐
│ heyhaigh.ai │ ──────────────────► │ Content Script │
│ (Voice UI) │ │ (heyhaigh.js) │
└─────────────────┘ └────────┬────────┘
│
chrome.runtime
│
┌────────▼────────┐
│ Background │
│ Service Worker │
└────────┬────────┘
│
chrome.tabs
│
┌─────────────────┐ ┌────────▼────────┐
│ Merchant Site │ ◄────────────────── │ Content Script │
│ (Amazon, etc.) │ DOM/Events │ (merchants.js) │
└─────────────────┘ └─────────────────┘
- Intent Capture: Voice command on heyhaigh.ai triggers purchase intent
- Handoff: Website sends product data to extension via
postMessage - Navigation: Extension opens product page on merchant site
- Automation: Content script handles add-to-cart, checkout navigation
- Payment: Virtual card details auto-filled at checkout
- Completion: Order confirmation sent back to heyhaigh.ai
- Amazon
- Target
- Walmart
- Best Buy
- eBay
More coming soon!
For testing, use Stripe test card numbers:
- Card:
4242 4242 4242 4242 - Expiry: Any future date
- CVC: Any 3 digits
For production, integrate with Stripe Issuing to create virtual cards programmatically.
Connect your crypto wallet via Privy for:
- Embedded wallet payments
- Fiat on-ramp
- Multi-chain support
To trigger purchases from your website, send a message to the extension:
// Check if extension is installed
window.postMessage({ type: 'RYBOT_CHECK_EXTENSION' }, '*');
// Listen for response
window.addEventListener('message', (event) => {
if (event.data.type === 'RYBOT_EXTENSION_PRESENT') {
console.log('rybot extension v' + event.data.version + ' is installed');
}
});
// Trigger a purchase
window.postMessage({
type: 'RYBOT_PURCHASE_INTENT',
data: {
name: 'Product Name',
url: 'https://amazon.com/dp/...',
price: 29.99,
size: 'M',
color: 'Black',
quantity: 1
}
}, '*');ai-browser-plugin/
├── manifest.json # Extension manifest (V3)
├── background.js # Service worker - orchestration
├── content-heyhaigh.js # Content script for heyhaigh.ai
├── content-merchants.js # Content script for merchant sites
├── popup.html # Extension popup UI
├── popup.js # Popup logic
└── icons/ # Extension icons
- Load the extension in developer mode
- Open DevTools on heyhaigh.ai (F12)
- Send a test purchase intent from console
- Watch the automation in action
- Virtual card numbers are stored locally in
chrome.storage.local - No data is sent to external servers (except merchant checkouts)
- Use Stripe test keys for development
- Consider using single-use virtual cards for production
- Privy wallet integration
- More merchant support
- Purchase history dashboard
- Price tracking & alerts
- Voice confirmation before purchase
- Multi-item cart support
MIT - Built by Ryan Haigh