Build an AI Agent in VS Code with AI Toolkit and Azure AI Foundry



AI Summary

This video demonstrates how to build your own AI agent in Visual Studio Code using the AI Toolkit extension and the Azure AI Foundry extension. The presenter walks through a live demo showing how the AI Toolkit extension connects to various language models hosted on GitHub, Azure, locally using Olama, and more, allowing seamless integration into AI development workflows. The video covers exploring the model catalog, adding models like DeepSeek and GPT variants, comparing models side-by-side, and running evaluations with built-in and custom evaluators. It also covers building agents by generating system prompts automatically and customizing agent behavior. The Azure AI Foundry extension is shown for deploying and managing Azure-hosted models and creating agents with configurable YAML files and visual designers. The demo highlights using agents for practical tasks such as a fashion assistant that can perform web searches via Bing and execute code with the code interpreter tool. The video concludes by showing debugging features including interaction history and detailed step views for agent calls and errors. Overall, it offers a comprehensive guide to building, evaluating, deploying, and interacting with AI agents inside VS Code leveraging Azure and open AI models.