# Breaking change: Upgrade A2A servers and clients together

> Agno moves AgentOS and A2AClient to a2a-sdk 1.x and removes the /v1/message:* routes. Upgrade both sides at once and call each entity's A2A endpoint.

- Published: 2026-11-12
- Author: Harsh Sinha
- Categories: Changelog
- Canonical: https://www.agno.com/blog/breaking-change-upgrade-a2a-servers-and-clients-together
- Markdown: https://www.agno.com/blog/breaking-change-upgrade-a2a-servers-and-clients-together.md

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.

```bash
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.

```text
# 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 -> 200
```

## Replace removed helpers

- `map_a2a_request_to_run_input` is gone from `agno.os.interfaces.a2a.utils`. Call `map_a2a_message_to_run_input`, which takes the A2A `Message`.
- `stream_a2a_response` and `stream_a2a_response_with_error_handling` are gone too. `agno.os.interfaces.a2a.streaming.stream_run_events_to_task` sends run events into a task.
- We removed the `agno.os.interfaces.a2a.scopes` module and its `get_a2a_scope_mappings`. `A2A.get_scope_mappings()` returns `{}` because the route checks each A2A method itself.

See the [cookbook](https://github.com/agno-agi/agno/blob/main/cookbook/05_agent_os/15_a2a/README.md), and learn more about the [A2A client](https://docs.agno.com/reference/clients/a2a-client) in the documentation.
