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

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.0b260429.tar.gz (30.6 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.0b260429.tar.gz.

File metadata

  • Download URL: agent_framework_durabletask-1.0.0b260429.tar.gz
  • Upload date:
  • Size: 30.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":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.0b260429.tar.gz
Algorithm Hash digest
SHA256 ca1959ed74e353c38b5c2939eb59f1bedb2d3f32a20ebef36936008f5edea67e
MD5 520344bd432ef66b3101a7ad65b0ebe0
BLAKE2b-256 ee32b231f10328877060faa0a38d9a5843a2952b4066ee372cc21d9f6b65eca7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agent_framework_durabletask-1.0.0b260429-py3-none-any.whl
  • Upload date:
  • Size: 36.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":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.0b260429-py3-none-any.whl
Algorithm Hash digest
SHA256 09c30aa291e46a853065b49cb7abf0c268fa318c1b4ab704f1019d7fc8e02564
MD5 cf9da3ac082477e801e519896af986b7
BLAKE2b-256 a45b2879f6630195c76aa4e965ec6721333ffcd9213d9c0a4ab0c1de162ce0b0

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