FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

.NET: Add Magentic Orchestration Sample by Copilot · Pull Request #5823 · microsoft/agent-framework · GitHub

Repository navigation

.NET: Add Magentic Orchestration Sample - #5823

Merged
Jacob Alber (lokitoth) merged 12 commits into
mainfrom
copilot/port-magentic-orchestration-sample
May 22, 2026
Merged

Jacob Alber (lokitoth) merged 12 commits into
mainfrom
copilot/port-magentic-orchestration-sample

Conversation

Copilot AI commented May 13, 2026 •
edited by lokitoth
Loading

Copy link
Copy Markdown
Contributor

Motivation and Context

Ports the Python Magentic multi-agent orchestration sample to .NET, giving .NET developers a ready-to-run example of the MagenticWorkflowBuilder pattern for coordinating specialized agents on complex analytical tasks.

Description

New Magentic Orchestration Sample

Adds dotnet/samples/03-workflows/Orchestration/Magentic/ — a .NET port of the Python magentic.py workflow sample. The sample builds a MagenticWorkflowBuilder orchestration with three roles:

  • ResearcherAgent – gathers factual background information
  • CoderAgent – uses HostedCodeInterpreterTool for quantitative analysis
  • MagenticManager – plans the work, tracks progress via a ledger, and decides who acts next

Key aspects demonstrated:

  • Building a Magentic workflow with MagenticWorkflowBuilder (max rounds, stalls, resets)
  • Combining standard responses-based agents with a code-interpreter-enabled participant
  • Streaming orchestration events: initial plan, replans, and progress-ledger updates
  • Printing the final multi-agent conversation transcript
  • Graceful PauseIfInteractive that skips when stdin or stdout is redirected (CI-friendly)

Closes #5771

Other Changes

  • Registered the new Magentic.csproj in the solution file
  • Added the sample entry to the 03-workflows/README.md index

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.

Copilot AI and others added 2 commits May 13, 2026 19:03
Copilot AI self-assigned this May 13, 2026
Copilot AI review requested due to automatic review settings May 13, 2026 19:18
Copilot AI removed the request for review from Copilot May 13, 2026 19:18
Evan Mattson (moonbox3) added documentation Usage: [Issues, PRs], Target: documentation in the code base and learn docs .NET Usage: [Issues, PRs], Target: .Net workflows Usage: [Issues, PRs], Target: Workflows labels May 13, 2026
github-actions Bot changed the title Port Magentic orchestration workflow sample to .NET .NET: Port Magentic orchestration workflow sample to .NET May 13, 2026
Vincent Biret (baywet) deleted the copilot/port-magentic-orchestration-sample branch September 17, 2026 14:40

This branch was previously deployed

1 inactive deployment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Usage: [Issues, PRs], Target: documentation in the code base and learn docs .NET Usage: [Issues, PRs], Target: .Net workflows Usage: [Issues, PRs], Target: Workflows

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

.NET: [Feature]: Add a Magentic Orchestration sample

6 participants


Back | FazBrowse Home | New Git URL