agent-framework-durabletask
Durable Task integration for Microsoft Agent Framework.
What it is and what it does
This package wraps Microsoft Agent Framework agents to run them inside the Durable Task orchestration framework. Durable Task is a distributed orchestration system that automatically handles state persistence, replays conversation history on recovery, and manages failures transparently. You create a TaskHubGrpcWorker connected to a Durable Task server, wrap it in DurableAIAgentWorker, and register your agents with it; the framework then handles the rest.
The package is in beta and depends on agent-framework-core, durabletask, durabletask-azuremanaged, and python-dateutil. It targets Python 3.10 and later and is actively maintained by Microsoft. Use it when you need agent conversations to survive crashes, scale across multiple processes, or replay interactions for debugging.
Use it for:
- Host long-running conversational agents that must survive server restarts or crashes without losing state.
- Build multi-step agent workflows that orchestrate across multiple services and need automatic retry on failure.
- Replay agent conversations for debugging or auditing by replaying the same inputs through the durable history.
- Scale agent workloads across multiple worker processes using Durable Task's distributed orchestration.
- Integrate AI agents into existing Azure-managed Durable Task deployments for enterprise reliability.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Integrates Microsoft Agent Framework agents with the Durable Task framework to enable state persistence, conversation history replay, and automatic failure recovery.
Yes, if you are building agents with Microsoft Agent Framework and need durability, state persistence, and failure recovery. The package is actively maintained, has low install friction, carries no known vulnerabilities, and integrates tightly with the agent framework ecosystem. It is in beta, so expect potential API changes; verify compatibility with your target agent-framework-core version before committing to production.
Install
agent-framework-durabletask on PyPI
pip
pip install agent-framework-durabletaskuv
uv add agent-framework-durabletaskpoetry
poetry add agent-framework-durabletaskInstalling agent-framework-durabletask
Before you install
Low install friction with a pure-Python wheel. The package is actively maintained (last commit 2026-08-14) and in beta status. Four runtime dependencies are all from the Microsoft agent ecosystem, suggesting tight integration and coordinated maintenance.
License in practice
Licensed under MIT (permissive), so you can use, modify, and distribute the package freely with minimal restrictions.
Quickstart
pip install agent-framework-durabletask --pre
from agent_framework_durabletask import DurableAIAgentWorker
from durabletask.worker import TaskHubGrpcWorker
worker = TaskHubGrpcWorker(host_address="localhost:4001")
agent_worker = DurableAIAgentWorker(worker)
Requires Python 3.10 or later. A running Durable Task gRPC server (e.g., on localhost:4001) is needed for the worker to connect.
Verify before relying
- Whether the package works with agent-framework-core versions other than the one it was released with.
- Performance characteristics and scalability limits for managing multiple concurrent agents.
- Exact retry and failure-recovery semantics compared to other orchestration frameworks.
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — agent-framework-core, durabletask, durabletask-azuremanaged, python-dateutil |
| Maintenance | actively maintained — 15 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 447,425/month — #6,607 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: agent_framework_durabletask-1.0.0b260730-py3-none-any.whl
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
agent-framework-azurefunctionsHosts Microsoft Agent Framework agents on Azure…
permissive · top 15,000 on PyPI
durabletaskDurabletask is a Python SDK for building…
permissive · top 15,000 on PyPI
agent-framework-foundry-hostingIntegrates Agent Framework agents and workflows…
permissive · top 15,000 on PyPI
conductor-pythonBuild durable Conductor agents, workflows, and…
permissive · top 15,000 on PyPI
temporalioTemporal Python SDK provides a framework for…
permissive · top 1,000 on PyPI
durabletask.azuremanagedProvides a Python provider implementation for…
permissive · top 15,000 on PyPI
azure-functions-durableExtends Azure Functions to support stateful,…
permissive · top 5,000 on PyPI
agent-framework-coreBuild, orchestrate, and deploy AI agents and…
permissive · top 5,000 on PyPI
agent-frameworkBuilds and orchestrates AI agents powered by…
permissive · top 5,000 on PyPI
pydantic-ai-absurdAdds durable execution to Pydantic AI agents by…
permissive · top 15,000 on PyPI