mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
.NET: Workflow getting started samples in .Net (Second batch) (#650)
* Add loop and agents in workflows samples * Add foundry agent and workflow as agent samples * Checkpoint sample WIP * Checkpoint sample 1 Done * Add HIL samples * Fix formatting * Force folder name change step 1 * Force folder name change step 2 * Fix formatting * Fix formatting * Add checkpoint and rehydrate sample * _Foundational * Fix formatting
This commit is contained in:
@@ -6,24 +6,40 @@ The getting started with workflow samples demonstrate the fundamental concepts a
|
||||
|
||||
### Foundational Concepts - Start Here
|
||||
|
||||
Please begin with the [Foundational](./Foundational) samples in order. These three samples introduce the core concepts of executors, edges, agents in workflows, streaming, and workflow construction.
|
||||
Please begin with the [Foundational](./_Foundational) 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 (`_Foundational`) to ensure it appears first in the explorer view.
|
||||
|
||||
| Sample | Concepts |
|
||||
|--------|----------|
|
||||
| [Executors and Edges](./Foundational/01_ExecutorsAndEdges) | Minimal workflow with basic executors and edges |
|
||||
| [Streaming](./Foundational/02_Streaming) | Extends workflows with event streaming |
|
||||
| [Agents](./Foundational/03_AgentsInWorkflows) | Use agents in workflows |
|
||||
| [Executors and Edges](./_Foundational/01_ExecutorsAndEdges) | Minimal workflow with basic executors and edges |
|
||||
| [Streaming](./_Foundational/02_Streaming) | Extends workflows with event streaming |
|
||||
| [Agents](./_Foundational/03_AgentsInWorkflows) | Use agents in workflows |
|
||||
|
||||
Once completed, please proceed to other samples listed below.
|
||||
|
||||
> Note that you don't need to follow a strict order after the foundational samples. However, some samples build upon concepts from previous ones, so it's beneficial to be aware of the dependencies.
|
||||
|
||||
### Agents
|
||||
|
||||
| Sample | Concepts |
|
||||
|--------|----------|
|
||||
| [Foundry Agents in Workflows](./Agents/FoundryAgent) | Demonstrates using Azure Foundry Agents within a workflow |
|
||||
| [Custom Agent Executors](./Agents/CustomAgentExecutors) | Shows how to create a custom agent executor for more complex scenarios |
|
||||
| [Workflow as an Agent](./Agents/WorkflowAsAgent) | Illustrates how to encapsulate a workflow as an agent |
|
||||
|
||||
### Concurrent Execution
|
||||
|
||||
| Sample | Concepts |
|
||||
|--------|----------|
|
||||
| [Fan-Out and Fan-In](./Concurrent) | Introduces parallel processing with fan-out and fan-in patterns |
|
||||
|
||||
### Loop
|
||||
|
||||
| Sample | Concepts |
|
||||
|--------|----------|
|
||||
| [Looping](./Loop) | Shows how to create a loop within a workflow |
|
||||
|
||||
### Workflow Shared States
|
||||
|
||||
| Sample | Concepts |
|
||||
@@ -40,10 +56,22 @@ Once completed, please proceed to other samples listed below.
|
||||
|
||||
> These 3 samples build upon each other. It's recommended to explore them in sequence to fully grasp the concepts.
|
||||
|
||||
|
||||
### Declarative Workflows
|
||||
|
||||
| Sample | Concepts |
|
||||
|--------|----------|
|
||||
| [DeclarativeWorkflow](./DeclarativeWorkflow) | Demonstrates execution of declartive workflows. |
|
||||
|
||||
### Checkpointing
|
||||
|
||||
| Sample | Concepts |
|
||||
|--------|----------|
|
||||
| [Checkpoint and Resume](./Checkpoint/CheckpointAndResume) | Introduces checkpoints for saving and restoring workflow state for time travel purposes |
|
||||
| [Checkpoint and Rehydrate](./Checkpoint/CheckpointAndRehydrate) | Demonstrates hydrating a new workflow instance from a saved checkpoint |
|
||||
| [Checkpoint with Human-in-the-Loop](./Checkpoint/CheckpointWithHumanInTheLoop) | Combines checkpointing with human-in-the-loop interactions |
|
||||
|
||||
### Human-in-the-Loop
|
||||
|
||||
| Sample | Concepts |
|
||||
|--------|----------|
|
||||
| [Basic Human-in-the-Loop](./HumanInTheLoop/HumanIntheLoopBasic) | Introduces human-in-the-loop interaction using input ports and external requests |
|
||||
|
||||
Reference in New Issue
Block a user