A step-by-step walkthrough for deploying an AI agent to Microsoft Foundry using the Azure Developer CLI (azd). The `azd ai agent` command set handles the full lifecycle: scaffolding infrastructure-as-code (Bicep), provisioning Azure resources, deploying the agent, invoking it remotely or locally, streaming real-time logs, and
Table of contents
Prerequisites Copy linkStep 1: Clone a sample agent project Copy linkStep 2: Authenticate and deploy Copy linkStep 3: Try it in the Foundry playground Copy linkStep 4: Invoke your agent from the terminal Copy linkStep 5: Run locally for development Copy linkStep 6: Monitor in real time Copy linkStep 7: Check agent health Copy linkStep 8: Clean up resources Copy linkBonus: Wire up a frontend chat app Copy linkThe full command set at a glance Copy linkWhat comes next Copy linkGet started Copy linkSort: