Microsoft Foundry
Build your first agent with Azure AI Agent Workshop
Ask AI about Microsoft Foundry
Powered by Claude Β· Grounded in docs
I know everything about Microsoft Foundry. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
οΏ½ REPOSITORY MODERNIZATION IN PROGRESS | January 2026 π§
β οΈ IMPORTANT NOTICE: This repository is currently being upgraded to align with the latest Microsoft Foundry architecture and SDK patterns. During this transition period:
- β The repository may not function correctly
- π Breaking infrastructure changes are being implemented
- π Expected completion: Late February 2026
What's Changing?
- β¨ Modern CognitiveServices architecture (replacing MachineLearningServices Hub/Project)
- π Keyless authentication with Entra ID (DefaultAzureCredential)
- π― Simplified infrastructure (60% less complexity)
- π Latest azure-ai-projects SDK patterns
π See CHANGELOG.md for detailed migration information
Welcome to the "Build Agents with Microsoft Foundry" workshop repo! π
Dive into the world of intelligent conversational agents with Microsoft Foundry & AI Agent Service, a seamless blend of service and SDK that simplifies the development of robust AI-driven solutions. In this hands-on workshop, you'll learn to create a powerful agent capable of answering sales-related queries, performing data analysis, generating visualizations, and integrating external data sources to deliver enhanced business insights. π
π Beyond Chatbots: Unlock the Future of AI Applications π
π‘ Think Bigger, Build Smarter!
Traditional chatbots and Copilots like ChatGPT have revolutionized how we interact with AI. But why stop there? This workshop challenges you to think beyond chatbots and explore the next frontier: Agentic Applications.
π What Are Agentic Applications?
Agentic applications are AI systems with superpowers:
- π£οΈ Conversational Intelligence: Engage users naturally.
- π€ Action-Oriented Capabilities: Automate workflows and execute meaningful actions.
- π Proactive Insights: Deliver transformative solutions to complex business challenges.
π Why Go Beyond Chatbots?
By embracing Agentic applications, youβll:
- Unlock New Possibilities: Tackle advanced use cases that traditional chatbots canβt handle.
- Drive Innovation: Build solutions tailored to your unique business needs.
- Empower Decision-Making: Enable smarter, faster, and more impactful decisions.
π Your Journey Starts Here
This workshop is your gateway to creating intelligent, action-driven AI solutions. Let's redefine what's possible with Microsoft Foundry and take your AI development to the next level! πΌβ¨
β±οΈ Duration
π 45 - 60 minutes
π₯ Watch a Recent Workshop Execution Video
Catch a glimpse of the workshop in action! Watch the latest execution of this workshop to see how to build intelligent agents step-by-step. Click the thumbnail below to view the video:
π‘ The Use Case for This Lab
Imagine you are a sales manager at Contoso, a multinational retail company that sells outdoor equipment. ποΈ You need to analyze sales data to find trends, understand customer preferences, and make informed business decisions. To help you, Contoso has developed a conversational agent that can answer questions about your sales data. π¬π
π― What You Will Learn
By the end of this workshop, you will:
- π οΈ Build an agent app using Azure AI Agent Service.
- π Explore its tools.
- π Effectively use instructions to guide the LLM.
After the basic workshop we will guide you to continue enhancing your agent with more advanced features, such as:
- π Expand the agent's capabilities beyond basic conversational tasks.
- π§ Integrate advanced AI features such as reasoning, planning, and decision-making.
- π Connect the agent to external APIs and data sources for enriched functionality.
- π Enable the agent to generate visualizations and actionable insights from datasets.
- π€ Incorporate multi-agent collaboration to solve intricate business challenges.
- π Leverage Azure AI services to scale and enhance the agent's performance.
π Workshop Instructions
π Start the full workshop here: Introduction
π Additional Resources
When you finished the workshop, check out additional resources such as the samples in the samples folder and the official documentation.
Samples overview
Agent Creation:
- Create AI Agents using the AI Foundry UI
- Create AI Agents using Jupyter Notebooks
- Create RAG Agents using Jupyter Notebooks
- Create Multi-Agent Systems using Jupyter Notebooks
- Create Agents with the Bing Grounding Tool
Deep Research Tool:
- Create Agents with the Deep Research Tool (under revision - o3-deep-research deployment temporarily deactivated)
- Debugging sample for the Deep Research Tool (under revision)
Agent Frameworks:
- Create Agents using Semantic Kernel (will be upgraded to Agent Framework samples)
- Create Agents using AutoGen.... (coming soon)
- Create Agents using the Microsoft Agent Framework.... (coming soon)
Autonomous Agents:
- Create Autonomous Agents....(coming soon)
Sovereign AI using Foundry Local:
Build User Interfaces:
- Create a (mockup) User Interface for Agents using Vibe Coding
- Create a NLWeb UI for Agents....(coming soon)
MCP Integration:
-
Create MCP Server....(coming soon)
Multimodal Agents:
- Create a Talking Avatar website using Azure Text-to-Speech Avatar Real-Time API
- Create Multimodal Agents....(coming soon)
- Create Agents with Vision Tool....(coming soon)
- Create Agents with Speech Tool....(coming soon)
Integration with Business Applications:
- Create Agents with SAP Connector....(coming soon)
- Create Agents with Salesforce Connector....(coming soon)
Compliance, Observability & Management:
- Implement Content Safety and Responsible AI....(coming soon)
- Monitor Agent Performance with Application Insights....(coming soon)
- Set up Logging and Tracing for Agents....(coming soon)
- Implement Cost Management and Budgeting....(coming soon)
- Deploy Agents with Azure DevOps/GitHub Actions....(coming soon)
- Manage Agent Lifecycle and Versioning....(coming soon)
- Implement Compliance Controls (GDPR, HIPAA, etc.)....(coming soon)
Resources for organizing a hackathon π
If you are interested in organizing a hackathon using this repository, check out the infra folder. π It contains scripts and templates to set up the Azure infrastructure needed for the hackathon, as well as policies to control costs. π° Below are the links to the guides:
- Hackathon Infrastructure Setup Guide: π οΈ Learn how to set up the necessary Azure infrastructure for hosting a hackathon, including cost control policies and deployment scripts. Read more here.
- Cost Control Policies Guide: π Understand the cost control policies implemented to manage and monitor expenses during the hackathon. Read more here.
π Recent Changes - January 2026
π Major Infrastructure Modernization
Key Changes:
- New Architecture: Migrated from MachineLearningServices Hub/Project to modern CognitiveServices-based Microsoft Foundry
- Simplified Infrastructure: Removed 4 dependent resources (Storage, KeyVault, AppInsights, Container Registry) - now just 2 core resources
- Keyless Authentication: Entra ID (DefaultAzureCredential) is now the default - no more API key management
- Modern Endpoints:
- Project endpoint:
https://{resource}.services.ai.azure.com/api/projects/{project} - Inference endpoint:
https://{resource}.services.ai.azure.com/models
- Project endpoint:
- SDK Alignment: Ready for azure-ai-projects SDK (Python/JS/.NET)
Impact:
- β οΈ Breaking change - requires fresh deployment
- β 34% smaller templates (1246 β 823 lines)
- β Best practice security (keyless auth)
- β Aligned with Microsoft Foundry roadmap
Files Updated:
infra/main.bicep- Complete rewrite with modern architectureinfra/modules/ai-foundry.bicep- NEW: Microsoft Foundry resourceinfra/modules/ai-foundry-project.bicep- NEW: Project as child resourceinfra/main.parameters.json- Updated parameter structuredocs/docs/getting-started.md- Updated Azure CLI login commands
Migration Guide: See CHANGELOG.md for detailed migration steps and breaking changes.
Old Architecture Backup: Available in infra/main-old-hub-architecture.bicep
