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)

The core idea is simplicity: no setup, no code, no backend installation โ€” just paste a script and you're live.

Image

๐Ÿ› ๏ธ 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_agent processes the form and outputs an embeddable script tag
  • /agent.js dynamically 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.js in the static folder instead of templates, 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_template in 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

Share this project:

Updates