vnd. prefix.
The canonical hosted copy of this spec is at https://www.mnemom.ai/spec/agent-preview/v1/ (this docs page mirrors it).
Why
Pasting a URL in chat already produces a rich human preview (the OG image). For agents, the equivalent today is “fetch HTML, parse it, hope the meta tags are present and consistent.” That’s expensive and brittle.agent-preview/v1 is the structured sibling — a one-fetch typed summary so agents previewing a link can decide whether to dig deeper before reading the full page or the markdown mirror.
How discovery works
Every prerendered URL on a compliant site exposes a sibling preview manifest at<url>.preview.json (root: /index.preview.json). The HTML page advertises it via <link rel="alternate"> in <head>. Crawlers and humans ignore the unknown MIME; aware agents follow it.
MIME type
Schema (v1.0)
The manifest is a single JSON object. Required keys are below; consumers MUST tolerate additional keys and unknowntype values (treat unknowns as reference).
Required fields
type taxonomy
representations
context
Type-specific fields. All optional. Examples:
Consumers MUST ignore unknown context fields and MUST NOT fail if
context is {}.
publisher
readiness_manifest URL SHOULD return a public document describing the site’s agent-readability commitments. For Mnemom this is the page rendered from agent-readiness.yaml.
Versioning
Future schema changes go to v2 with a new MIME (application/vnd.agent-preview+json; version=2) and a new spec URL (/spec/agent-preview/v2). v1 stays frozen at its URL forever. Consumers can pin to spec_url + spec_version for stable behavior. Within v1, the schema is append-only: new optional fields can be added; existing field names and semantics MUST NOT change.
Adopting on your site
If you publish marketing or content URLs that agents might encounter:-
Generate a
<url>.preview.jsonsibling at build time for every public URL. Walk your prerendered HTML, extract title / description / canonical / og:image, classify the type, write the manifest. (For a reference implementation in TypeScript/Node, see Mnemom’sscripts/build-preview-cards.mjs.) -
Emit the
<link rel="alternate">in every page’s<head>: -
Serve the file with the right Content-Type (
application/vnd.agent-preview+jsonis preferred;application/jsonis acceptable for CDNs that strip vendor MIMEs). - Write a verifier that validates your manifests against the v1 schema and runs in CI. Mnemom’s verifier is Apache 2.0.
-
Cross-reference from your
/agents.txt:
Compliance + reference implementation
Mnemom verifies the surface nightly. The live status is at https://www.mnemom.ai/agent-readiness-status.json (preview-surface commitment). The public commitment renders on /for-agents.
The reference implementation is open source under Apache 2.0:
- Build-time generator: scripts/build-preview-cards.mjs
- Verifier: scripts/verify/preview-surface.ts
- TypeScript types: client/lib/preview-types.ts
- Discovery emitter: client/lib/route-meta.ts