Add a team of AI agents to your Astro Starlight docs — a support agent grounded in your content that answers with cited sources and can reach your tools via MCP, asking before it changes anything. Starlight's Astro config makes embedding clean.
What your readers get
A reader who's stuck gets an instant, cited answer pulled from your own Starlight pages 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 to the exact page, and the analytics surface the questions your docs don't yet answer. It also captures a lead when it can't fully answer, so you never lose a visitor — and you can adopt its generated FAQ suggestions as starter prompts that greet readers the moment the widget opens.
Add it in three steps
- 1Create a website in AIML.chat and point the crawler at your docs URL (or connect the GitHub repo your content lives in). It indexes every page automatically.
- 2Add the embed via Astro's
headconfiguration in the Starlight integration options (atag: 'script'entry with the widget attributes), or a custom head component. - 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 Astro build or fight Starlight's 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 VitePress and Astro guides.
How do I embed it in Starlight?+
Add a script entry via Astro's head config in the Starlight options, or use a custom head component — no plugin 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.