Make sure you are using the latest version of the Microsoft.Azure.Functions.Worker NuGet package (2.2.0 or greater) in your function app. For existing apps, you will need to manually upgrade the package version. Starting November 12, 2025, new apps created using our templates will automatically include version 2.2.0 or greater.
To enable the ability to define durable agents and register them with the function app, you need to reference the following NuGet packages:
Core Agent Packages:
Microsoft.Agents.AI.Hosting.AzureFunctions- Provides methods to register AI Agents with Azure Functions