Content optimization for agents is a practical discipline that Sentry has begun applying across its documentation, main website, and developer tools. The company published a technical overview on March 16, 2026, describing how web content can be structured to serve artificial intelligence agents more effectively using standard HTTP headers.
The Core Mechanism: HTTP Content Negotiation
The approach centers on a single HTTP header: Accept: text/markdown. When a server receives a request carrying this header, it can reliably infer that the client is an AI agent rather than a human browser. Sentry said this signal gives developers a clear hook to serve optimized content without building separate infrastructure.
Why Content Optimization for Agents Matters
Frontier models and the agents built on top of them share common behavioral patterns. Specifically, they often read only the first N lines, bytes, or characters of a file to avoid context bloat. Moreover, agents behave differently when told where information exists versus having to discover it independently. These two constraints directly inform how content should be structured.
Sentry identified three primary dimensions of optimization: order of content, content size, and depth of nodes. However, the company noted that best practices in this area continue to evolve as agent behavior changes.
How Sentry Applies This Across Its Products
Sentry described three concrete implementations. For its documentation site, the company serves true markdown content when an agent is detected, stripping browser-specific elements such as navigation menus and JavaScript. The index page transforms into a sitemap-style document focused on link hierarchy. Sentry said this produces pages that are more actionable for software agents and delivers significant tokenization savings.
On the main Sentry website, an agent hitting an authentication-required page instead receives a plain-text response listing programmatic access options. These include the company’s MCP server, its command-line interface, and its API. The MCP server, available at mcp.sentry.dev/mcp, uses OAuth authentication and HTTP streaming without requiring HTML parsing.
For Warden, a code-review tool that runs skills against code changes, Sentry configured the endpoint so an agent can retrieve the full content needed to bootstrap itself in a single request. Warden follows the agentskills.io specification, using markdown files with prompts that define what to look for in code, including security vulnerabilities, API design issues, and performance problems.
Context on LLMs.txt
The post addressed the LLMs.txt proposal, a previously discussed standard for helping AI agents navigate websites. Sentry said the underlying idea behind LLMs.txt was sound, because it addressed the same two agent behaviors — partial file reading and information discovery. Nevertheless, the company described it as the wrong implementation. Content negotiation, in Sentry’s view, solves the same problem more cleanly within existing web standards.
Furthermore, the post pushed back on the claim that AI agents need no special content formatting because they are capable of using existing APIs directly. Sentry said this reasoning is incorrect, arguing that structured, agent-optimized content still produces meaningfully better outcomes than unoptimized HTML.
Outlook
Sentry said developers should monitor how AI agent behavior evolves and update their content optimizations accordingly. The company described the current implementation as simple and effective, and said the pattern is broadly applicable beyond its own products. As developer tooling and agent frameworks mature, content negotiation may become a standard practice for any site that expects non-human traffic.

