A2A Sample Agent Reported Task Completed While Silently Ignoring Part of the Message
A developer sent an A2A agent a message containing a text line and a JSON data part, and the agent returned a completed status with HTTP 200. The returned artifact only echoed the text, so the order lines in the JSON were never processed, and the agent did not say so. The agent was the official Hello World sample from the A2A project, whose Agent Card lists only text/plain as an input mode. The A2A specification defines a ContentTypeNotSupportedError for unsupported media types, but the sample accepted the message and completed anyway. The author argues that clients should check the reply covers what was sent, and provides a preflight script that compares the message's media types against the Agent Card before sending.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in