Skip to content

.NET: Migrate A2A agent to A2A SDK v1#4890

Draft
SergeyMenshykh wants to merge 2 commits intomicrosoft:mainfrom
SergeyMenshykh:migrate-a2a-agent-to-a2-sdk-v1
Draft

.NET: Migrate A2A agent to A2A SDK v1#4890
SergeyMenshykh wants to merge 2 commits intomicrosoft:mainfrom
SergeyMenshykh:migrate-a2a-agent-to-a2-sdk-v1

Conversation

@SergeyMenshykh
Copy link
Member

@SergeyMenshykh SergeyMenshykh commented Mar 24, 2026

Migrate A2A packages from 0.3.4-preview to 1.0.0-preview and adapt all consuming code to the SDK v1 API changes.

Key changes

  • Update A2A and A2A.AspNetCore package versions
  • Adapt to SDK v1 type renames (e.g. AgentMessageMessage, MessageRoleRole, TextPart/FilePartPart)
  • Adapt to SDK v1 response union types (SendMessageResponse, StreamResponse)
  • Set SendMessageConfiguration.Blocking based on AllowBackgroundResponses option
  • Implement streaming continuation via SubscribeToTaskAsync (previously threw NotSupportedException)
  • Update samples, hosting, extensions, and all unit/integration tests

@github-actions github-actions bot changed the title Migrate A2A agent to A2A SDK v1 .NET: Migrate A2A agent to A2A SDK v1 Mar 24, 2026
@SergeyMenshykh SergeyMenshykh self-assigned this Mar 24, 2026
@SergeyMenshykh SergeyMenshykh moved this to In Progress in Agent Framework Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants