// your docs as a directory your agent can read

Your docs,
agent ready.

Distill your docs into a markdown tree your coding agent can intuitively cat and grep. Use this same digest to add a ⌘K overlay that searches your docs site. No need to pay by the token.

Read the docs
A stack of documentation pages distilled into a directory tree of markdown section files on warm paper, read two equal ways: an orange ⌘K beam for readers and an `ask` terminal running tree, cat, and grep for agents — both unfolding the same section, anchored at #api/endpoints/create.
  1. build the digest
    // offline — distils your markdown into the .hev-ask/ tree
    ask digest build
  2. add the overlay
    // any layout — the Astro integration, or one script elsewhere
    <SearchOverlay />
  3. optional — single-turn Q&A
    // add a key to stream a grounded answer on Enter
    ANTHROPIC_API_KEY=sk-…

That's the whole setup, the same on any framework — this site runs on it. Keyword search needs no API key; add one only for single-turn Q&A. Quick start →

// and for their agents

  1. install the CLI — no config
    go install github.com/hev/ask/cmd/ask@latest
  2. browse any hev-ask site as a directory
    ask --endpoint https://yourdocs.com/api/ask tree
    ask --endpoint https://yourdocs.com/api/ask cat overview/quick-start

Your docs become a directory any agent can navigate: tree the map, cat a section, grep for a string — every read keyless, every citation a CI-verified anchor. Or wire up MCP: one tool hydrates the whole tree to disk and the agent reads it with the file tools it already has. CLI reference →

// show, don't tell See what the agent sees → The ask digest for this site, rendered — the tree of distilled section files, with the summaries and verbatim facts your agent reads. Committed, per-section, reviewable.

how it works tradeoffs limits source

// the pitch, second

ask is free and open source, built by hev mind — Adam Hevenor's search engineering practice. If you want to go deeper than your docs — training your team on agent-ready design, hands-on search engineering, or taking a retrieval workload to production:

esc