Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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 agent_framework import Agent
from agent_framework.openai import OpenAIChatCompletionClient
from agent_framework_durabletask import DurableAIAgentWorker
from durabletask.worker import TaskHubGrpcWorker

# Create the worker
worker = TaskHubGrpcWorker(host_address="localhost:4001")
agent_worker = DurableAIAgentWorker(worker)

chat_client = OpenAIChatCompletionClient()
my_agent = Agent(client=chat_client, name="assistant")
agent_worker.add_agent(my_agent)

For more details, review the standalone Durable Task samples and the full Agent Framework Python documentation.

Release files for agent-framework-durabletask 1.0.0b260922

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agent-framework-durabletask 1.0.0b260922
File Size Uploaded
agent_framework_durabletask-1.0.0b260922.tar.gz 72.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agent-framework-durabletask 1.0.0b260922
File Interpreter ABI Platform
agent_framework_durabletask-1.0.0b260922-py3-none-any.whl Python 3 none any Details

Total release size: 159.8 kB

Release files / agent_framework_durabletask-1.0.0b260922.tar.gz

Download URL agent_framework_durabletask-1.0.0b260922.tar.gz
Size 72.6 kB
Tags Source
SHA-256 checksum
How to use checksums
07251c760a3195a5fd2523ccd6ed1e7eece7e274330e07d050077d1b8ed70713
BLAKE2b-256 checksum
How to use checksums
b7ab2efdb5d953fa3b85ba06a2e1b1d70a7af929fae59060a2512f8a593b0909
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / agent_framework_durabletask-1.0.0b260922-py3-none-any.whl

Download URL agent_framework_durabletask-1.0.0b260922-py3-none-any.whl
Size 87.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e98c85d5dae1a3cb5ced6fa8a168a1a1155bfac957ecff7a9d47cca0327cb1e
BLAKE2b-256 checksum
How to use checksums
91606b04367417735bc1e0579d713076ef1a55f79176dd4318f01655ceceb9f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release history Release notifications | RSS feed

This release

1.0.0b260922 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page