// search for astro docs sites

The AI search cheat code
for your docs.

A ⌘K overlay for Astro, built on an ask digest — a token-efficient distillation of your docs, read progressively by agents and searched instantly by readers.

Read the docs
A stack of documentation pages distilled into a compact digest.json index card on warm paper; an orange ⌘K beam reads it progressively — skims the index, lifts one summary line, and unfolds it into a full section anchored at #api/endpoints/create.
  1. install
    pnpm add @hev/ask
  2. register the integration
    // astro.config.mjs
    integrations: [hevAsk({ collections: ["docs"] })]
  3. drop in the overlay
    // any layout
    <SearchOverlay />

That's the whole integration. This site runs on it — keyword search needs no API key. Full quick start →

// show, don't tell See what the agent sees → The rendered ask digest for this site — the distilled summaries and verbatim facts Claude reasons over. Injected, committed, reviewable.

how it works tradeoffs limits source

esc