mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
docs: stream subagent tool calls (#7280)
This commit is contained in:
@@ -4,7 +4,7 @@ sidebar_position: 50
|
||||
sidebar_label: Subagents
|
||||
---
|
||||
|
||||
Subagents are independent instances that execute tasks while keeping your main conversation clean and focused. They bring process isolation and context preservation by offloading work to separate instances. Think of them as temporary assistants that handle specific jobs without cluttering your chat with tool execution details.
|
||||
Subagents are independent instances that execute tasks while keeping your main conversation clean and focused. Think of them as temporary assistants that handle specific jobs, bringing process isolation and context preservation by offloading work to separate instances.
|
||||
|
||||
<details>
|
||||
<summary>Subagents Walkthrough</summary>
|
||||
@@ -39,6 +39,12 @@ You can run multiple subagents sequentially or in parallel.
|
||||
| **Sequential** (Default) | Tasks execute one after another | "first...then", "after" | `"First analyze the code, then generate documentation"` |
|
||||
| **Parallel** | Tasks execute simultaneously | "parallel", "simultaneously", "at the same time", "concurrently" | `"Create three HTML templates in parallel"` |
|
||||
|
||||
While subagents are working, a record of their tool calls appears in the `Logs` section of the subagent call in goose Desktop or is printed in the goose CLI output. For example:
|
||||
|
||||
```text
|
||||
[subagent:16] text_editor | developer
|
||||
```
|
||||
|
||||
:::info
|
||||
If a subagent fails or times out (5-minute default), you will receive no output from that subagent. For parallel execution, if any subagent fails, you get results only from the successful ones.
|
||||
:::
|
||||
|
||||
Reference in New Issue
Block a user