Okapi Okapi

Agent2Agent Protocol · Endpoint removal

A2AClient.fromCardUrl stops working

Stopped working

Calls to SDK @a2a-js/sdk fromCardUrl from major 1 on Agent2Agent Protocol stopped working on July 22, 2026.

What to use instead of these calls

Create the client with new ClientFactory().createFromUrl(baseUrl) from @a2a-js/sdk/client and call sendMessage on it, with the v1.0 messages (one Part type, no kind field). Or pin @a2a-js/sdk below 1.

Calls it hits

  • SDK @a2a-js/sdk fromCardUrl from major 1

`A2AClient` was deprecated in v0.3 in favor of `ClientFactory` and `Client`

Agent2Agent Protocol, Announcement

Facts

API
Agent2Agent Protocol a2a-protocol.org
Kind
Endpoint removal
Takes effect
July 22, 2026
Calls after that day
Fail
Source
Announcement
Last updated

More from Agent2Agent Protocol

Know before your API calls break.

Okapi finds the calls a breaking change hits in your code and opens the pull request that fixes them.

Add to GitHub