Skip to main content
An eligible JSON object appends _agentFeedback without wrapping the original result:
The live envelope also carries the bounded report schema so an agent does not need a second documentation fetch.

Other response shapes

  • HTML embeds the same object in <script id="agent-feedback" type="application/json">.
  • JSON arrays, scalars, and safe immutable bodies use Agent-Feedback: <base64url JSON>.
  • A Link header points to public protocol discovery.
  • Instrumented responses use Cache-Control: private, no-store because every capability is unique.
  • An existing _agentFeedback field is never overwritten.

Feedback-aware runtimes

A generic HTTP agent may ignore this second-action instruction. A runtime that explicitly supports Epode should:
  1. parse the JSON, HTML, or header envelope;
  2. allowlist the HTTPS submit origin;
  3. finish the user’s product task;
  4. resolve the feedback mode and consent state;
  5. submit only a bounded structured report before its final user response.
The Node SDK exports feedbackFromResponse, feedbackConsentAction, and submitProductFeedback for this path.