.NET: feat(samples): add Squad + DTS incident-response sample#6146
Open
tamirdresher wants to merge 2 commits into
Open
.NET: feat(samples): add Squad + DTS incident-response sample#6146tamirdresher wants to merge 2 commits into
tamirdresher wants to merge 2 commits into
Conversation
Adds a new sample at dotnet/samples/02-agents/SquadWithDTS/ demonstrating: - SquadAgent : AIAgent wrapping GitHub Copilot Squad with OTel spans/metrics - DTS-backed durable incident-response workflow (9 executors, diagnose-loop) - Dynamic subsystem routing via conditional workflow edges - Aspire AppHost wiring DTS emulator + Foundry Local - Harness README cross-link to the governance-pattern comparison Companion blog post: https://tamirdresher.com/2026/05/20/deterministic-meets-squads/ Related issue: microsoft#3485
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation and Context
This sample contributes the
squad-agent-framework-demoto the public MAF samples library as the first end-to-end example showing GitHub Copilot Squad composed with MAF + Durable Task Scheduler (DTS).The sample directly complements the existing Harness samples — it explores the
OnPermissionRequestgovernance pattern which sits at a different point on the trust spectrum from Harness'sToolApproval.Description
Adds
dotnet/samples/02-agents/SquadWithDTS/— a self-contained, runnable incident-response demo.New sample:
SquadWithDTSKey files:
Agents/SquadAgent.cs—SquadAgent : AIAgentwrappingGitHubCopilotAgentwith OTel spans + metricsWorkflows/IncidentExample.cs— 9-executor DTS-backed durable workflow with diagnose-loopWorkflows/Executors/TriageExecutor.cs— AI triage via Squad: severity, subsystem, hypothesisWorkflows/Executors/DiagnoseExecutor.cs— Squad diagnose-loop: Resolved / NeedsMoreInvestigation / InconclusiveSubsystems/*.cs— Dynamic AI subsystem squads (Database / Network / Auth / Payments) routed by triageSquad.SquadWithDTS.AppHost/AppHost.cs— Aspire AppHost wiring DTS emulator + Foundry LocalUpdated:
Harness/README.mdAdds "Related samples" section with governance-pattern comparison (
ToolApprovalvsOnPermissionRequest).Contribution Checklist