Skip to content

update examples and cli launcher to use a2a-go/v2 sdk#780

Open
nahapetyan-serob wants to merge 2 commits into
google:mainfrom
nahapetyan-serob:serob/update-examples-to-use-v2-sdk
Open

update examples and cli launcher to use a2a-go/v2 sdk#780
nahapetyan-serob wants to merge 2 commits into
google:mainfrom
nahapetyan-serob:serob/update-examples-to-use-v2-sdk

Conversation

@nahapetyan-serob
Copy link
Copy Markdown
Member

  • Update all imports from a2a-go v0 to a2a-go/v2 across examples and cmd/launcher
  • Migrate to v2 API — constructors, interface changes, and struct restructuring.

@yarolegovich yarolegovich self-requested a review May 8, 2026 11:43
DefaultInputModes: []string{"text/plain"},
DefaultOutputModes: []string{"text/plain"},
SupportedInterfaces: []*a2acore.AgentInterface{
a2acore.NewAgentInterface(publicURL, a2acore.TransportProtocolJSONRPC),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to preserve backward compatibility on redeployment I think publicURL should use a2acompat/v0 jsonrpc handler and the new protocol should be served at /a2a/v1/invoke

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants