Samples, quickstarts, and developer resources for Azure Durable Task Scheduler — build reliable, fault-tolerant workflows with Durable Functions and Durable Task SDKs.
61
stars
317
commits
Bicep
primary language
Sep 4, 2026
updated
Build reliable, fault-tolerant workflows that survive any failure.
Durable Task is Microsoft's technology for building workflows and orchestrations as ordinary code that automatically survives failures. Instead of managing complex retry logic, state machines, or message queues, you express your business logic as straightforward functions - Durable Task handles state persistence, automatic recovery, and distributed coordination for you.
Workflows can run for hours, days, or even months, reliably resuming from the last completed step after any crash, restart, or redeployment. Common use cases include distributed transactions, multi-agent AI orchestration, data processing pipelines, and infrastructure management.
Durable Task encompasses the Durable Task SDKs for self-hosted applications, Durable Functions for serverless hosting on Azure Functions, and the Durable Task Scheduler - a fully managed backend service purpose-built for durable workloads.
Durable execution is an industry-wide approach to making ordinary code fault-tolerant by automatically persisting its progress.

git clone --recurse-submodules https://github.com/Azure-Samples/Durable-Task-Scheduler.git
cd Durable-Task-Scheduler
Note: The
--recurse-submodulesflag is needed to pull sample code from linked repositories. If you already cloned without it, run:git submodule update --init --recursive
docker pull mcr.microsoft.com/dts/dts-emulator:latest
docker run -d -p 8080:8080 -p 8082:8082 mcr.microsoft.com/dts/dts-emulator:latest
| Language | Quickstart Sample | Run Command |
|---|---|---|
| .NET | Function Chaining | cd samples/durable-task-sdks/dotnet/FunctionChaining/Worker && dotnet run |
| Python | Function Chaining | cd samples/durable-task-sdks/python/function-chaining && pip install -r requirements.txt && python worker.py |
| Java | Function Chaining | cd samples/durable-task-sdks/java/function-chaining && ./gradlew runChainingPattern |
| JavaScript | Function Chaining | cd samples/durable-task-sdks/javascript/function-chaining && npm install && node worker.mjs |
Navigate to http://localhost:8082 to view orchestration status, history, and more.
| Durable Functions | Durable Task SDKs | |
|---|---|---|
| Best for | Serverless event-driven apps | Any compute (containers, VMs, etc.) |
| Hosting | Azure Functions | Any host (ACA, AKS, App Service, VMs) |
| Triggers | HTTP, Timer, Queue, etc. | Self-managed |
| Scaling | Built-in auto-scale | Bring your own scaling |
| Languages | .NET, Python, Java, JavaScript | .NET, Python, Java, JavaScript |
📖 Choosing an orchestration framework →
Explore production-ready examples across languages and frameworks.
🤖 AI Research Agent - Autonomous academic research agent that searches arXiv, analyzes papers, and synthesizes reports (Python)
✈️ AI Travel Planner - Multi-agent travel planning with specialized agents and human approval (Durable Functions, .NET)
🛒 Order Processor - End-to-end order workflow with inventory, payment, and notifications (Durable Functions, .NET)
🔄 Saga Pattern - Distributed transactions with compensating actions for failure recovery (Durable Functions, .NET)
🧩 Durable Extension for Microsoft Agent Framework - Make any Microsoft Agent Framework agent durable with persistent sessions, multi-agent orchestrations, and graph-based workflows (.NET, Python)
The Durable Task Scheduler provides a built-in dashboard for monitoring orchestration instances, inspecting execution history, and managing running workflows. The SDKs also support OpenTelemetry distributed tracing for end-to-end visibility across services. Durable Functions users can leverage distributed tracing V2 for enhanced diagnostics.
This repository includes specialized skills for AI coding assistants (GitHub Copilot, Claude Code) to help you build durable workflows with best practices, code patterns, and contextual guidance.
| Skill | Description | Path |
|---|---|---|
| durable-functions-dotnet | Durable Functions with .NET isolated worker - orchestrations, activities, entities, and all workflow patterns | Skill → |
| durable-task-dotnet | Durable Task SDK for .NET - portable orchestrations without Azure Functions dependency | Skill → |
| durable-task-java | Durable Task SDK for Java - orchestrations, activities, and common workflow patterns | Skill → |
| durable-task-python | Durable Task SDK for Python - orchestrations, activities, entities, and stateful agents | Skill → |
Usage: Reference a skill file in your AI assistant (e.g., #file:.github/skills/durable-task-dotnet/SKILL.md in Copilot Chat) or ask it to read the skill before generating code. Skills are automatically detected by Claude Code when working on relevant files.
We welcome contributions! Please see CONTRIBUTING.md for guidelines on how to get involved, submit issues, and open pull requests.
This project is licensed under the MIT License.
⭐ Star this repo if you find it useful!
Bicep
43.4%
C#
22.5%
Python
15.7%
PowerShell
7.9%
Shell
6.7%
Dockerfile
3.9%
Samples, quickstarts, and developer resources for Azure Durable Task Scheduler — build reliable, fault-tolerant workflows with Durable Functions and Durable Task SDKs.
61
stars
317
commits
Bicep
primary language
Sep 4, 2026
updated
Build reliable, fault-tolerant workflows that survive any failure.
Durable Task is Microsoft's technology for building workflows and orchestrations as ordinary code that automatically survives failures. Instead of managing complex retry logic, state machines, or message queues, you express your business logic as straightforward functions - Durable Task handles state persistence, automatic recovery, and distributed coordination for you.
Workflows can run for hours, days, or even months, reliably resuming from the last completed step after any crash, restart, or redeployment. Common use cases include distributed transactions, multi-agent AI orchestration, data processing pipelines, and infrastructure management.
Durable Task encompasses the Durable Task SDKs for self-hosted applications, Durable Functions for serverless hosting on Azure Functions, and the Durable Task Scheduler - a fully managed backend service purpose-built for durable workloads.
Durable execution is an industry-wide approach to making ordinary code fault-tolerant by automatically persisting its progress.

git clone --recurse-submodules https://github.com/Azure-Samples/Durable-Task-Scheduler.git
cd Durable-Task-Scheduler
Note: The
--recurse-submodulesflag is needed to pull sample code from linked repositories. If you already cloned without it, run:git submodule update --init --recursive
docker pull mcr.microsoft.com/dts/dts-emulator:latest
docker run -d -p 8080:8080 -p 8082:8082 mcr.microsoft.com/dts/dts-emulator:latest
| Language | Quickstart Sample | Run Command |
|---|---|---|
| .NET | Function Chaining | cd samples/durable-task-sdks/dotnet/FunctionChaining/Worker && dotnet run |
| Python | Function Chaining | cd samples/durable-task-sdks/python/function-chaining && pip install -r requirements.txt && python worker.py |
| Java | Function Chaining | cd samples/durable-task-sdks/java/function-chaining && ./gradlew runChainingPattern |
| JavaScript | Function Chaining | cd samples/durable-task-sdks/javascript/function-chaining && npm install && node worker.mjs |
Navigate to http://localhost:8082 to view orchestration status, history, and more.
| Durable Functions | Durable Task SDKs | |
|---|---|---|
| Best for | Serverless event-driven apps | Any compute (containers, VMs, etc.) |
| Hosting | Azure Functions | Any host (ACA, AKS, App Service, VMs) |
| Triggers | HTTP, Timer, Queue, etc. | Self-managed |
| Scaling | Built-in auto-scale | Bring your own scaling |
| Languages | .NET, Python, Java, JavaScript | .NET, Python, Java, JavaScript |
📖 Choosing an orchestration framework →
Explore production-ready examples across languages and frameworks.
🤖 AI Research Agent - Autonomous academic research agent that searches arXiv, analyzes papers, and synthesizes reports (Python)
✈️ AI Travel Planner - Multi-agent travel planning with specialized agents and human approval (Durable Functions, .NET)
🛒 Order Processor - End-to-end order workflow with inventory, payment, and notifications (Durable Functions, .NET)
🔄 Saga Pattern - Distributed transactions with compensating actions for failure recovery (Durable Functions, .NET)
🧩 Durable Extension for Microsoft Agent Framework - Make any Microsoft Agent Framework agent durable with persistent sessions, multi-agent orchestrations, and graph-based workflows (.NET, Python)
The Durable Task Scheduler provides a built-in dashboard for monitoring orchestration instances, inspecting execution history, and managing running workflows. The SDKs also support OpenTelemetry distributed tracing for end-to-end visibility across services. Durable Functions users can leverage distributed tracing V2 for enhanced diagnostics.
This repository includes specialized skills for AI coding assistants (GitHub Copilot, Claude Code) to help you build durable workflows with best practices, code patterns, and contextual guidance.
| Skill | Description | Path |
|---|---|---|
| durable-functions-dotnet | Durable Functions with .NET isolated worker - orchestrations, activities, entities, and all workflow patterns | Skill → |
| durable-task-dotnet | Durable Task SDK for .NET - portable orchestrations without Azure Functions dependency | Skill → |
| durable-task-java | Durable Task SDK for Java - orchestrations, activities, and common workflow patterns | Skill → |
| durable-task-python | Durable Task SDK for Python - orchestrations, activities, entities, and stateful agents | Skill → |
Usage: Reference a skill file in your AI assistant (e.g., #file:.github/skills/durable-task-dotnet/SKILL.md in Copilot Chat) or ask it to read the skill before generating code. Skills are automatically detected by Claude Code when working on relevant files.
We welcome contributions! Please see CONTRIBUTING.md for guidelines on how to get involved, submit issues, and open pull requests.
This project is licensed under the MIT License.
⭐ Star this repo if you find it useful!
Bicep
43.4%
C#
22.5%
Python
15.7%
PowerShell
7.9%
Shell
6.7%
Dockerfile
3.9%