You can now deploy AI agents that retain conversation history, survive crashes, and scale automatically all with minimal maintenance and cost thanks to the new durable task extension for the Microsoft Agent Framework. Now in public preview, MAF delivers an impressive updgrade by leveraging Azure Durable Functions’ proven reliability for AI agent development.
Empowering Developers with Serverless Scalability
Integrating directly with Azure Functions, this extension empowers developers to host AI agents on a fully serverless platform. Automatic scaling means agents handle thousands of concurrent sessions or shut down to zero when idle, ensuring you only pay for what you use. Developers can focus on building intelligent workflows while the platform manages session state and conversation context seamlessly even across crashes or redeployments.
Standout Features for Durable Agents
- Serverless Hosting: Leverage Azure Functions for cost-effective, auto-scaling agent deployments.
- Automatic Session Management: Persist agent state and context across failures using durable storage with no manual intervention required.
- Deterministic Multi-Agent Orchestrations: Define and execute coordinated workflows across multiple agents with precision and repeatability.
- Human-in-the-Loop Workflows: Pause processes for human feedback and automatically resume once input is received, without incurring compute costs during wait times.
- Comprehensive Observability: The Durable Task Scheduler dashboard offers deep insights into operational metrics, conversation histories, and orchestration flows.
Overcoming Modern AI Agent Challenges
Today’s AI agents face increasingly complex scenarios including prolonged conversations, long-running tasks, unpredictable interruptions, and the need for orchestrated teamwork. The durable task extension tackles these with a robust foundation built on the 4D’s:
- Durability: Automatic checkpointing ensures agents pick up exactly where they left off after disruptions.
- Distributed Execution: Elastic scaling and seamless failover enable parallel processing without service interruptions.
- Determinism: Orchestrations are written as regular code, making workflows predictable and easily testable.
- Debuggability: Standard development tools and languages simplify maintenance and troubleshooting.
Real-World Applications
Developers can build durable agents in C# or Python using familiar development patterns. For instance, a customer support agent can maintain ongoing conversations over several weeks, even if the service restarts. In multi-agent workflows, one agent can gather research while another generates content, with built-in resilience to prevent repeating completed work after a failure.
Human-in-the-loop scenarios are also streamlined. Imagine a publishing agent drafts content, awaits editorial approval for days, and resumes instantly with full context when feedback arrives all without consuming resources or incurring costs during downtime.
Deep Observability and Monitoring
The Durable Task Scheduler dashboard transforms operational insight for teams. Visualize conversation threads, track agent handoffs, monitor workflows, and replay execution histories to debug or ensure compliance from a single, intuitive interface.
Getting Started: Language and Platform Support
This extension currently supports C# (.NET 8.0+) and Python (3.10+) on Azure Functions, with additional language support on the horizon. Microsoft provides hands-on samples and comprehensive documentation to help you rapidly prototype and deploy durable agents.
Raising the Bar for Enterprise AI
The durable task extension for Microsoft Agent Framework sets a new standard for AI agent resilience, scalability, and transparency. Whether you’re building customer service bots, automating content workflows, or orchestrating complex agent systems, this extension empowers you to deliver production-grade, reliable AI solutions on Azure—faster and more cost-effectively than ever before.

Revolutionizing AI Agents with the Durable Task Extension for Microsoft Agent Framework