skillfed

agent-framework-durabletask

Durable Task integration for Microsoft Agent Framework.

agent-framework-durabletask v1.0.0b260730 447.4K downloads/30d#6,607 on PyPI12,804
Permissive license Active released

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-durabletask

uv

uv add agent-framework-durabletask

poetry

poetry add agent-framework-durabletask

Installing 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

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Typing :: Typed

Tags

durable task agent frameworkpersistent agent state managementagent framework orchestrationconversation history replayagent failure recoverymicrosoft agent framework integrationstateful ai agent hosting
orchestrationagent-frameworkstate-persistence

More Application Frameworks packages

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

textual

Textual is a Python framework for building…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

mcp

Build and connect to Model Context Protocol…

permissive · top 1,000 on PyPI

Werkzeug

Werkzeug is a WSGI utility library providing…

permissive · top 1,000 on PyPI

agent-framework-azurefunctions

Hosts Microsoft Agent Framework agents on Azure…

permissive · top 15,000 on PyPI

durabletask

Durabletask is a Python SDK for building…

permissive · top 15,000 on PyPI

agent-framework-foundry-hosting

Integrates Agent Framework agents and workflows…

permissive · top 15,000 on PyPI

conductor-python

Build durable Conductor agents, workflows, and…

permissive · top 15,000 on PyPI

temporalio

Temporal Python SDK provides a framework for…

permissive · top 1,000 on PyPI

durabletask.azuremanaged

Provides a Python provider implementation for…

permissive · top 15,000 on PyPI

azure-functions-durable

Extends Azure Functions to support stateful,…

permissive · top 5,000 on PyPI

agent-framework-core

Build, orchestrate, and deploy AI agents and…

permissive · top 5,000 on PyPI

agent-framework

Builds and orchestrates AI agents powered by…

permissive · top 5,000 on PyPI

pydantic-ai-absurd

Adds durable execution to Pydantic AI agents by…

permissive · top 15,000 on PyPI

Further reading