You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ai/conceptual/agents.md
+4-41Lines changed: 4 additions & 41 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,62 +60,25 @@ Agentic workflows can be orchestrated in a variety of ways. The following are a
60
60
61
61
Agents process tasks one after another, passing results forward.
62
62
63
-
```mermaid
64
-
graph TD
65
-
A[Agent A] --> B[Agent B]
66
-
B --> C[Agent C]
67
-
C --> D[Final Output]
68
-
```
63
+

69
64
70
65
#### Concurrent
71
66
72
67
Agents work in parallel, each handling different aspects of the task.
73
68
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
+

84
70
85
71
#### Handoff
86
72
87
73
Responsibility shifts from one agent to another based on conditions or outcomes.
88
74
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
+

101
76
102
77
#### Group Chat
103
78
104
79
Agents collaborate in a shared conversation, exchanging insights in real-time.
105
80
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
+

0 commit comments