Files
agent-framework/python/packages/durabletask
T
Dmytro Struk 8b475afe17 Python: Add BaseAgent implementation for Claude Agent SDK (#3509)
* Added ClaudeAgent implementation

* Updated streaming logic

* Small updates

* Small update

* Fixes

* Small fix

* Naming improvements

* Updated imports

* Addressed comments

* Updated package versions
8b475afe17 ยท 2026-01-30 18:11:41 +00:00
History
..

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