Universal indexing
Every interactive element on the page gets a numeric id. The agent references elements by id, not CSS selectors — works on any site without per-tenant rules.
LeFlux is a JavaScript widget you drop onto any website. Visitors chat in natural language. The agent reads the page, navigates to where the answer lives, fills forms, opens modals, and answers questions from a knowledge base built by crawling your site.
One <script> tag. Works on plain HTML, React, Next.js, WordPress, Shopify, Webflow, Framer, anything. No framework lock-in, no styling work, no per-page configuration.
Universal indexing
Every interactive element on the page gets a numeric id. The agent references elements by id, not CSS selectors — works on any site without per-tenant rules.
Knowledge base
A built-in crawler walks your site and builds a knowledge graph. The agent answers from crawled content first, navigates only when needed.
Multi-language
Visitor writes in English, Roman Urdu, Hindi, Spanish, Arabic — agent mirrors the language every turn. Detection runs each message, no manual config.
Action execution
Click, type, scroll, navigate, select — five atomic primitives compose into multi-step workflows. SPA-aware (Next.js Link, React Router) so client-side state survives.
Form auto-fill
Detects required fields, asks the visitor for missing values one at a time, then fills + submits in a single atomic sequence. No half-submitted forms.
Three layouts
Floating bubble, bottom-bar pill, dockable side panel — pick per-site from the dashboard. Live theme follows your brand color automatically.
<script src="https://leflux.xrlabs.app/embed.js" async></script>That’s the whole integration. No tokens, no keys, no config. The script auto-detects your site via the browser’s Origin header, fetches the per-tenant config (theme, layout, greeting, allowed hosts), and mounts the widget in a shadow DOM so it can’t collide with your CSS.
Same one line, whatever you built with. We have a guide for each.