Skip to content

Microsoft Agent Frameworks Full Tutorial#1354

Open
niket-sharma wants to merge 1 commit into
ed-donner:mainfrom
niket-sharma:msagent
Open

Microsoft Agent Frameworks Full Tutorial#1354
niket-sharma wants to merge 1 commit into
ed-donner:mainfrom
niket-sharma:msagent

Conversation

@niket-sharma
Copy link
Copy Markdown

@niket-sharma niket-sharma commented May 12, 2026

Microsoft Agent Frameworks Full Tutorial

Hello Ed @ed-donner ,

I’m sharing this PR which provides a full tutorial using the latest Microsoft Agent Frameworks. I hope it’s useful for the community.

This PR adds a complete, six-lab tutorial for the Microsoft Agent Framework - the successor to AutoGen and Semantic Kernel that combines AutoGen's simple agent abstractions with Semantic Kernel's enterprise features.

What's included
Six Jupyter notebooks covering the full framework surface:

Lab 1 — Basics: OpenAIChatCompletionClient, running and streaming agents, attaching Python functions as tools with auto JSON schema generation
Lab 2 — Advanced Features: Structured outputs (Pydantic), multi-turn sessions, image inputs, multi-agent hand-off, agent-as-tool, and MCP tool integration
Lab 3 — Workflows: Graph-based orchestration using WorkflowBuilder, @handler-decorated executors, streaming events, and a Rock/Paper/Scissors demo
Lab 4 — Advanced Multi-Agent Workflows: Fan-out/fan-in parallelism, debate+judge patterns, and dynamic fan-out with a topic-expansion pipeline
Lab 5 — Agent Skills: File-based and code-defined skill packages with progressive disclosure, dynamic resources, script approval, and runtime injection
Lab 6 — Memory & A2A Hosting: Custom ContextProvider, in-memory and file-backed history, and exposing/consuming agents over HTTP via the A2A protocol

Supporting files
tickets.db — SQLite database with city round-trip prices used throughout the labs
sandbox/travel_a2a_server.py — standalone A2A server (Starlette/uvicorn)
skills/travel-policy/ — example file-based skill with references and scripts
chat_history/ — persisted JSONL session from the FileHistoryProvider demo

authored-by: Niket Sharma

authored-by: Niket Sharma
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant