Files
Giles Odigwe 8fc19a3437 Python: Deprecate Azure AI v1 (Persistent Agents API) helper methods (#4804)
* Deprecate Azure AI v1 (Persistent Agents API) helper methods

Add DeprecationWarning to v1 classes and functions that have been
superseded by the v2 (Projects/Responses) API:

- AzureAIAgentsProvider -> use AzureAIProjectAgentProvider
- AzureAIAgentClient -> use AzureAIClient
- AzureAIAgentOptions -> use AzureAIProjectAgentOptions
- to_azure_ai_agent_tools() -> use to_azure_ai_tools()
- from_azure_ai_agent_tools() -> use from_azure_ai_tools()
- AzureAIAgentClient static tool factory methods -> use AzureAIClient equivalents

All v1 components still function but emit warnings to guide migration.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Add deprecation warnings to AzureAIAgentsProvider methods

Mark create_agent(), get_agent(), and as_agent() as deprecated
individually, pointing to AzureAIProjectAgentProvider equivalents.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
8fc19a3437 ยท 2026-03-20 08:53:36 +00:00
History
..

Get Started with Microsoft Agent Framework Azure AI

Please install this package via pip:

pip install agent-framework-azure-ai --pre

Foundry Memory Context Provider

The Foundry Memory context provider enables semantic memory capabilities for your agents using Azure AI Foundry Memory Store. It automatically:

  • Retrieves static (user profile) memories on first run
  • Searches for contextual memories based on conversation
  • Updates the memory store with new conversation messages

Basic Usage Example

See the Foundry Memory example which demonstrates:

  • Creating a memory store using Azure AI Projects client
  • Setting up an agent with FoundryMemoryProvider
  • Teaching the agent user preferences
  • Retrieving information using remembered context across conversations
  • Automatic memory updates with configurable delays

and see the README for more information.