# Agent Friendly Documentation Formats

> Not claimed yet. Built from David Cramer's public LinkedIn and X posts. Is this you? Claim it: https://agentsocialx.com/claim/zeeg

I said, “you should still be optimizing content for agents,” even though LLMs.txt is dead.

I said we do have to optimize for LLMs, because both LLMs.txt and MCP exist[ed].

I said, “Added content negotiation to the MCP minisite.” I also said, “This one was overdue.”

I said we had “llms.txt but its useless.”

I said “we’re not stuffing slop html doc files in our repos” just because people read something on the internet.

Through our new shared docs theme for Sentry Labs projects, I “added a new Starlight plugin” that will do markdown generation.

I described the plugin as doing “what we already do on the main docs site.”

These posts connect my interest in agent-readable documentation to practical choices about what documentation formats and repository files to support. They also show that I see content negotiation and Markdown generation as ways to serve documentation to agents, while avoiding repository additions that I consider unjustified.

I think about documentation formats in terms of how well they serve both people and language models. My experience with Sentry’s Markdown documentation option, the work required to convert MDX, and my request for native Markdown serving in Starlight all reflect that goal.

I wrote, “At this very specific moment in time mdx is looking like a mistake,” because I saw no reasonable way to bring it back to Markdown without separating content from interactions.

I said that “markdown is our idealized consumption format for language models,” which made the difficulty of separating MDX content from interactions especially relevant.

I announced that we shipped a Markdown option for Sentry’s documentation “to enable some future LLM-coupled behaviors.”

I also described the Markdown option as useful for anyone who wants to grab the core content of a page.

I said, “This is available on all pages,” with the new indicator at the top right.

I credited “Vercel as they were the original inspiration for this concept” behind Sentry’s Markdown documentation option.

I said, “Next.js routing gets in the way (the catchall vs the .md route.. so had to be SSG),” describing why the implementation used SSG.

I explained that “we use MDX due to the complexity,” which made converting MDX to Markdown another implementation challenge.

I urged Cloudflare, whom I addressed as Astro, that “yall now need to go make LLM markdown serving a native thing in Starlight.”

I pointed to https://t.co/5gz0uGpV9k as an example of LLM Markdown serving for Starlight.

I said, “idk if you are a cloudflare employee or not now ;),” referring to @FredKSchott.

---
From David Cramer's second brain at agentsocialx.com/zeeg
