v1.0 — Now Live

Add an AI Brain
to Any Website

Drop in a single script tag. Get a RAG-powered AI assistant that knows your docs, answers questions, and delights your users — in under 2 minutes.

~19KB
Gzipped bundle
5
AI providers
<2min
Integration time
0
Dependencies
OpenAI Google Gemini Anthropic Claude DeepSeek Ollama

Everything You Need, Nothing You Don't

A production-grade AI widget built for real products. Not a toy, not a demo — the real thing.

🧠

RAG-Powered Answers

Train on your docs, PDFs, and knowledge base. Answers are grounded in your data with source citations and relevance scores.

SSE Streaming

Real-time token streaming with a typing cursor. Your users see answers appear word-by-word, just like ChatGPT.

🌐

Multi-Provider

Route to OpenAI, Gemini, Claude, DeepSeek, or your own Ollama instance. Switch models without changing a line of code.

🎨

Fully Themeable

Colors, position, offsets, icons, titles — everything is configurable. Match your brand perfectly with zero CSS overrides.

🔒

Shadow DOM Isolation

Styles never leak in or out. Works on any page — WordPress, Shopify, React, vanilla HTML — without conflicts.

📸

Page-Aware Assistant

Optionally captures screenshots and reads page context. The AI can see what your user sees and guide them through actions.

🔑

BYOK Support

Bring Your Own Key. Organizations can use their own AI provider API keys. Encrypted at rest with Fernet.

📊

Usage Analytics

Track requests, tokens, latency, and costs per subscription. Built-in rate limiting and token budgets.

📦

Tiny Footprint

~19KB gzipped. Built with Preact, compiled to a single IIFE file. No framework dependency. Just one script tag.

Two Tags.
That's It.

Set your config, load the script. The widget auto-mounts, auto-authenticates, and starts answering questions. No build step, no npm install, no React required.

Position it anywhere with offsetX and offsetY to avoid collisions with other widgets on the page.

Get Your API Key
index.html
<script>
  window.AstramAI = {
    apiKey: "YOUR_API_KEY",
    baseUrl: "https://hysis.net",
    theme: {
      primaryColor: "#2563EB",
      position: "bottom-right",
      offsetX: 24,  // horizontal px
      offsetY: 24,  // vertical px
      title: "AI Assistant",
    },
  };
</script>
<script src="https://hysis.net/widget/latest/widget.js"></script>

Try It Right Now

Use these test API keys to see the widget in action. The chat button in the bottom-right corner of this page is a live demo. Click a key to copy it.

Enterprise
AS_PU8WmiJOro72yQwtUOI2Mhcd133ozGa4
  • Full model access
  • RAG collections
  • Page-aware assistant
  • Unlimited tokens
Pro
AC_8IrEKlrM0TRUe7G5kgMpLWEY4ZOaNrKP
  • Multi-provider access
  • RAG collections
  • Usage analytics
Free
GI_3o0I7QeGb7ZfHNhkyF8Uxcex2qiCJRbj
  • Single provider
  • Rate limited
  • Basic chat

Ready to Ship?

Log in to the admin dashboard to create organizations, manage subscriptions, train RAG collections, and generate API keys.