Files
agent-framework/dotnet/src/Microsoft.Agents.AI.DurableTask
T
Shyju Krishnankutty f59eba4926 Fix GetExecutorName to handle agent names with underscores
Split on last underscore instead of first, and validate that the
suffix is a 32-char hex string (sanitized GUID) before stripping it.
This prevents truncation of agent names like 'my_agent' when the
executor ID is 'my_agent_<guid>'.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
f59eba4926 ยท 2026-03-03 19:57:43 -08:00
History
..

Microsoft.Agents.AI.DurableTask

The Microsoft Agent Framework provides a programming model for building agents and agent workflows in .NET. This package, the Durable Task extension for the Agent Framework, extends the Agent Framework programming model with the following capabilities:

  • Stateful, durable execution of agents in distributed environments
  • Automatic conversation history management
  • Long-running agent workflows as "durable orchestrator" functions
  • Tools and dashboards for managing and monitoring agents and agent workflows

These capabilities are implemented using foundational technologies from the Durable Task technology stack:

This package can be used by itself or in conjunction with the Microsoft.Agents.AI.Hosting.AzureFunctions package, which provides additional features via Azure Functions integration.

Install the package

From the command-line:

dotnet add package Microsoft.Agents.AI.DurableTask

Or directly in your project file:

<ItemGroup>
  <PackageReference Include="Microsoft.Agents.AI.DurableTask" Version="[CURRENTVERSION]" />
</ItemGroup>

You can alternatively just reference the Microsoft.Agents.AI.Hosting.AzureFunctions package if you're hosting your agents and orchestrations in the Azure Functions .NET Isolated worker.

Usage Examples

For a comprehensive tour of all the functionality, concepts, and APIs, check out the Azure Functions samples.

Feedback & Contributing

We welcome feedback and contributions in our GitHub repo.