AI Foundry

Classic Azure AI Inference recipes and current Foundry migration paths for text, tools, images, knowledge, and structured output.

This source uses Agno's classic AzureAIFoundry adapter and the azure-ai-inference package, which Microsoft retired on August 26, 2026. Existing endpoint availability is separate from SDK retirement. For a new integration, use the current Foundry API setup with a compatible deployment. The classic setup below applies only to an existing compatible endpoint unless a current adaptation is explicitly provided.

ExampleDescription
Azure BasicRun a Phi-4 agent through the classic Azure AI Inference adapter, with a link to the current Foundry API.
AI Foundry DBPersist a classic Azure AI Inference session in Postgres and test history with tool-free prompts.
Azure Demo CohereMigrate a retired Azure Cohere recipe to a current Foundry Chat Completions deployment.
Azure Demo MistralMigrate a retired Azure Mistral recipe to a current Foundry Chat Completions deployment.
Azure Image AgentMigrate an Azure AI Foundry image-URL agent from retired Llama 3.2 Vision to Llama 4 Scout.
Azure Image Agent BytesMigrate an Azure AI Foundry image-bytes agent from retired Llama 3.2 Vision to Llama 4 Scout.
KnowledgeQuery PgVector knowledge through a current Foundry deployment with separate Azure OpenAI embeddings.
AI Foundry Structured OutputUnderstand prompt-guided output in the classic Foundry adapter and use Azure OpenAI for native structured output.
AI Foundry Tool UseUse WebSearchTools with a current Foundry deployment that supports function calling.