Skip to Content
Introduction

GuideKit

Embed an AI guide that truly understands your website

GuideKit is an embeddable React/Next.js SDK that gives your app an AI assistant capable of:

  • Understanding your site’s structure, content, and navigation automatically
  • Conversing via voice or text — answers questions, explains sections, guides users
  • Visually guiding — spotlights elements, scrolls to sections, shows tooltips
  • Navigating — routes users to different pages within your SPA
  • Custom actions — add-to-cart, submit forms, or any developer-defined operation

Quick Start

npm install @guidekit/core @guidekit/react @guidekit/server npx @guidekit/cli init

init scaffolds proxy-mode routes (/api/guidekit/token, /api/guidekit/llm, /api/guidekit/health), a provider component, and .env.local placeholders. Add GUIDEKIT_SECRET and LLM_API_KEY, then wrap your layout:

// app/layout.tsx import { Providers } from './providers'; export default function Layout({ children }) { return ( <html lang="en"> <body> <Providers>{children}</Providers> </body> </html> ); }

GuideKit auto-discovers your site, builds a page model, and provides an AI assistant ready to help users. See Getting Started for the full proxy setup.

Packages

PackageVersionAudienceWhat it isStatus
@guidekit/core1.0.0Every integrationDOM scanner, orchestration, voice pipeline, visual guidance primitivesCore
@guidekit/react1.0.0React / Next.js appsProvider, hooks, Shadow DOM widgetCore
@guidekit/server1.0.0Backend token endpointsJWT token generation and session helpersCore
@guidekit/vanilla1.0.0Non-React appsIIFE bundle and framework-agnostic browser integrationStable optional
@guidekit/cli1.0.0Local setup and contributorsCLI tools for init, doctor, secrets, and parity diagnosticsOptional DX
@guidekit/vad0.1.1Voice experiencesSilero VAD model and helpersOptional voice
@guidekit/intelligence1.0.0Advanced guide reasoningSemantic page intelligence engineAdvanced optional
@guidekit/knowledge1.0.0Retrieval-augmented guidanceKnowledge search and indexing utilitiesAdvanced optional
@guidekit/plugins1.0.0Extension authorsPlugin system and extension hooksAdvanced optional

Tier A packages (core, react, server, vanilla) ship together on breaking changes. Tier B optional packages require @guidekit/core@^1.0.0.

Key Features

Text-First, Voice-Enhanced

The SDK works in text-only mode out of the box. Voice is an enhancement layer — no microphone required for core functionality.

Token-Based Security

API keys never reach the browser. The @guidekit/server package generates short-lived JWT tokens, and provider keys stay server-side.

DOM Intelligence

GuideKit’s TreeWalker-based scanner builds a compact PageModel that the LLM uses to understand page structure, sections, forms, and navigation — all without manual configuration.

Developer Extensibility

Register custom actions, provide content maps to prevent hallucination, set page context, and hook into every event via the typed EventBus.

Source

Browse the monorepo on GitHub .

Last updated on