DurableAgentsOptionsExtensions Class
Definition
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.
Provides extension methods for registering and configuring AI agents in the context of the Azure Functions hosting environment.
public static class DurableAgentsOptionsExtensions
type DurableAgentsOptionsExtensions = class
Public Module DurableAgentsOptionsExtensions
- Inheritance
-
DurableAgentsOptionsExtensions
Methods
| Name | Description |
|---|---|
| AddAIAgent(DurableAgentsOptions, AIAgent, Action<FunctionsAgentOptions>) |
Adds an AI agent to the specified DurableAgentsOptions instance and optionally configures agent-specific options. |
| AddAIAgent(DurableAgentsOptions, AIAgent, Boolean, Boolean) |
Adds an AI agent to the specified options and configures trigger support for HTTP and MCP tool invocations. |
| AddAIAgentFactory(DurableAgentsOptions, String, Func<IServiceProvider,AIAgent>, Action<FunctionsAgentOptions>) |
Registers an AI agent factory with the specified name and optional configuration in the provided DurableAgentsOptions instance. |
| AddAIAgentFactory(DurableAgentsOptions, String, Func<IServiceProvider,AIAgent>, Boolean, Boolean) |
Registers an AI agent factory with the specified name and configures trigger options for the agent. |