Let your site answer back.

A drop-in AI chat that has read every page of your site. A few lines on the server, one component in your layout.

Get started
Install for
Something else?
$ pnpm add @chat-aide/sveltekit
Two visitors on a website, one asking its chat how to install, the chat answeringyoursite.dev/docsHow do Iinstall it?One command:pnpm add @chat-aide/sveltekit

Svelte, React, or any server that speaks fetch.

One core underneath: the same crawler, providers, limits and security rules. Every setup needs a server at run time, so static-only sites are out.

  • Svelte, on SvelteKit

    Server
    @chat-aide/sveltekit One line in hooks.server.ts.
    Widget
    @chat-aide/sveltekit Svelte components: shadcn, plain or headless.
    SvelteKit guide
  • React and Next.js

    Server
    @chat-aide/next App Router route handlers.
    Widget
    @chat-aide/react React components: plain theme or headless parts.
    Next.js and React guide
  • Astro, React Router, Hono, Nuxt, Bun

    Server
    @chat-aide/core createAide, on web-standard Request and Response.
    Widget
    @chat-aide/react Where React runs. There is no Vue widget yet.
    Other frameworks guide

They land on any page.

The chat already knows which page they are on.

A visitor walking past three pages of a site, asking the chat a question at each//pricing/docs/care
A map of a site's pages, linked from the home page, with a person inspecting one page//pricing/docs/blog/docs/install/docs/theme/blog/hi

It reads your site like a visitor does.

Nothing to index
It reads the running app. No embeddings, no build step, nothing to commit.
llms.txt for free
The same map is served as /llms.txt and a .md twin of every page.
Costs stay bounded
Per-visitor rate limits and daily token budgets, on by default.

Running in three steps.

  1. 1

    Install the package

    terminal
    pnpm add @chat-aide/sveltekit
  2. 2

    Add the server hook

    src/hooks.server.ts
    import { aide } from '@chat-aide/sveltekit/server';
    import { ANTHROPIC_API_KEY } from '$env/static/private';
    
    export const handle = aide({
    	provider: { name: 'anthropic', apiKey: ANTHROPIC_API_KEY, model: 'claude-haiku-4-5' },
    	origin: 'https://example.com'
    });
  3. 3

    Drop in the widget

    src/routes/+layout.svelte
    <script>
    	import { ChatWidget } from '@chat-aide/sveltekit';
    	let { children } = $props();
    </script>
    
    {@render children()}
    <ChatWidget />

That is the whole install. Read the SvelteKit guide for providers, origin and verification.

On another framework, mount the same server with createAide: other frameworks.

Bring any model.

Every adapter of the AI SDK, called directly with your key.

  • Anthropic
  • OpenAI
  • Google Gemini
  • Mistral
  • Groq
  • xAI
  • DeepSeek
  • Cohere
  • OpenRouter
  • Amazon Bedrock
  • Azure OpenAI
  • Vertex AI
  • Together AI
  • Fireworks
  • DeepInfra
  • Cerebras
  • Perplexity
  • Ollama

Ask it something.

The chat on this page runs on chat-aide and has read all of these docs.

Read the docs
Three people chatting around a large speech bubblehow?oh!