# Microsoft details design behind GA of Durable Task extension for Agent Framework

published: 2026-12-01T17:05:31.734Z
topic: frameworks
source: https://devblogs.microsoft.com/agent-framework/engineering-durable-ai-agents-for-production-design-decisions-behind-ga/
url: https://aiagentnews.io/stories/microsoft-details-design-behind-ga-of-durable-task-extension-for-agent-framework

Microsoft has released the General Availability version of the Durable Task extension for Microsoft Agent Framework in both .NET and Python. The post explains how the GA design stores request completion records apart from conversation history so that retries do not rerun completed turns.

The extension lets an application save execution progress outside the worker process, so a stateful agent can recover after a restart or scale-down while it waits for external input. Agents run as Durable Entities, and multi-step workflows run as durable orchestrations backed by Azure Durable Task Scheduler.

The main design change is Schema 2.0.0, which keeps completion receipts and terminal results separate from conversation history. Receipts are kept permanently, so a retried request that already finished returns its cached response without calling the model. Terminal results are kept for a configurable 60-second delivery window, after which the request is not run again.

The post also covers explicit history ownership for each session, which records whether the entity, an external history provider or a cloud model service holds the transcript. Automatic retention evicts old exchange groups against a 1 MiB default budget, and rolling upgrades use versioned entity names and work-item filtering so v1 and v2 workers can share one Task Hub.

## Why it matters if you build agents

Agent developers can rely on a completed turn not running twice after a timeout, but a tool that creates a record still needs its own idempotency check, because a failure before turn completion is saved can still produce duplicates. Teams that keep transcripts in Redis, Cosmos DB or SQL should set an explicit history provider so the entity does not store a second copy or lose context after a configuration change. Long-running agents that wait for human approval can shut down completely and resume on a new host.
