Welcome to the official repository for the Microsoft AI Agentic Workshop! This repository provides all the resources, code, and documentation you need to explore, prototype, and compare various agent-based AI solutions using Microsoft's leading AI technologies.
- Business Scenario and Agent Design
- Getting Started (Setup Instructions)
- System Architecture Overview
- Data Sets
- APIM + MCP Security (Optional)
- Code of Conduct
- Security Guidelines
- Support
- License
- Design and prototype agent solutions for real-world business scenarios.
- Compare single-agent vs. multi-agent architectures and approaches.
- Develop and contrast agent implementations using different platforms:
- Microsoft Agent Framework (NEW!) - Microsoft's latest agentic AI framework with advanced multi-agent orchestration (Magentic workflows, handoffs, checkpointing)
- Azure AI Agent Service
- Semantic Kernel
- Autogen
-
🎯 Microsoft Agent Framework Support (NEW!): Full integration with Microsoft's Agent Framework featuring:
- Now available via pip! Install with:
pip install agent-frameworkoruv add agent-framework - Single-agent with MCP tools and streaming token-by-token responses
- Multi-agent Magentic orchestration with intelligent task delegation and progress tracking
- Handoff-based multi-domain agents for specialized task routing with smart context transfer
- Checkpointing and resumable workflows for long-running agentic tasks
- Real-time WebSocket streaming with internal agent process visibility
- 📚 See detailed pattern guide and documentation →
- Now available via pip! Install with:
-
🖥️ Advanced UI Options:
- React Frontend: Real-time streaming visualization with agent internal processes, tool calls, orchestrator planning, and turn-by-turn history tracking
- Streamlit Frontend: Simple, elegant chat interface for quick prototyping and demos
-
🔄 Workflow Orchestration (NEW!): Enterprise-grade workflow capabilities with comprehensive orchestration patterns:
- Pregel-style execution engine for complex multi-agent coordination
- Type-safe messaging with runtime contract enforcement
- Checkpointing & resume for long-running workflows
- Human-in-the-loop approval patterns with RequestInfoExecutor
- Control flow patterns: Switch/case routing, fan-out/fan-in, conditional edges
- Real-time observability: OpenTelemetry tracing, event streaming, WebSocket updates
- 🎯 Featured Demo: Fraud Detection System - Production-ready workflow with React dashboard
-
Configurable LLM Backend: Use the latest Azure OpenAI GPT models (e.g., GPT-5, GPT-4.1, GPT-4o).
-
MCP Server Integration: Advanced tools to enhance agent orchestration and capabilities with Model Context Protocol.
-
A2A (Agent-to-Agent) Protocol Support: Enables strict cross-domain, black-box multi-agent collaboration using Google's A2A protocol. Learn more →.
-
Durable Agent Pattern: Includes a demo of a robust agent that persists its state, survives restarts, and manages long-running workflows. Learn more →
-
Flexible Agent Architecture:
- Supports single-agent, multi-agent, or reflection-based agents (selectable via
.env). - Agents can self-loop, collaborate, reflect, or take on dynamic roles as defined in modules.
- Multiple frameworks: Agent Framework, Autogen, Semantic Kernel, Azure AI Agent Service.
- Supports single-agent, multi-agent, or reflection-based agents (selectable via
-
Session-Based Chat: Persistent conversation history for each session.
-
Full-Stack Application:
- FastAPI backend with WebSocket and RESTful endpoints (chat, reset, history, etc.).
- Choice of frontend: React (advanced streaming visualization) or Streamlit (simple chat).
-
Environment-Based Configuration: Easily configure the system using
.envfiles.
- Review the Setup Instructions for environment prerequisites and step-by-step installation.
- Explore the Business Scenario and Agent Design to understand the workshop challenge.
- Check out the Agent Framework Implementation Patterns to choose the right multi-agent approach (single-agent, Magentic orchestration, or handoff pattern).
- Try the Fraud Detection Workflow Demo to see enterprise orchestration patterns in action.
- Dive into System Architecture before building and customizing your agent solutions.
- Utilize the Support Guide for troubleshooting and assistance.
Deploy the complete solution to Azure with infrastructure as code:
🚀 Quick Deploy with Azure Developer CLI (Recommended):
azd auth login
azd upAlternative Options:
- PowerShell Script:
cd infra && ./deploy.ps1 -Environment dev - Manual Bicep:
az deployment sub create --template-file infra/main.bicep
📚 Deployment Guides:
- Azure Developer CLI (azd) Guide - Single-command deployment
- Complete Azure Deployment Guide - All deployment methods
- Infrastructure Documentation - Bicep templates and architecture
Please review our Code of Conduct and Security Guidelines before contributing.
This project is licensed under the terms described in the LICENSE file.
