AskAI
Add an AI-assistant launcher tied to markdown/LLM endpoints.
What It Does
AskAi renders an assistant menu that opens external AI tools with contextual prompts linked to your markdown endpoint.
When To Use
- You expose per-page markdown endpoint (
llm.md) and want quick AI handoff.
Prerequisites
- URL to page markdown endpoint.
Important
This page describes the standard kit integration path; adapt app-specific paths and config names when your project differs.
How To Use
import { AskAi } from '@kit/cms/ui/ask-ai';
<AskAi companyName="Acme" url="/docs/my-page/llm.md" />MCP Context
capability: ask_ai_ui
entrypoints:
- @kit/cms/ui/ask-ai
inputs:
- company_name
- markdown_endpoint_url
outputs:
- external_ai_prompt_links
constraints:
- endpoint URL should return markdown/plain text content
side_effects:
- opens third-party AI websitesAgent Recipe
- Ensure markdown endpoint exists for each page.
- Render
AskAiwith endpoint URL. - Test generated links for major assistant targets.
Troubleshooting
- If assistants get poor context, inspect markdown endpoint output quality.
Related
Search
Add searchable Notion content UI and API routes.
Scroll to Top
Floating button to jump to top of long content pages.
How is this guide?
Last updated on 3/23/2026