// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.Agents.AI.DurableTask; /// /// Represents a client for interacting with a durable agent. /// internal interface IDurableAgentClient { /// /// Runs an agent with the specified request. /// /// The ID of the target agent session. /// The request containing the message, role, and configuration. /// The cancellation token for scheduling the request. /// A task that returns a handle used to read the agent response. Task RunAgentAsync( AgentSessionId sessionId, RunRequest request, CancellationToken cancellationToken = default); }