KeRn AI Copilot
KeRn AI Copilot – Intelligent AI Assistant & Shopping Copilot for Bagisto
The KeRn AI Copilot is a state-of-the-art, vendor-neutral conversational AI assistant designed natively for Bagisto. It empowers your ecommerce store with autonomous sales guidance, instant customer support, smart catalog discovery, and vector-powered knowledge search.
Unlike simple third-party chat widgets or generic bots that only regurgitate static FAQs, KeRn AI Copilot connects directly to Bagisto’s database, cart system, customer accounts, and official B2B Suite via secure, real-time function calling and Retrieval-Augmented Generation (RAG).
Key Features
Storefront AI Sales Assistant & Chatbot
Transform passive storefront visitors into buyers with an interactive shopping advisor:
- Natural Language Shopping: Understands customer intent, advises on product specifications, and answers pre-sales questions in real time.
- Rich Product Cards: Renders clean, visual product cards directly in the chat with title, thumbnail, price, availability, and instant navigation links.
- Cart & Availability Actions: Allows shoppers to check current stock and initiate add-to-cart actions directly from conversational prompts.
- Customer Self-Service: Authenticated customers can view recent orders, inspect order items, check shipping/delivery status, and initiate one-click reorders.
- Photo Attachment Support: Customers can upload images to ask questions about specific parts, labels, or matching items.
- Real-Time Streaming: Smooth Server-Sent Events (SSE) token streaming provides an instant, responsive chat experience.
- Custom Appearance: Fully customizable floating widget with brand colors, customizable avatar, greeting messages, suggested starter chips, and positioning (left or right).
Semantic Knowledge Base & RAG Vector Search
Turn your store data and documentation into an authoritative AI knowledge engine:
- Hybrid & Vector Search: Combines keyword search with dense vector embeddings for semantic question answering.
- Flexible Vector Storage: Built-in support for MySQL Native Vector Search (no external database required), Milvus, and Weaviate.
- Diverse Knowledge Sources: Index product catalogs, CMS pages, FAQ free text, raw PDF/Word documents, individual web pages, XML sitemaps, and full website crawls.
- Automated Chunking & Synchronization: Automatically splits long documents into optimized paragraphs and re-indexes on a configurable schedule.
- Role-Based Knowledge Access: Control whether confidential documentation is visible to Guests, Logged-in Customers, or Technicians.
B2B Suite Integration & Quoting
Full out-of-the-box compatibility with the official Webkul Bagisto B2B Suite:
- Request a Quote: Customers can assemble multi-item B2B quote requests directly within the chat conversation.
- My Quotes Tool: B2B buyers can check open quotations, expiration dates, negotiated totals, and statuses.
- Strict Tenant Isolation: Cross-tenant quote guards ensure company buyers only access quotes belonging to their assigned company or customer account.
Zero-Code Tool Extensibility (Plugin Discovery)
Need custom capabilities? KeRn AI Copilot features a modular plugin discovery engine:
- Automatic Discovery: Automatically scans loaded Bagisto packages for tools in src/ShopAgent/Tools/*.php or app/ShopAgent/Tools/*.php.
- Container Tag Registration: Register custom tool classes via standard Laravel container tags (app()->tag([...], 'shop-agent.tools')).
- Safe Sandboxing: Newly discovered extension tools default to disabled until explicitly reviewed and enabled by the store administrator.
Multi-Provider & Vendor Neutrality
Never be locked into a single AI vendor. Switch or combine industry-leading LLMs at will:
- OpenAI: GPT-4o, GPT-4o-mini, o1, o3-mini
- Anthropic: Claude 3.5 Sonnet, Claude 3.5 Haiku
- Google: Gemini 1.5 Pro, Gemini 2.0 Flash
- DeepSeek: DeepSeek-V3, DeepSeek-R1
- Groq: Ultra-low latency Llama-3 inference
- Ollama: Self-hosted, 100% private local open-source models
- Azure OpenAI & Custom Compatible Endpoints: Full support for private enterprise endpoints and OpenAI-compatible gateways.
- Automatic Failover: Configurable fallback providers ensure your chat stays online even during upstream API outages.
Enterprise Cost Control & Budget Guard
Keep AI operational costs predictable and transparent:
- Hard Budget Caps: Set monthly and daily USD budget limits with automatic, graceful degradation when limits are reached.
- Detailed Token Tracking: Monitor prompt tokens, completion tokens, cached input tokens, and cache writes for every turn.
- Model Pricing Table: Configurable pricing per million tokens ensures exact cost tracking down to four decimal places.
- Interactive Playground: Test agents, evaluate prompt changes, simulate customer permission levels, and inspect tool executions without polluting customer logs.
Security, Privacy & GDPR Ready
Built from the ground up to respect enterprise privacy and European data protection standards:
- Built-In Consent Mode: Configurable opt-in privacy consent banner with customizable merchant policy text before initiating AI provider requests.
- Data Sanitization & Secret Masking: Automatically strips API keys, Authorization headers, and sensitive credentials from logs and error messages.
- ReDoS Protection: Safe regex engine ensures user input never causes regular expression denial-of-service hanging.
- Multi-Channel & Embed Support: Host the assistant on your Bagisto storefront, external authorized web domains via secure HMAC identity tokens, or headless mobile apps via scoped REST API tokens.
Comparison
Feature / CapabilityKeRn AI CopilotBasic Chatbots & Simple Add-onsLive Storefront AI Chatbot (SSE Streaming)✓Partial (Non-streaming)Direct Bagisto Catalog & Inventory Search✓–Instant Visual Product Cards with Add-to-Cart✓–Customer Order Tracking & 1-Click Reorder✓–Semantic Knowledge Base (RAG)✓–Native MySQL, Milvus & Weaviate Vector Support✓–Bagisto B2B Suite Quote Integration✓–Third-Party Plugin Auto-Discovery (Tools API)✓–Multi-Provider (OpenAI, Claude, Gemini, DeepSeek, Groq, Ollama)✓Single-ProviderHard Daily & Monthly Cost Budget Caps✓–Detailed Token Analytics & Daily Cost Charts✓–GDPR Consent Mode & Credential Scrubbing✓–Interactive Admin Playground (Level Simulation)✓–Customer Photo / Image Attachment Support✓–22 Complete Native Locales (incl. RTL)✓English Only
Complete Multilingual Support
Both the storefront chat assistant and the administration dashboard are fully localized in 22 languages, complete with RTL (Right-to-Left) script layout:
English, German, French, Spanish, Italian, Dutch, Portuguese (Brazil), Polish, Romanian, Russian, Ukrainian, Turkish, Arabic (RTL), Persian (RTL), Hebrew (RTL), Hindi, Bengali, Sinhala, Indonesian, Japanese, Chinese (Simplified), and Catalan.
Requirements
- Bagisto: v2.2.x, v2.3.x, v2.4.x
- Laravel: 10.x, 11.x, 12.x
- PHP: >= 8.2 (compatible with PHP 8.2, 8.3, and 8.4)
- PHP Extensions: cURL, OpenSSL, MBString, PDO, JSON, Fileinfo, GD
- Database: MySQL 8.0+ or MariaDB 10.5+
Installation & Documentation
- Full User & Integration Guide: https://ai.kern-ws.com/support-guide.html
- Direct Developer Support: support@kern-ws.com
- Standard Bagisto Installation: Modular extension installed directly via Bagisto package standards with zero core modifications.
Why Choose KeRn AI Copilot?
Bagisto provides an exceptional open-source ecommerce foundation. KeRn AI Copilot turns it into an autonomous, 24/7 intelligent sales and support engine.
Reduce customer support tickets, guide shoppers to the right products in seconds, and maintain total control over your AI budgets and customer data privacy.
Smarter shopping. Lower support overhead. Real conversions.