Skip to content

.NET: Add Handoff sample#5245

Open
lokitoth wants to merge 2 commits intomainfrom
dev/dotnet_workflow/add_handoff_sample
Open

.NET: Add Handoff sample#5245
lokitoth wants to merge 2 commits intomainfrom
dev/dotnet_workflow/add_handoff_sample

Conversation

@lokitoth
Copy link
Copy Markdown
Member

@lokitoth lokitoth commented Apr 14, 2026

Description

Adds a Handoff Orchestration sample project for .NET

Closes #4786

Contribution Checklist

  • The code builds clean without any errors or warnings
  • The PR follows the Contribution Guidelines
  • All unit tests pass, and I have added new tests where possible
  • [ ] Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.

@lokitoth lokitoth marked this pull request as ready for review April 14, 2026 09:58
Copilot AI review requested due to automatic review settings April 14, 2026 09:58
@lokitoth lokitoth moved this to In Review in Agent Framework Apr 14, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds a new .NET “Handoff Orchestration” sample that demonstrates routing between multiple expert agents via the Microsoft.Agents workflow builder.

Changes:

  • Introduces a new Handoff sample project (csproj + sln) and agent registry implementation.
  • Adds a console-based runner that streams workflow events and prints agent output.
  • Registers the new sample project in the repo’s .NET solution index.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
dotnet/samples/03-workflows/Orchestration/Handoff/Program.cs Console entrypoint that builds and runs the handoff workflow using Azure AI Projects + streaming output
dotnet/samples/03-workflows/Orchestration/Handoff/AgentRegistry.cs Defines intake + expert agents and exposes collections used to configure handoffs
dotnet/samples/03-workflows/Orchestration/Handoff/Handoff.csproj New sample project file with package + project references
dotnet/samples/03-workflows/Orchestration/Handoff/Handoff.sln Solution file for opening/building the sample directly in Visual Studio
dotnet/agent-framework-dotnet.slnx Adds the sample project to the repo’s solution index (folders/projects list)

@lokitoth lokitoth force-pushed the dev/dotnet_workflow/add_handoff_sample branch from 63ce719 to 6d6537e Compare April 14, 2026 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

.NET workflows Related to Workflows in agent-framework

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

.NET: [Sample] Create Sample for Handoff Orchestration

3 participants