Skip to content

.NET: Durable Agent samples and automated validation for non-Azure Functions#3042

Merged
cgillum merged 20 commits intomicrosoft:mainfrom
cgillum:cgillum/durable-agent-standalone
Jan 20, 2026
Merged

.NET: Durable Agent samples and automated validation for non-Azure Functions#3042
cgillum merged 20 commits intomicrosoft:mainfrom
cgillum:cgillum/durable-agent-standalone

Conversation

@cgillum
Copy link
Member

@cgillum cgillum commented Dec 27, 2025

Motivation and Context

Durable Agents are intended to be available both in Azure Functions and non-Azure Functions contexts. The capability already exists for .NET, but no docs or samples have been created yet.

Description

This PR adds samples showing how to implement the various durable agent scenarios as simple console apps. No Azure Functions is required. Instead, apps use the Durable Task Scheduler directly.

All Azure Functions samples have been converted into their equivalent non-Azure Functions console apps with the exception of the MCP sample, which requires features specific to Azure Functions.

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.

@markwallace-microsoft markwallace-microsoft added documentation Improvements or additions to documentation .NET labels Dec 27, 2025
@github-actions github-actions bot changed the title Durable Agent samples and automated validation for non-Azure Functions .NET: Durable Agent samples and automated validation for non-Azure Functions Dec 27, 2025
@cgillum cgillum marked this pull request as ready for review December 29, 2025 21:37
Copilot AI review requested due to automatic review settings December 29, 2025 21:37
@cgillum cgillum requested review from a team, kshyju and larohra December 29, 2025 22:07
Copy link
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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

This was referenced Jan 24, 2026
arisng pushed a commit to arisng/agent-framework that referenced this pull request Feb 2, 2026
…nctions (microsoft#3042)

* Durable Agent samples and automated validation for non-Azure Functions

* Update test projects

* fix file encoding

* Remove AgentThreadMetadata usage

* Absorb breaking change from microsoft#3152

* Absorb newer breaking changes (AgentRunResponse --> AgentResponse)

* Absorb more breaking changes (see microsoft#3222)

* Improve integration test reliability (isolated task hubs, etc.)

* Fix flakey streaming test

---------

Co-authored-by: Mark Wallace <127216156+markwallace-microsoft@users.noreply.github.com>
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

None yet

Development

Successfully merging this pull request may close these issues.

5 participants