agent-framework-durable-extension / durabletask
AGENTS.md25 starsChanged 4 months agoMITView on GitHub
Durable execution support for long-running agent workflows using Azure Durable Functions.
In this repository2 other files it gives its agents.
The file
Files
Durable Task Package (agent-framework-durabletask)
Durable execution support for long-running agent workflows using Azure Durable Functions.
Main Classes
Client Side
DurableAIAgentClient- Client for invoking durable agentsDurableAIAgent- Shim for creating durable agents
Worker Side
DurableAIAgentWorker- Worker that executes durable agent tasksDurableAgentExecutor- Executes agent logic within durable contextAgentEntity- Durable entity for agent state management
State Management
DurableAgentState- State container for durable agentsDurableAgentSession- Session management for durable agentsDurableAIAgentOrchestrationContext- Orchestration context
Callbacks
AgentCallbackContext- Context for agent callbacksAgentResponseCallbackProtocol- Protocol for response callbacks
Usage
from agent_framework import Agent
from agent_framework.openai import OpenAIChatCompletionClient
from agent_framework_durabletask import DurableAIAgentClient, DurableAIAgentWorker
from durabletask.client import TaskHubGrpcClient
from durabletask.worker import TaskHubGrpcWorker
# Client side
dt_client = TaskHubGrpcClient(host_address="localhost:4001")
agent_client = DurableAIAgentClient(dt_client)
durable_agent = agent_client.get_agent("assistant")
# Worker side
dt_worker = TaskHubGrpcWorker(host_address="localhost:4001")
agent_worker = DurableAIAgentWorker(dt_worker)
# Create a chat client for the agent
chat_client = OpenAIChatCompletionClient()
my_agent = Agent(client=chat_client, name="assistant")
agent_worker.add_agent(my_agent)Import Path
from agent_framework_durabletask import DurableAIAgentClient, DurableAIAgentWorkerDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

