Workflow Getting Started Samples
The workflow samples demonstrate the fundamental concepts and functionality of workflows in Agent Framework.
Samples Overview
Foundational Concepts - Start Here
Please begin with the Start Here samples in order. These three samples introduce the core concepts of executors, edges, agents in workflows, streaming, and workflow construction.
The folder name starts with an underscore (_StartHere) to ensure it appears first in the explorer view.
Once completed, please proceed to the other samples listed below.
Agents
Concurrent Execution
| Sample |
Concepts |
| Fan-Out and Fan-In |
Introduces parallel processing with fan-out and fan-in patterns |
Loop
| Sample |
Concepts |
| Looping |
Shows how to create a loop within a workflow |
Workflow Shared States
| Sample |
Concepts |
| Shared States |
Demonstrates shared states between executors for data sharing and coordination |
Conditional Edges
| Sample |
Concepts |
| Edge Conditions |
Introduces conditional edges for dynamic routing based on executor outputs |
| Switch-Case Routing |
Extends conditional edges with switch-case routing for multiple paths |
| Multi-Selection Routing |
Demonstrates multi-selection routing where one executor can trigger multiple downstream executors |