Files
agent-framework/python/packages/durabletask
T
Eduard van Valkenburg dc9439a75a Python: [BREAKING] Fix #3613 chat/agent message typing alignment (#3920)
* Fix #3613 message typing across chat and agents

* Address #3613 review feedback and sample input style

* refactor: use shared AgentRunMessages aliases (#3613)

* refactor: rename agent run input aliases for #3613

* samples: inline image content in run calls

* core: export AgentRunInputs from package init

* core: use explicit init re-exports without __all__

* updated logging and inits

* Fix core mypy export and samples XML note

* Remove AgentRunInputsOrNone and dedupe loggers

* Remove prepare_messages helper

* fix integration tests
dc9439a75a · 2026-02-16 15:27:25 +00:00
History
..
2026-02-13 00:00:57 +00:00

Get Started with Microsoft Agent Framework Durable Task

PyPI

Please install this package via pip:

pip install agent-framework-durabletask --pre

Durable Task Integration

The durable task integration lets you host Microsoft Agent Framework agents using the Durable Task framework so they can persist state, replay conversation history, and recover from failures automatically.

Basic Usage Example

from durabletask.worker import TaskHubGrpcWorker
from agent_framework.azure import DurableAIAgentWorker

# Create the worker
with TaskHubGrpcWorker(...) as worker:

    # Register the agent worker wrapper
    agent_worker = DurableAIAgentWorker(worker)

    # Register the agent
    agent_worker.add_agent(my_agent)

For more details, review the Python README and the samples directory.