ZeroAgent ๐ง
Embed AI Sales Agents into Your Website Instantly
๐ก Inspiration
In the world of e-commerce, having real-time, intelligent customer interaction is no longer a luxury โ it's a necessity. Big brands use AI-powered chatbots to guide users, improve engagement, and drive sales.
But what about small to medium businesses on Wix or Shopify who lack the technical resources or budget to integrate such tools?
We wanted to democratize AI agents โ allowing anyone, even without technical knowledge, to simply paste a script and get a fully functional, store-aware AI assistant on their site.
๐ What it does
ZeroAgent is a web platform that lets users:
- ๐ Submit a Store URL (from Wix or Shopify)
- ๐ง Generates a unique embeddable script tailored to their store
- ๐ฌ Displays a chatbot widget on their site that can:
- Greet users
- Assist in navigation
- Suggest products
- Answer simple questions (in future versions, using LLMs or Salesforce Einstein bots)
- Greet users
The core idea is simplicity: no setup, no code, no backend installation โ just paste a script and you're live.
๐ ๏ธ How we built it
๐ Backend
- Python + Flask to handle routing and render dynamic JavaScript files
/route serves the homepage with a form to collect the store URL/create_agentprocesses the form and outputs an embeddable script tag/agent.jsdynamically renders a JS file using Jinja2 templating, inserting the store-specific URL
๐จ Frontend
- Static HTML & embedded script snippet for users
- A JavaScript agent (
agent_template.js) that can be styled or extended with chat UI or API hooks
๐ Deployment
- Hosted on Render with a Gunicorn server
- Uses a simple folder structure:
๐ง Future AI Integration
- Salesforce Einstein Bot (already created by the user)
- OpenAI / LangChain integration for customizable agent personalities
๐ง Challenges we ran into
- โ๏ธ Dynamic script generation: Serving a JS file through Flask that can take dynamic parameters required correct MIME types and Jinja usage.
- ๐ Cross-origin embedding: Ensuring the JS can be loaded and executed safely on third-party sites.
- ๐ Security: Making sure the generated JS can't be misused or altered by others.
- ๐งฑ Static vs template folders: Initially placed
agent_template.jsin the static folder instead oftemplates, causing 500 server errors.
๐ Accomplishments that we're proud of
- ๐ง Built a fully functioning agent creation engine with just a few lines of code.
- ๐ง Implemented dynamic script rendering โ a pattern that can scale across many tools.
- ๐ฆ Successfully deployed on Render with live URLs and script delivery.
- ๐งช Integrated the capability to embed in both Wix and Shopify environments seamlessly.
๐ What we learned
- ๐งฉ The importance of proper Flask templating and file organization
- ๐ง How to serve JavaScript dynamically using
render_templatein Flask - ๐ How embedding external scripts into CMS-based websites like Wix and Shopify works
- ๐ Security best practices around dynamic JS delivery
- ๐งต Future potential of combining GenAI with practical SaaS tools
๐ฎ What's next for ZeroAgent
- ๐ค Integrate LLMs / LangChain to allow agents to actually converse using AI
- ๐ผ Custom training per store: Pull data from store inventory, FAQs, and order history
- ๐ฌ UI Enhancements: Add avatars, themes, and drag-and-drop positioning
- ๐ Analytics Dashboard: View how many users interacted, what questions were asked, etc.
- ๐ OAuth or API-based store verification before embedding
- ๐ช One-click publish to Shopify/Wix using their APIs
Built With
- flask
- python
- render
- salesforce
- wix
Log in or sign up for Devpost to join the conversation.