[ ABORT TO HUD ]
SEQ. 1
SEQ. 2
SEQ. 3
SEQ. 4

SDK v2 Migration & Deadlines

💻 The Foundry SDK 9 min 80 BASE XP

Critical Migration Guide

The azure-ai-projects v2.0.0 GA release introduced breaking changes that require attention from all existing Foundry developers.

Breaking Changes Summary

ChangeBefore (v1.x)After (v2.x)
Agent PackageSeparate azure-ai-agentsRemoved — agents live in azure-ai-projects
Thread ConceptThreadsReplaced by Conversations
Tool ClassesOld namesSuffixed with Tool (GA) or PreviewTool
Tracing SpansCustom namesOpenTelemetry gen_ai.* conventions
ProtocolAssistants APIOpenAI Responses API protocol internally

Critical Retirement Deadlines

DeadlineWhat's RetiringAction Required
May 30, 2026azure-ai-inference packageMigrate to the openai package
June 30, 2026AzureML SDK v1Migrate to azure-ai-projects v2
August 26, 2026Assistants APIRewrite agents using Foundry Agent Service

Migration Checklist

pip uninstall azure-ai-agents      # Remove old package
pip install "azure-ai-projects>=2.0.0"  # Install unified SDK
# Update: Threads → Conversations
# Update: Tool class names (add Tool/PreviewTool suffix)
# Update: KQL dashboards for new gen_ai.* span names
🚧 Important: The allow_preview boolean on the AIProjectClient constructor replaces previous per-method feature flags. Set it to True to access preview features like Memory Service and MCP Server.
FOUNDRY VERIFICATION
QUERY 1 // 2
When does the Assistants API sunset on Azure?
December 2025
May 30, 2026
August 26, 2026
Never
Watch: 139x Rust Speedup
SDK v2 Migration & Deadlines | The Foundry SDK — Azure Foundry Academy