Skip to content

.NET: [Breaking Change] Moving MAAI.AzureAI V1 Package -> MAAI.AzureAI.Persistent (V1) - #1902

Merged
Roger Barreto (rogerbarreto) merged 3 commits into
microsoft:mainfrom
rogerbarreto:azureai-to-azureai-persistent
Nov 5, 2025
Merged

.NET: [Breaking Change] Moving MAAI.AzureAI V1 Package -> MAAI.AzureAI.Persistent (V1)#1902
Roger Barreto (rogerbarreto) merged 3 commits into
microsoft:mainfrom
rogerbarreto:azureai-to-azureai-persistent

Conversation

@rogerbarreto

Copy link
Copy Markdown
Member

This pull request updates the codebase to use the new Microsoft.Agents.AI.AzureAI.Persistent package instead of the previous Microsoft.Agents.AI.AzureAI package. The change is applied consistently across solution, sample projects, and documentation, ensuring all references and dependencies are aligned with the new persistent package.

Package and project reference updates:

  • Replaced all references to Microsoft.Agents.AI.AzureAI with Microsoft.Agents.AI.AzureAI.Persistent in project files throughout sample projects, including A2AServer.csproj, AgentsInWorkflows.csproj, and various workflow-related samples. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]

  • Updated the solution file agent-framework-dotnet.slnx to reference the new Microsoft.Agents.AI.AzureAI.Persistent project and its corresponding unit test project, removing the old AzureAI references. [1] [2]

Documentation update:

  • Changed the package reference in .github/upgrades/prompts/SemanticKernelToAgentFramework.md to instruct users to use Microsoft.Agents.AI.AzureAI.Persistent instead of the previous package.

Copilot AI review requested due to automatic review settings November 4, 2025 18:45
@markwallace-microsoft Mark Wallace (markwallace-microsoft) added documentation Usage: [Issues, PRs], Target: documentation in the code base and learn docs .NET Usage: [Issues, PRs], Target: .Net workflows Usage: [Issues, PRs], Target: Workflows labels Nov 4, 2025
@rogerbarreto Roger Barreto (rogerbarreto) added the breaking change Usage: [PRs], Target: all PRs that introduce changes that are not backward compatible label Nov 4, 2025

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors Azure AI persistent agent functionality by separating it into a dedicated Microsoft.Agents.AI.AzureAI.Persistent project. The change creates a clearer separation of concerns between general Azure AI and persistent agent-specific functionality.

  • Creates new Microsoft.Agents.AI.AzureAI.Persistent project with extension methods for PersistentAgentsClient
  • Updates all project references from Microsoft.Agents.AI.AzureAI to Microsoft.Agents.AI.AzureAI.Persistent across samples, tests, and workflows
  • Corrects the namespace in unit tests to match the new project structure

Reviewed Changes

Copilot reviewed 25 out of 27 changed files in this pull request and generated no comments.

Show a summary per file
File Description
dotnet/src/Microsoft.Agents.AI.AzureAI.Persistent/Microsoft.Agents.AI.AzureAI.Persistent.csproj New project file for persistent agents functionality
dotnet/src/Microsoft.Agents.AI.AzureAI.Persistent/PersistentAgentsClientExtensions.cs New extension methods for PersistentAgentsClient with GetAIAgent and CreateAIAgent methods
dotnet/tests/Microsoft.Agents.AI.AzureAI.Persistent.UnitTests/Microsoft.Agents.AI.AzureAI.Persistent.UnitTests.csproj Updated project reference to new persistent project
dotnet/tests/Microsoft.Agents.AI.AzureAI.Persistent.UnitTests/Extensions/PersistentAgentsClientExtensionsTests.cs Updated namespace to match new project structure
dotnet/tests/AzureAIAgentsPersistent.IntegrationTests/AzureAIAgentsPersistent.IntegrationTests.csproj Updated project reference to new persistent project
dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Microsoft.Agents.AI.Workflows.Declarative.csproj Updated project reference to new persistent project
dotnet/samples/*/**.csproj (multiple) Updated all sample projects to reference new persistent project
dotnet/agent-framework-dotnet.slnx Updated solution file to reference new project and test project
.github/upgrades/prompts/SemanticKernelToAgentFramework.md Updated documentation to reference new package name

@rogerbarreto
Roger Barreto (rogerbarreto) added this pull request to the merge queue Nov 4, 2025
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 4, 2025
@rogerbarreto
Roger Barreto (rogerbarreto) added this pull request to the merge queue Nov 5, 2025
Merged via the queue into microsoft:main with commit 6ca907f Nov 5, 2025
15 checks passed
Roger Barreto (rogerbarreto) added a commit that referenced this pull request Nov 5, 2025
* .NET: [BREAKING] Simplify TextSearchProvider construction and improve Mem0Provider scoping. (#1905)

* Simplify TextSearchProvider construction and improve Mem0Provider scoping

* Fixing indentation.

* .NET: [Breaking Change] Moving MAAI.AzureAI V1 Package  -> MAAI.AzureAI.Persistent (V1) (#1902)

* Update AzureAI -> AzureAI.Persistent

* Fix sample reference

* Fix workflow lookup with AddAsAIAgent(name) when name differs from workflow name (#1925)

* .NET: AG-UI support for .NET (#1776)

* Initial plan

* Infrastructure setup

* Plan for minimal client

* Plan update

* Basic agentic chat

* cleanup

* Cleanups

* More cleanups

* Cleanups

* More cleanups

* Test plan

* Sample

* Fix streaming and error handling

* Fix notifications

* Cleanups

* cleanup sample

* Additional tests

* Additional tests

* Run dotnet format

* Remove unnecessary files

* Mark packages as non packable

* Fix build

* Address feedback

* Fix build

* Fix remaining warnings

* Feedback

* Feedback and cleanup

* Cleanup

* Cleanups

* Cleanups

* Cleanups

* Retrieve existing messages from the store to send them along the way and update the sample client

* Run dotnet format

* Add ADR for AG-UI

* Switch to use the SG and use a convention for run ids

* Cleanup MapAGUI API

* Fix formatting

* Fix solution

* Fix solution

* Python: Added parameter to disable agent cleanup in AzureAIAgentClient (#1882)

* Removed automatic agent cleanup in AzureAIAgentClient

* Revert "Removed automatic agent cleanup in AzureAIAgentClient"

This reverts commit 89846c7.

* Exposed boolean flag to control deletion behavior

* Update sample

* [BREAKING] refactor: Fix unintuitive binding of StreamAsync (#1930)

In #1551 we added a mechanism to open a Streaming workflow run without providing any input. This caused unintuitive behaviour when passing a string as input without providing a runId, resulting in the input being misinterpreted as the runId and the workflow not executing.

As well, the name caused confusion about why the Workflow was not running when using the input-less StreamAsync (since the Workflow cannot run without any messages to drive its execution).

* Python: fix missing packaging dependency (#1929)

* fix missing packaging dependency

* add aiohttp to azureai

* Bring back files

* Address merge conflict

* Address merge conflict+

---------

Co-authored-by: westey <164392973+westey-m@users.noreply.github.com>
Co-authored-by: Jeff Handley <jeffhandley@users.noreply.github.com>
Co-authored-by: Javier Calvarro Nelson <jacalvar@microsoft.com>
Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com>
Co-authored-by: Jacob Alber <jaalber@microsoft.com>
Co-authored-by: Eduard van Valkenburg <eavanvalkenburg@users.noreply.github.com>
Aris Nguyen (arisng) pushed a commit to arisng/agent-framework that referenced this pull request Feb 2, 2026
…I.Persistent (V1) (microsoft#1902)

* Update AzureAI -> AzureAI.Persistent

* Fix sample reference
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Usage: [PRs], Target: all PRs that introduce changes that are not backward compatible documentation Usage: [Issues, PRs], Target: documentation in the code base and learn docs .NET Usage: [Issues, PRs], Target: .Net workflows Usage: [Issues, PRs], Target: Workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants