Add a fully functional AI assistant to any website with a single script tag. Connect it to your knowledge base and let your visitors get instant, citation-backed answers drawn from your own documents and data.
There is no SDK to configure, no build step to add, and no framework dependency to manage. You paste two small script blocks before your closing </body> tag, and the widget appears on your site immediately. The first block sets your widget key and preferred position. The second loads the runtime from Orckai's CDN.
The widget script is under 40 KB gzipped, loads asynchronously with the defer attribute, and will never block your page render. It works on static HTML sites, WordPress, Shopify, React SPAs, Next.js, and anything else that serves HTML to a browser.
<!-- 1. Configure your widget --> <script> window.ORCHESTRAI_CONFIG = { widgetKey: 'wk_your_widget_key', position: 'bottom-right', apiUrl: 'https://orckai.app/api' }; </script> <!-- 2. Load the runtime --> <script src="https://orckai.app/orchestrai-widget.min.js" defer> </script>
When a visitor asks a question, the widget does not just call an LLM and hope for the best. It runs a full RAG (Retrieval-Augmented Generation) pipeline against your connected knowledge base. Documents are processed, indexed with semantic vector search, and the most relevant passages are provided to the AI alongside the user's question.
Every answer includes inline citations in the format [Source: filename], so your visitors can see exactly which document each claim comes from. This builds trust, reduces hallucination, and gives your support team an audit trail they can verify.
[Source: filename] inline citationsUser: What is your return policy? Widget: Our standard return policy allows returns within 30 days of purchase for a full refund. Items must be in their original packaging and unused condition. For electronics, the return window is 14 days and a restocking fee of 15% may apply. [Source: return-policy-2025.pdf] [Source: electronics-terms.docx]
Every widget is fully customizable to match your brand identity and user experience requirements, without writing any CSS.
Set your brand's primary color, logo, and welcome message directly from the Orckai dashboard. The widget automatically generates complementary hover states and dark/light theme variants so it looks native on any site, whether your background is white, dark, or somewhere in between.
Place the chat bubble in the bottom-left or bottom-right corner of the viewport. The widget is responsive by default and adjusts gracefully on mobile screens, tablets, and desktops. It stays out of the way of your existing UI elements and only expands when the visitor clicks.
Define prompt templates to guide conversations in a specific direction. For example, you can configure the widget to always greet visitors with product-specific context, enforce a particular tone, or restrict answers to topics covered by your knowledge base. Templates are managed in the dashboard and update instantly.
Every widget interaction is authenticated, scoped, and auditable. Your data stays protected from the first request to the last.
Each widget is issued a unique API key with the wk_ prefix. Keys are SHA-256 hashed at rest and validated on every request. If a key is compromised, you can rotate it from the dashboard in seconds without touching your embed code. Old keys are invalidated immediately.
Each widget is scoped to a specific knowledge base and prompt template. It cannot access data outside its assigned scope, even if someone reverse-engineers the API key. Organization-level row isolation in PostgreSQL ensures that widget requests never leak data across tenants.
When a citation references a source document, visitors can download it directly through the widget interface. Downloads are authenticated through the same API key and are served from organization-scoped storage paths, so there is no way to access files belonging to another organization.
The Orckai widget is already powering AI assistants across customer support, internal operations, and product documentation.
Upload your help center articles, FAQs, and policy documents into a knowledge base. The widget answers common questions instantly, reducing ticket volume and giving your support team time to focus on complex issues. Every answer cites the source, so customers trust what they read.
Embed the widget on your company intranet or internal tools portal. Connect it to HR policies, engineering runbooks, onboarding guides, and operational playbooks. New hires find answers on day one instead of searching through Confluence. The citation trail means they always know which document to reference.
Place the widget alongside your product docs. When users search for a feature, the AI surfaces the relevant guide sections with direct citations. It handles follow-up questions with full conversation context, so users get a guided experience instead of bouncing between search results.