This repository contains sample code and instructions for creating a variety of simple Azure AI Foundry Agents. Demos include those for using tools like Grounding with Bing Search, MCP servers, and OpenAPI schemas. Also included are walkthroughs for enterprise features like observability, secure networking, and more.
- /mcp_mslearn_agent: Using an MCP tool to connect to the Microsoft Learn MCP server; absolute minimal demo.
- /mcp_local_server_agent: A three step demo walking through setting up a local MCP server, inspecting it with the MCP inspector client, and connecting to it with an agent with auth at runtime.
- Minimal MCP tool demo with the Microsoft Learn MCP server
- Local MCP server, inspector, and agent connection with auth
- Enterprise auth and coding agent demo (GitHub MCP server, OAuth2, Code Interpreter and agent loop to build simple web-app). An agent with a coding environment (Code Interpreter) and a GitHub MCP tool with OAuth2, inheriting user permissions to repositories.
- Observability demo (App Insights, per-delta verbose output). Integration with OpenTelemetry and Azure App Insights for observability.
- Copilot studio integration with agent (Teams bot to add RBAC roles for users, grounded with policy (Fabric?), logged, permission approval)