Skip to content

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

Closed
SergeyMenshykh wants to merge 12 commits intomicrosoft:mainfrom
SergeyMenshykh:migrate-a2a-agent-to-a2-sdk-v1
Closed

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

Conversation

@SergeyMenshykh
Copy link
Copy Markdown
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
@markwallace-microsoft markwallace-microsoft added the documentation Improvements or additions to documentation label Mar 26, 2026
@SergeyMenshykh
Copy link
Copy Markdown
Member Author

Superseded by: #5423

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

Labels

documentation Improvements or additions to documentation .NET

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants