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: README.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -187,6 +187,39 @@ Allows organizing agents into a "crew" with specific tasks assigned to each agen
187
187
}
188
188
```
189
189
190
+
### 8. Task Agent
191
+
192
+
Executes a specific task using a target agent. Task Agent provides a streamlined approach for structured task execution, where the agent_id specifies which agent will process the task, and the task description can include dynamic content placeholders.
193
+
194
+
```json
195
+
{
196
+
"client_id": "{{client_id}}",
197
+
"name": "web_search_task",
198
+
"type": "task",
199
+
"folder_id": "folder_id (optional)",
200
+
"config": {
201
+
"tasks": [
202
+
{
203
+
"agent_id": "search-agent-uuid",
204
+
"description": "Search the web for information about {content}",
205
+
"expected_output": "Comprehensive search results with relevant information"
206
+
}
207
+
],
208
+
"sub_agents": ["post-processing-agent-uuid"]
209
+
}
210
+
}
211
+
```
212
+
213
+
Key features of Task Agent:
214
+
215
+
- Passes structured task instructions to the designated agent
216
+
- Supports variable content using {content} placeholder in the task description
217
+
- Provides clear task definition with instructions and expected output format
218
+
- Can execute sub-agents after the main task is completed
219
+
- Simplifies orchestration for single-focused task execution
220
+
221
+
Task Agent is ideal for scenarios where you need to execute a specific, well-defined task with clear instructions and expectations.
0 commit comments