AgentOS and A2AClient now run on the official a2a-sdk 1.x and drop the /v1/message:* routes, so upgrade the server and every client in the same rollout. An A2AClient or script from an earlier Agno release posts to /v1/message:send, and an AgentOS on this release answers 404.
pip install -U "agno[a2a]"The a2a extra now requires a2a-sdk[http-server]>=1.2.2,<2, up from a2a-sdk>=0.3.0,<1.0.
Move each call to the entity endpoint
Every operation now goes to one endpoint per entity, and the JSON-RPC method in the body picks it. A v1.0 method such as SendMessage needs the A2A-Version: 1.0 header.
| Earlier route | Method on POST /a2a/agents/{id} |
|---|---|
/a2a/agents/{id}/v1/message:send | SendMessage or message/send |
/a2a/agents/{id}/v1/message:stream | SendStreamingMessage or message/stream |
/a2a/agents/{id}/v1/tasks:get | GetTask or tasks/get |
/a2a/agents/{id}/v1/tasks:cancel | CancelTask or tasks/cancel |
Teams follow the same pattern under /a2a/teams/{id} and workflows under /a2a/workflows/{id}. We posted the same message to both routes through a TestClient on each release.
# Before
POST /a2a/agents/support/v1/message:send -> 200
# Now
POST /a2a/agents/support/v1/message:send -> 404 {"detail":"Not Found"}
POST /a2a/agents/support -> 200Replace removed helpers
map_a2a_request_to_run_inputis gone fromagno.os.interfaces.a2a.utils. Callmap_a2a_message_to_run_input, which takes the A2AMessage.stream_a2a_responseandstream_a2a_response_with_error_handlingare gone too.agno.os.interfaces.a2a.streaming.stream_run_events_to_tasksends run events into a task.- We removed the
agno.os.interfaces.a2a.scopesmodule and itsget_a2a_scope_mappings.A2A.get_scope_mappings()returns{}because the route checks each A2A method itself.
See the cookbook, and learn more about the A2A client in the documentation.
Frequently asked questions
Yes. A v0.3 client sends message/send to the URL the Agent Card advertises, and the endpoint still answers v0.3 method names unless you pass enable_v0_3_compat=False to A2A. Posting a v0.3 message/send body to /a2a/agents/support returned 200 with the completed task.
The answer now sits in the task artifacts, and a stream closes with one artifact event that carries the full response. get_agent_card().capabilities is a dict, A2A errors raise a2a.client.A2AClientError, and an unknown task comes back as a JSON-RPC TaskNotFound error where it used to be an HTTP 404. A2AClient now ignores its deprecated protocol argument, and the Remote classes ignore the deprecated a2a_protocol.
No. The earlier client sends messages to /v1/message:send and /v1/message:stream, which no longer exist. The pairing fails the other way as well, since the new A2AClient does not talk to an earlier Agno A2A server.


