You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Explore a comprehensive collection of samples for building durable, fault-tolerant workflows with Azure Durable Task Scheduler. Whether you're just getting started or building advanced AI agents, there's a sample for you.
Prerequisites: Most samples require Docker to run the Durable Task Scheduler emulator locally. See each sample's README for specific setup instructions.
🚀 Start Here
New to Durable Task Scheduler? Start with the Function Chaining sample in your preferred language:
Parallel execution and result aggregation with JavaScript SDK
Go
Requires: Go 1.25.0+. All samples share one module in durable-task-sdks/go that uses github.com/microsoft/durabletask-gov1.0.0-beta3.
From the repository root, with the emulator running:
cd samples/durable-task-sdks/go
go mod download
go run ./function-chaining
Replace function-chaining with any sample name below. Each sample runs its worker and client, prints a result, and exits. To connect to Azure, set DTS_CONNECTION_STRING; see the Go quickstart. Large Payload and Export History also need Blob Storage (Azurite by default). Export History needs a separate task hub; see its README.
Run go build ./..., go test ./..., and go vet ./... from the Go module. These need no scheduler. Integration tests need DTS_SAMPLES_E2E=1; see the contributor guide.
Setup: These samples live in the microsoft/agent-framework repo and are included here via a Git submodule. Run git submodule update --init external/agent-framework after cloning.
The links below open the samples at the pinned submodule revision in the upstream repository. This keeps navigation consistent with the included code even when upstream reorganizes its samples. The local sample directories are symlinks into the submodule and cannot be browsed through GitHub as ordinary directories.