Skip to main content

Durable Task integration for Microsoft Agent Framework.

Project description

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.azure import AzureOpenAIChatClient
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 = AzureOpenAIChatClient()
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.

Project details


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.0b260330.tar.gz (30.8 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.0b260330.tar.gz.

File metadata

  • Download URL: agent_framework_durabletask-1.0.0b260330.tar.gz
  • Upload date:
  • Size: 30.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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.0b260330.tar.gz
Algorithm Hash digest
SHA256 b18b61247d6a77abb3670b89011eb90822ccceaae27a535cc62ab1dcfc45b88c
MD5 1688d6739434d5af3d857b75f7ebc5a9
BLAKE2b-256 1d780741b7a473b8dec5fc146765075decaad14236b5ceabea5ac49951a482ec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agent_framework_durabletask-1.0.0b260330-py3-none-any.whl
  • Upload date:
  • Size: 36.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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.0b260330-py3-none-any.whl
Algorithm Hash digest
SHA256 1ba81d598fc2d9d8c1af04def15ac80ac001aeb9bf1c4a44e42c921de87754c8
MD5 41bf42b4ada718938c535d963758bdcc
BLAKE2b-256 b6aba1127f691a7db0be6e91765e98a32ef37edc15f37ccc904c1667a665bcbc

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 Pingdom Monitoring Sentry Error logging StatusPage Status page