Skip to content

Commit cbdb486

Browse files
Add workflow diagrams
1 parent 1047fac commit cbdb486

File tree

5 files changed

+4
-41
lines changed

5 files changed

+4
-41
lines changed

docs/ai/conceptual/agents.md

Lines changed: 4 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -60,62 +60,25 @@ Agentic workflows can be orchestrated in a variety of ways. The following are a
6060

6161
Agents process tasks one after another, passing results forward.
6262

63-
```mermaid
64-
graph TD
65-
A[Agent A] --> B[Agent B]
66-
B --> C[Agent C]
67-
C --> D[Final Output]
68-
```
63+
![Sequential agent orchestration: Task Input → Agent A → Agent B → Agent C → Final Output](../media/agents/sequential-workflow.png)
6964

7065
#### Concurrent
7166

7267
Agents work in parallel, each handling different aspects of the task.
7368

74-
```mermaid
75-
graph TD
76-
A[Task Input] --> B1[Agent A]
77-
A --> B2[Agent B]
78-
A --> B3[Agent C]
79-
B1 --> C[Aggregate Results]
80-
B2 --> C
81-
B3 --> C
82-
C --> D[Final Output]
83-
```
69+
![Concurrent agent orchestration: Task Input → Agents A, B, C → Aggregate Results → Final Output](../media/agents/concurrent-workflow.png)
8470

8571
#### Handoff
8672

8773
Responsibility shifts from one agent to another based on conditions or outcomes.
8874

89-
```mermaid
90-
graph TD
91-
A[Start Task] --> B{Agent A Decision}
92-
B -- Success --> C[Agent A Continues]
93-
B -- Needs Help --> D[Agent B Takes Over]
94-
D --> E{Agent B Decision}
95-
E -- Escalate --> F[Agent C Takes Over]
96-
E -- Complete --> G[Agent B Completes Task]
97-
C --> H[Final Output]
98-
F --> H
99-
G --> H
100-
```
75+
![Handoff orchestration: Task Input → Agent A Decision → Agent B or Agent A → Agent B Decision → Agent C or Agent B → Final Output](../media/agents/handoff-workflow.png)
10176

10277
#### Group Chat
10378

10479
Agents collaborate in a shared conversation, exchanging insights in real-time.
10580

106-
```mermaid
107-
sequenceDiagram
108-
participant User
109-
participant AgentA
110-
participant AgentB
111-
participant AgentC
112-
113-
User->>GroupChat: Start Task Discussion
114-
AgentA->>GroupChat: Shares initial analysis
115-
AgentB->>GroupChat: Adds additional context
116-
AgentC->>GroupChat: Suggests strategy
117-
GroupChat->>User: Final Collaborative Output
118-
```
81+
![Group chat orchestration: User and Agents A, B, C collaborate via GroupChat to produce final output](../media/agents/groupchat-workflow.png)
11982

12083
## How can I get started building agents in .NET?
12184

90.5 KB
Loading
102 KB
Loading
92.9 KB
Loading
61 KB
Loading

0 commit comments

Comments
 (0)