Agent2Agent Protocol
A2AClient.fromCardUrl removal
Stopped workingSubscribe to Agent2Agent ProtocolShare
On July 22, 2026, the method fromCardUrl was removed. This change affects calls using SDK @a2a-js/sdk fromCardUrl from major 1. Requests made with this method fail since that date, as A2AClient was deprecated in favor of ClientFactory and Client.
Calls it hits
SDK @a2a-js/sdk fromCardUrl from major 1
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, using the v1.0 messages with one Part type and no kind field. Alternatively, pin @a2a-js/sdk below 1.
In Agent2Agent Protocol's words
`A2AClient` was deprecated in v0.3 in favor of `ClientFactory` and `Client`
Facts
- API
- Agent2Agent Protocol
a2a-protocol.org - Kind
- Removal
- Takes effect
- July 22, 2026
- Calls after that day
- Fail
- Source
- Announcement
- Last updated
- Verified
- , against Agent2Agent Protocol's own pages
Questions
When does this change take effect?
Calls to SDK @a2a-js/sdk fromCardUrl from major 1 on Agent2Agent Protocol stopped working on July 22, 2026.
What happens to calls after July 22, 2026?
They have failed since July 22, 2026.
How do I find the calls this hits in my code?
Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.
More from Agent2Agent Protocol 1
-
No date
A2A calls message/*, tasks/*, agent/*Removal Deprecated, no date
You fixed this one by hand.
Okapi opens the pull request with the fix before the next breaking change reaches your code.