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 Python README and the samples directory.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_framework_durabletask-1.0.0b260730.tar.gz (72.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file agent_framework_durabletask-1.0.0b260730.tar.gz.

File metadata

  • Download URL: agent_framework_durabletask-1.0.0b260730.tar.gz
  • Upload date:
  • Size: 72.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agent_framework_durabletask-1.0.0b260730.tar.gz
Algorithm Hash digest
SHA256 4c6ed98f7fedbd7733f110991a8eea9fe7254ca56d12e5198efd8991251698f2
MD5 26dffef91e0b6812e127a8b06696b251
BLAKE2b-256 0ee05113b292a854046e6af90cb869d9eb6f2f4c611bef10e9cbabcb138d00ee

See more details on using hashes here.

File details

Details for the file agent_framework_durabletask-1.0.0b260730-py3-none-any.whl.

File metadata

  • Download URL: agent_framework_durabletask-1.0.0b260730-py3-none-any.whl
  • Upload date:
  • Size: 85.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agent_framework_durabletask-1.0.0b260730-py3-none-any.whl
Algorithm Hash digest
SHA256 41b403b824e231be99643e32e019f35d50ded48c5a157e9938627aa0159ff34d
MD5 95f45d344903c6c891d67384918c868e
BLAKE2b-256 62879bfb24812983efa30f1da875e09dc8b9788e9ab713b204939953781eed85

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page