# Step 11 — Markdown content negotiation

Agents that send Accept: text/markdown should get clean Markdown; browsers asking for text/html keep the page. Prerender a .md twin per route, serve it with Vary: Accept and a token-count header, and rank markdown only when the client actually prefers it.

Canonical: https://robauto.ai/learn/advanced-agentic-commerce/13

_Advanced Agentic Commerce: Ship the Full Agent Surface — lesson 13 of 20 (PLAYBOOK)_

Agents that send Accept: text/markdown should get clean Markdown; browsers asking for text/html keep the page. Prerender a .md twin per route, serve it with Vary: Accept and a token-count header, and rank markdown only when the client actually prefers it.

Source: [Robauto — markdown index](https://robauto.ai/markdown-index.json)

[Previous lesson](/learn/advanced-agentic-commerce/12) · [Next lesson](/learn/advanced-agentic-commerce/14) · [Course overview](/learn/advanced-agentic-commerce) · [All courses](/learn)

---

(c) 2026 Robauto, Inc. — support@robauto.ai
Machine surfaces: https://robauto.ai/llms.txt · https://robauto.ai/llms-full.txt · https://robauto.ai/.well-known/api-catalog
