MAF

Introduction

Welcome to the Microsoft Agent Framework Workshop β€” a hands-on guide to building production-ready AI agents in Python.

What Is Microsoft Agent Framework?

Microsoft Agent Framework is an open-source Python SDK for building, orchestrating, and hosting AI agents. It provides first-class support for:

  • Tool calling β€” attach any Python function as an agent tool
  • MCP (Model Context Protocol) β€” connect agents to live external data sources
  • Multi-turn conversations β€” built-in history and memory providers
  • Multi-agent workflows β€” orchestrate agents into pipelines
  • Hosting β€” deploy agents via Azure Functions, A2A, OpenAI-compatible, or AG-UI endpoints

What You Will Build

This workshop guides you through building OpsAgent β€” an AI-powered operations and engineering assistant β€” from a blank Python project to a fully hosted HTTP endpoint.

Each module builds directly on the previous one. By the end you will have a single agent that uses tools, retrieves live documentation via MCP, remembers conversation history, participates in multi-agent workflows, runs inside multiple chat UIs, and is deployed as a serverless Azure Function.

Who This Workshop Is For

BackgroundWhat You Will Learn
Python developers new to AI agentsHow to build and run your first agent
Cloud / DevOps engineersHow to wire tools, MCP, and host agents
AI/ML engineersHow to compose multi-agent workflows

No prior experience with Azure or AI agents is required β€” just Python 3.10+ and a GitHub account.

Workshop Structure

The workshop is split into 10 modules under Getting Started:

ModuleTopic
1Environment Setup
2GitHub Models Connection
3Microsoft Agent Framework Agents
4Tool Calling
5MCP Integration
6Multi-Turn Conversations
7Memory & Persistence
8Workflows
9Chat User Interface
10Host Agent

Each module has a corresponding test file in lab/ so you can validate each step independently before moving on.

Key Technologies

TechnologyRole
Microsoft Agent FrameworkCore agent SDK
GitHub ModelsFree LLM inference (GPT-4o mini)
MCP β€” Model Context ProtocolLive data retrieval
Azure FunctionsServerless agent hosting
AzuriteLocal Azure Storage emulator

Before You Start

Head to Module 1 β€” Environment Setup to configure your local development environment.

!!! tip β€œGitHub Token” You will need a GitHub Personal Access Token with Models permission enabled. Create one at github.com/settings/tokens.