Microsoft Agent Framework + Dapr
Make your Microsoft Agent Framework agents production-ready. These tutorials show you how to add fault tolerance using Dapr.
Why Dapr for Microsoft Agent Framework?โ
| Challenge | Dapr Solution |
|---|---|
| Agent crashes lose all progress | Durable workflows checkpoint every step |
| Agents tightly coupled, hard to scale | Pub/sub decouples communication |
| Chat memory lost on restart | State store persists agent memory across restarts |
| Custom retry logic everywhere | Built-in retries with exponential backoff |
Conversation API required
Unlike the third-party Python frameworks, the Microsoft Agent Framework integration (diagridio/dotnet-ai) reaches its LLM through a Dapr conversation component โ register the conversation client with AddDaprConversationClient() and pass a conversationComponentName when you add an agent. A conversation component is required here, not optional. See the framework requirements table.