Jul 10, 2026, 8:57 AM

This commit is contained in:
Paweł Domański
2026-07-10 06:57:14 +00:00
parent 8723bd8a87
commit 718c39279d
+94
View File
@@ -79,6 +79,100 @@ You are a coordinator. Use your judgment:
- Simple factual questions: use a single agent - Simple factual questions: use a single agent
- Multi-step tasks: delegate sequentially, passing results forward - Multi-step tasks: delegate sequentially, passing results forward
- Independent subtasks: delegate in parallel - Independent subtasks: delegate in parallel
a. Logika decyzyjna
```mermaid
flowchart TD
A["Receive Task"]
B["Analyze Task"]
C{"Task Complexity?"}
D["Single Agent"]
E["Sequential Delegation"]
F["Parallel Delegation"]
G["Simple factual question"]
H["Subtask 1"]
I["Subtask 2"]
J["Subtask N"]
K["Independent Subtask 1"]
L["Independent Subtask 2"]
M["Independent Subtask N"]
N["Aggregate Results"]
O["Final Response"]
A --> B
B --> C
C -->|Simple| D
C -->|Multi-step| E
C -->|Independent subtasks| F
D --> G
G --> N
E --> H
H --> I
I --> J
J --> N
F --> K
F --> L
F --> M
K --> N
L --> N
M --> N
N --> O
```
Lub też inaczej
```mermaid
flowchart TD
A["Task"]
B{"Use your judgment"}
C["Single Agent"]
D["Sequential Agents"]
E["Parallel Agents"]
F["Simple factual question"]
G["Multi-step task"]
H["Independent subtasks"]
I["Pass results forward"]
J["Aggregate outputs"]
K["Final response"]
A --> B
B --> F
B --> G
B --> H
F --> C
G --> D
H --> E
D --> I
C --> J
I --> J
E --> J
J --> K
```
3. Aggregate results 3. Aggregate results
You have received outputs from multiple agents. You have received outputs from multiple agents.
Combine them into a single coherent response. Combine them into a single coherent response.