Make MAF Agents Durable with Dapr Workflow
Duration: 30 minutes
Supported languages: .NET. Requires an OpenAI API key.
Agents call large language models, and LLM calls are slow, costly, and non-deterministic. When a multi-agent app crashes halfway through, re-running everything from scratch wastes time and money. In this self-paced track you'll see how Dapr Workflow turns a collection of Microsoft Agent Framework (MAF) agents into a durable, fault-tolerant application.
What you'll run
You'll work with PrDigest, a .NET Aspire app that triages open pull requests for the Dapr project: a PrAnalyzer agent analyzes each PR, the workflow ranks them by risk, and a Summarize agent writes a headline digest. You'll trigger the workflow, crash it mid-run, and watch it resume from durable state — replaying the agent calls that already completed instead of calling the LLM again. You'll need around 25 minutes to complete the 3 challenges.
Ensure you have your own OpenAI API key before you start this track.
In this self-paced track, you'll learn:
- Why durable execution matters when agents make expensive, non-idempotent LLM calls.
- How to configure the Aspire AppHost.
- How to configure durable MAF agents.
- How to write the MAF agent orchestration.
Part of Make AI Agents Durable, a free learning path in Durable Execution & Dapr University.
When you've registered to access learning content, click the View fullscreen button in the course player below.
Having trouble loading the course? Open in a new tab