Microsoft.Agents.AI.DurableTask Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Classes
| Name | Description |
|---|---|
| AgentNotRegisteredException |
Exception thrown when an agent with the specified name has not been registered. |
| AgentSessionId.AgentSessionIdJsonConverter |
Custom JSON converter for AgentSessionId to ensure proper serialization and deserialization. |
| AIAgentExtensions |
Extension methods for the AIAgent class. |
| DurableAgentContext |
A context for durable agents that provides access to orchestration capabilities. This class provides thread-static access to the current agent context. |
| DurableAgentRunOptions |
Options for running a durable agent. |
| DurableAgentsOptions |
Builder for configuring durable agents. |
| DurableAgentThread |
An agent thread implementation for durable agents. |
| DurableAIAgent |
A durable AIAgent implementation that uses entity methods to interact with agent entities. |
| RunRequest |
Represents a request to run an agent with a specific message and configuration. |
| ServiceCollectionExtensions |
Agent-specific extension methods for the IServiceCollection class. |
| TaskOrchestrationContextExtensions |
Agent-related extension methods for the TaskOrchestrationContext class. |
Structs
| Name | Description |
|---|---|
| AgentSessionId |
Represents an agent session ID, which is used to identify a long-running agent session. |
Interfaces
| Name | Description |
|---|---|
| IAgentResponseHandler |
Handler for processing responses from the agent. This is typically used to send messages to the user. |