Website Security & Threat Management
Slashing agent token costs by 98% with RFC 9457-compliant error responses

Slashing agent token costs by 98% with RFC 9457-compliant error responses

3/11/2026 · Sam Marsh

What this post added

This post introduces RFC 9457-compliant structured Markdown and JSON error payloads for AI agents. This significantly enhances website security and threat management by providing machine-readable instructions instead of HTML error pages. It dramatically reduces payload size and token usage (over 98%), offering actionable guidance for agents on how to handle errors like rate limiting or access denial. This is a network-wide, automatic update for all 1xxx-class errors, with plans to extend to 4xx and 5xx errors.

Read the original post ↗