Embeddable Claude AI Chat on Any Website With Zero Monthly Widget Fees: Introducing Flux Bots v1.0

Meet Flux Bots v1.0—a self-hosted embeddable AI chat widget powered by Claude with shadow-DOM isolation, streaming responses, knowledge-base citations, and multi-bot PHP relay controls for a one-time $39 license.

Adding an AI chat assistant to your site usually means signing up for another hosted widget SaaS that charges per message, per seat, or per bot—while holding your prompts and knowledge bases on third-party servers.

Today, we're launching Flux Bots (v1.0.0)—a self-hosted, embeddable AI chat widget powered by Claude that runs on your own server for a one-time license of $39, with zero monthly widget subscriptions and support for running multiple bots (such as a store assistant and a developer assistant) from a single PHP relay.

Shadow-DOM Widget & Server-Free Demo Mode

Drop a single script tag onto any page to launch a clean, self-contained chat experience:

  • Isolated Shadow-DOM Styling: flux-bots.js (exposing the FluxBots global with a backward-compatible ClaudeWidget alias) renders inside a shadow DOM so host page styles don't clash with the widget.

  • Streaming Replies, Citations & Controls: Streams responses with source citations, tab-scoped chat history, configurable attributes (data-subtitle, data-position, data-open, data-placeholder, data-accent, data-greeting, data-suggestions), JavaScript methods (open, close, reset), and server-free demo mode (FLUX_BOTS_DEMO_KB / CLAUDE_WIDGET_DEMO_KB).

Multi-Bot PHP Relay, Knowledge Bases & Guardrails

Keep your credentials and bot instructions safely server-side inside flux-bots-relay.php:

  • Centralized Keys & Knowledge Bases: Stores your Anthropic API key (or Flux AI Gateway token), system prompts, model selections, and JSON knowledge bases ({ title, text, url }, chunked at blank lines) on the server while streaming SSE events including kb_sources.

  • Built-In Protections: Enforces per-bot allowed origins, per-IP rate limits, message count and length caps, and prompt caching.

Simple PHP 8.1+ Relay Setup

Flux Bots requires PHP 8.1+ with cURL on your web host for the relay and needs no database—and existing claude-widget.js and claude-bot-relay.php setups continue to work seamlessly.

Previous
Previous

Flux Bundle 3.15 Reaches 53 Self-Hosted Apps in One Download (Now Including Bitcoin Signer & Flux Bots)

Next
Next

Bitcoin PSBT Signing in One Offline Web Page: Introducing Bitcoin Signer v1.0