integration

AI Agents for VitePress

Add a team of AI agents to your VitePress site — a support agent grounded in your docs that answers with cited sources and can reach your tools via MCP, asking before it changes anything. VitePress makes embedding trivial through its config head.

Add a team of AI agents to your VitePress site — a support agent grounded in your docs that answers with cited sources and can reach your tools via MCP, asking before it changes anything. VitePress makes embedding trivial through its config head.

What your readers get

A reader who can't find something gets an instant, cited answer pulled from your own documentation rather than a generic guess. Behind the widget, AIML.chat runs a Support agent grounded in your content and tool-calling agents that act through the Model Context Protocol (MCP), with human write-confirm on anything that changes data. Every answer links back to the exact page, so trust stays high, and the analytics reveal the questions your docs don't yet answer.

Add it in three steps

  1. 1Create a website in AIML.chat and point the crawler at your docs URL (or connect the GitHub repo your Markdown lives in). It indexes and embeds every page automatically.
  2. 2Add the script to .vitepress/config.ts via the head option — VitePress supports script tags with custom attributes, e.g. head: [['script', { src, async: '', 'data-api-key': '…' }]].
  3. 3Build and deploy. The widget appears site-wide, themed to match, and stays current as you re-crawl.

Because the widget is vanilla JS under 30KB gzipped, it won't slow your Vite build or clash with your theme. As your docs change, a re-crawl — manual, scheduled, or via the GitHub Action on every push — keeps answers accurate. For other doc tools, see the MkDocs and Docusaurus guides.

Do I need a VitePress plugin?+

No. Add the script through the head option in .vitepress/config.ts — VitePress supports custom attributes, so no plugin is needed.

Will it stay in sync as my docs change?+

Yes. Re-crawl on demand, on a schedule, or automatically on every push with the GitHub Action.

Is there a free plan?+

Yes — 100 messages a month and one website on the free tier. See pricing for higher limits.

Add AI chat to your site

Free plan · No credit card · 5 minutes