---
title: Visibility audience
description: W4b fixture — web vs agents audience gate (author-shaped).
---

## Overview

This guide exercises the closed-dialect `:::visibility` audience gate end-to-end.

Agent surfaces receive this unwrapped: W4B1_AGENTS_CANARY_SECRET_TOKEN.

Agent content after the nested container survives: W4B1_AGENTS_TAIL_CANARY.

:::visibility{for="agents" extra="smuggled"}
Invalid attributes stay inert rather than gaining audience semantics: W4B1_INVALID_ATTR_CANARY.
:::

The gate below is deliberately written in its other authored form — a `[label]`
and a leading space. remark resolves both, so every machine surface must too;
a stricter scanner here is exactly how a gated body reaches the `.md` mirror
while the browser shows nothing.

Shared prose after the gates remains on every surface.

## Related pages

- [/](../index.md)
- [/guides/blocks-showcase](./blocks-showcase.md)
- [/guides/copy-page-off](./copy-page-off.md)
- [/guides/frame-block](./frame-block.md)
- [/guides/getting-started](./getting-started.md)
- [/guides/no-page-title-toc](./no-page-title-toc.md)
- [/guides/prompt-block](./prompt-block.md)
- [/guides/recipe-in-guide](./recipe-in-guide.md)
- [/guides/single-entry-toc](./single-entry-toc.md)

# Agent Instructions

This portal answers questions programmatically. To receive a synthesized,
source-cited answer instead of crawling page by page, append the `?ask=`
query parameter to any page URL on this site:

    /guides/quickstart?ask=how+do+I+authenticate

Optional parameters:

- `&goal=<what-you-are-trying-to-do>` steers the answer toward your
  objective (e.g. `&goal=write+a+python+client`).
- `&version=<label>` scopes the answer to a mounted version when the
  portal publishes more than one.

The response is `text/markdown`: the answer followed by a `# Sources` list
of the portal pages it was grounded in. Status codes are the contract:

- `200` — the answer; `402` — the portal owner’s plan or answer credits are
  exhausted (surface this to your operator; do NOT retry); `429` — you are
  rate-limited; back off for the `Retry-After` seconds; `503` — the answer
  lane is temporarily unavailable; fall back to crawling the `.md` pages.

For the full corpus map read `llms.txt` at the site root; for the tool
surface (search + page fetch as MCP tools) see `/mcp`.
