Skip to content

microsoft/aitour26-WRK542-prototype-agents-with-Foundry-toolkit-and-model-context-protocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

104 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

decorative banner

๐Ÿ”ฅWRK542: Prototype agents with Foundry Toolkit and Model Context Protocol

Microsoft Foundry Discord Microsoft Foundry Developer Forum

If you will be delivering this session, check the session-delivery-sources folder for slides, scripts, and other resources.

Session Description

Learn how to build a conversational AI agent in VS Code using the Microsoft Foundry Toolkit and the Model Context Protocol (MCP). You'll explore and compare models to find the best fit for your agent, configure its instructions and enable sales analysis and product inventory management.

๐Ÿง  Learning Outcomes

By the end of this session, learners will be able to:

  • Explore and compare models to select the best fit for their business scenario
  • Augment models with prompts and data to get more accurate and grounded responses
  • Prototype an agent by combining models and instructions with tools via MCP (Model Context Protocol)

๐Ÿ’ป Technologies Used

  1. AI toolkit for Visual Studio Code
  2. GitHub models
  3. Microsoft Foundry Models
  4. MCP - Model Context Protocol

๐Ÿ”— Session Resources

Resources Links Description
Additional Resources for this session https://learn.microsoft.com Links specific to this session

๐Ÿ“š Continued Learning Resources

Resources Links Description
AI Tour 2026 Resource Center https://aka.ms/AITour26-Resource-Center Links to all repos for AI Tour 26 Sessions
Microsoft Foundry Community Discord Microsoft Foundry Discord Connect with the Microsoft Foundry Community!
Learn at AI Tour https://aka.ms/LearnAtAITour Continue learning on Microsoft Learn

๐ŸŒ Multi-Language Support

Coming soon

Content Owners

Dave Glover
Dave Glover (Python)

๐Ÿ“ข
Carlotta Castelluccio
Carlotta Castelluccio

๐Ÿ“ข

๐Ÿš€ Try Azure for Free!

You might need an Azure subscription to follow the steps in this repo. ๐Ÿ‘‰ Start your free journey here: https://aka.ms/devrelft

This Azure Free Trial provides $200 credit for 30 days. Some features may incur costs after the trial. Check the Azure pricing calculator to estimate costs.

Important

Free Tier Limitations: The Azure free subscription has significant constraints that may prevent full implementation of this repo:

  • Model access: Some advanced models (e.g., GPT-5, Claude) may not be available or have very limited quotas
  • Rate limits: Strict API call limits (e.g., requests per minute, tokens per day)
  • Region restrictions: Free tier resources may only be available in limited regions
  • Feature restrictions: Some Microsoft Foundry features (agent orchestration, evaluations) may require pay-as-you-go
  • Credit exhaustion: $200 credit can be consumed quickly with heavy AI model usage

Recommendation: For full functionality, consider a pay-as-you-go subscription or request access to Azure for Students ($100 credit, no credit card required) or the Microsoft for Startups Founders Hub.

Responsible AI

Microsoft is committed to helping our customers use our AI products responsibly, sharing our learnings, and building trust-based partnerships through tools like Transparency Notes and Impact Assessments. Many of these resources can be found at https://aka.ms/RAI. Microsoftโ€™s approach to responsible AI is grounded in ourโ€ฏAI principles of fairness, reliability and safety, privacy and security, inclusiveness, transparency, and accountability.

Large-scale natural language, image, and speech models - like the ones used in this sample - can potentially behave in ways that are unfair, unreliable, or offensive, in turn causing harms. Please consult the Azure OpenAI service Transparency note to be informed about risks and limitations.

The recommended approach to mitigating these risks is to include a safety system in your architecture that can detect and prevent harmful behavior. Azure AI Content Safety provides an independent layer of protection, able to detect harmful user-generated and AI-generated content in applications and services. Azure AI Content Safety includes text and image APIs that allow you to detect material that is harmful. Within Azure AI Foundry portal, the Content Safety service allows you to view, explore and try out sample code for detecting harmful content across different modalities. The following quickstart documentation guides you through making requests to the service.

Another aspect to take into account is the overall application performance. With multi-modal and multi-models applications, we consider performance to mean that the system performs as you and your users expect, including not generating harmful outputs. It's important to assess the performance of your overall application using Performance and Quality and Risk and Safety evaluators. You also have the ability to create and evaluate with custom evaluators.

You can evaluate your AI application in your development environment using the Azure AI Evaluation SDK. Given either a test dataset or a target, your generative AI application generations are quantitatively measured with built-in evaluators or custom evaluators of your choice. To get started with the azure ai evaluation sdk to evaluate your system, you can follow the quickstart guide. Once you execute an evaluation run, you can visualize the results in Azure AI Foundry portal .

About

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors