Microsoft Agent Framework: C# agents and workflows

An introduction to Microsoft Agent Framework, its workflow patterns and tool integration, with a C# example using Azure credentials.

Player not loading? Watch on YouTube

Microsoft Agent Framework is presented as an open source framework for building agents in C# and Python. The speaker describes its origins in the teams behind Semantic Kernel and AutoGen.

The tutorial separates an agent, which uses a model to choose actions and call tools, from a workflow, which connects processing steps. A hypothetical invoice process covers extraction, validation, human approval and storage. The speaker explains checkpointing and compares sequential, concurrent, handoff and group chat orchestration. These examples explain the concepts rather than demonstrate completed workflows.

Tool access includes C# methods with description attributes and a built-in MCP client. Other topics include conversation sessions, middleware, state management and OpenTelemetry. Ollama appears as a supported local provider, but the video does not demonstrate a local setup.

The C# walkthrough describes installing prerelease packages, creating an Azure OpenAI client with an endpoint and Azure CLI credentials, selecting a chat model, creating an agent and calling RunAsync. The transcript does not report a returned answer or a failed execution.

Release terminology varies: the speaker first describes a release candidate, then calls the framework preview software. The closing guidance favors ordinary functions for simple tasks and workflows for processes with known steps.