A hands-on walkthrough of building a multi-agent workflow using Microsoft Agent Framework and DevUI in .NET. The post explains the distinction between agents (LLM-driven, dynamic) and workflows (deterministic, predefined graphs), then constructs a three-stage content review pipeline: a Writer agent drafts content, a Reviewer agent critiques it, and a Formatter executor wraps the output. Code examples cover defining Executor classes, wiring them with WorkflowBuilder, registering with DevUI, and calling the workflow programmatically via a REST endpoint. A key finding: mixed workflows (AI + deterministic executors) don't yet work in DevUI, so the example falls back to an agent-only workflow using AgentWorkflowBuilder.BuildSequential().

8m read timeFrom bartwullems.blogspot.com
Post cover image
Table of contents
Agents vs Workflows — the key distinctionCore Workflow conceptsWhat we're buildingCalling the workflow programmaticallyConclusionMore information

Sort: