YuktaiDocs v5.3.12

Home

YuktAI, documented and running live

YuktAI is an open-source toolkit for accessible, AI-assisted web apps: an accessibility widget, a data grid you can talk to, page Q&A, agents, icons and optional Rust engines. Use it in Next.js / React or in plain HTML with one script tag. Everything on this site runs in your browser, with no API keys and no server.

Live status

What is running on this page

  • YuktAI 5.3.12
  • Latest on npm: checking…

Loading YuktAI…

The ♿ and 🛠 buttons at the bottom left are YuktAI itself, and Ask in the top bar answers questions about these docs. Try them on any page.

1. Install

Choose your stack once; every code block on this site follows your choice. Python (Django, Flask, FastAPI) and PHP (Laravel, WordPress) have their own pages.

Terminal
npm install @yuktishaalaa/yuktai@5.3.9

2. First use in two minutes

app/YuktaiClient.tsx
"use client"
// YuktAI's components use browser APIs, so they live in a client component.
import { YuktAIWrapper } from "@yuktishaalaa/yuktai"
import type { ReactNode } from "react"

export default function YuktaiClient({ children }: { children: ReactNode }) {
  return (
    <YuktAIWrapper position="left" launcher showAccessibility showRag engine="rust">
      {children}
    </YuktAIWrapper>
  )
}
app/layout.tsx
import type { ReactNode } from "react"
import YuktaiClient from "./YuktaiClient"

export default function RootLayout({ children }: { children: ReactNode }) {
  return (
    <html lang="en">
      <body>
        <YuktaiClient>{children}</YuktaiClient>
      </body>
    </html>
  )
}

3. Pick what you need

How YuktAI works

One codebase, two ways in

The npm package gives React components (YuktaiGrid, AgenticPanel, YuktAIWrapper, 163 icon components). The vanilla build is the same core code bundled into one script that adds window.yuktai. A question gets the same answer in both.

Private by design

Accessibility fixes, grid questions, page search, audits and the Rust engines all run in the visitor's browser. Nothing is sent to a server, and there is no telemetry.

Indic languages

Telugu grid UI and messages (locale: "te-IN"), Telugu-aware search tokens, Telugu custom rules for the assistant, and Telugu voice input where the browser supports it.

Rust by default

Since 5.3.11, grid search/sort and page RAG run in Rust (WebAssembly) by default; engine: "ts" keeps TypeScript only. The WebAssembly is embedded in the script, so there is nothing extra to host, and TypeScript takes over with the same results if WebAssembly is not available.

What's new

Latest releases
ReleaseWhat changed
5.3.12Grid AI Assistant colours now meet WCAG AA (header, AI badge, open and send buttons, listening mic: 5:1 or more). The QA report no longer fails disabled controls, which WCAG 1.4.3 exempts.
5.3.11🛠 Page tools in React and Next.js (showPageTools). Rust is the default engine. QA skips YuktAI's own buttons and applies the WCAG 2.5.8 spacing rule. Built with TypeScript 7. No more "output language" warnings from Chrome's built-in AI.

Nothing to change in your code for either release: npm install @yuktishaalaa/yuktai@latest, or 5.3.12 in the script URL. Full history on GitHub (opens in a new tab).

Keeping up with new releases

  1. Try a new release on any page first: add ?v=5.3.11 (any version) to the address. It lasts for this browser tab; ?v=default goes back.
  2. For the whole site, change version in assets/js/config.js and the CACHE name in sw.js, then push. Netlify redeploys in under a minute.
  3. For your apps: npm install @yuktishaalaa/yuktai@latest, pip install -U yuktai, composer update yuktishaalaa/yuktai, or change the version in the script URL.

Honest limits