Skip to content

Commit 0e74311

Browse files
markshaggyangiejonesclaude
authored
docs: remove unsupported lead/worker docs and scripts (#8471)
Signed-off-by: Mark Shaggy <keramshag@gmail.com> Signed-off-by: Angie Jones <jones.angie@gmail.com> Co-authored-by: Angie Jones <jones.angie@gmail.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 00a4d05 commit 0e74311

File tree

18 files changed

+50
-262
lines changed

18 files changed

+50
-262
lines changed

documentation/blog/2025-06-16-multi-model-in-goose/index.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
---
22
title: "Treating LLMs Like Tools in a Toolbox: A Multi-Model Approach to Smarter AI Agents"
33
description: How Goose uses multiple LLMs within a single task, optimizing for speed, cost, and reliability in AI agent workflows
4+
unlisted: true
45
authors:
56
- mic
67
- angie
78
---
89

10+
:::danger Outdated
11+
Lead/Worker mode has been removed from goose. It has been replaced by [Planning Mode](/docs/guides/creating-plans), which uses a dedicated planner model with the `/plan` command. See the [multi-model guide](/docs/guides/multi-model/) for current workflows.
12+
:::
13+
914
![blog cover](multi-model-ai-agent.png)
1015

1116

@@ -79,7 +84,7 @@ export GOOSE_MODEL="claude-4-sonnet"
7984

8085
From there, Goose takes care of the hand off, the fallback, and the recovery. You just... keep vibing.
8186

82-
If you're curious how it all works under the hood, we've got a [full tutorial](/docs/tutorials/lead-worker).
87+
If you're curious how it all works under the hood, see the [planning guide](/docs/guides/creating-plans).
8388

8489
---
8590

documentation/blog/2025-08-11-llm-tag-team-lead-worker-model/index.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
---
22
title: "LLM Tag Team: Who Plans, Who Executes?"
33
description: Dive into Goose's Lead/Worker model where one LLM plans while another executes - a game-changing approach to AI collaboration that can save costs and boost efficiency.
4+
unlisted: true
45
authors:
56
- ebony
67
---
78

9+
:::danger Outdated
10+
Lead/Worker mode has been removed from goose. It has been replaced by [Planning Mode](/docs/guides/creating-plans), which uses a dedicated planner model with the `/plan` command. See the [multi-model guide](/docs/guides/multi-model/) for current workflows.
11+
:::
12+
813
![blog cover](header-image.png)
914

1015
Ever wondered what happens when you let two AI models work together like a tag team? That’s exactly what we tested in our latest livestream—putting Goose’s Lead/Worker model to work on a real project. Spoiler: it’s actually pretty great.
@@ -37,7 +42,7 @@ This is where it gets really cool - you can use Claude for reasoning and OpenAI
3742
- 🏃‍♂️ Handle Long Dev Sessions
3843
Perfect for those marathon coding sessions where you need sustained performance without breaking the bank.
3944

40-
## [Setting It Up](/docs/tutorials/lead-worker#configuration)
45+
## [Setting It Up](/docs/guides/creating-plans)
4146

4247
Getting started with the Lead/Worker model is surprisingly straightforward. In the Goose desktop app, you just need to:
4348

@@ -97,9 +102,9 @@ By the end of our session, we had:
97102

98103
The best part? The models made smart decisions we hadn't even thought of, like automatically categorizing the servers and improving the overall page layout.
99104

100-
## Ready to Try It Yourself?
105+
## Ready to Try Multi-Model Workflows?
101106

102-
The [Lead/Worker model](/docs/tutorials/lead-worker) is available now in Goose. Whether you're working on documentation, building features, or tackling complex refactoring, having two specialized models working together can be a game changer.
107+
Lead/Worker mode has been removed, but goose now supports [Planning Mode](/docs/guides/creating-plans) for multi-model workflows. Whether you're working on documentation, building features, or tackling complex refactoring, pairing a strong planner model with a fast execution model can be a game changer.
103108

104109
Want to see it in action? Check out the full stream where we built this feature live:
105110

documentation/blog/2025-08-18-understanding-context-windows/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ The [Memory extension](https://goose-docs.ai/docs/mcp/memory-mcp) stores importa
8787

8888
Keep individual sessions focused on specific tasks. When you complete a task or reach a natural stopping point, start a new session. This prevents context window bloat from accumulated conversation history and ensures your tokens are spent on current, relevant work.
8989

90-
**7. Lead/worker model**
90+
**7. Planner model + focused execution**
9191

92-
The [Lead/Worker model](https://goose-docs.ai/docs/tutorials/lead-worker) splits work between two models. The lead model handles high-level planning and decision-making, while the worker model executes the detailed implementation. This optimizes costs by using expensive models for strategic thinking and cheaper models for routine execution tasks.
92+
Use a dedicated [planner model](/docs/guides/creating-plans) for complex reasoning and keep your default model focused on execution. This gives you control over cost and quality while keeping model behavior explicit and predictable.
9393

9494
---
9595

documentation/blog/2025-08-27-get-started-for-free-with-tetrate/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Browse and select from a wide range of options, including:
5555
- **Specialized models** optimized for different use cases
5656

5757
:::tip Protip
58-
Want the best of both worlds? Use goose’s [Lead/Worker configuration](/docs/tutorials/lead-worker) to combine a powerful frontier model with a faster open-weight model. Let your Lead handle the high-level thinking while Workers take care of the repetitive tasks—saving you both time and credits.
58+
Want the best of both worlds? Use a dedicated [planner model](/docs/guides/creating-plans) for complex strategy and a faster default model for execution. Pair this with `/plan` to get strong reasoning only when you need it—saving both time and credits.
5959
:::
6060

6161
---

documentation/docs/getting-started/providers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,8 +1210,8 @@ This method simplifies authentication and enhances security for enterprise envir
12101210

12111211
Beyond single-model setups, goose supports [multi-model configurations](/docs/guides/multi-model/) that can use different models and providers for specialized tasks:
12121212

1213-
- **Lead/Worker Model** - Automatic switching between a lead model for initial turns and a worker model for execution tasks
1214-
- **Planning Mode** - Manual planning phase using a dedicated model to create detailed project breakdowns before execution
1213+
- **Planning Mode** - Use a dedicated planner model to create detailed project breakdowns before execution
1214+
- **Subagents** - Delegate scoped tasks to isolated sessions to keep your primary workflow focused and efficient
12151215

12161216
## Gemini 3 Thinking Levels
12171217

documentation/docs/guides/cli-providers.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ CLI providers are useful if you:
3737
#### Workflow Integration
3838
- **Recipe compatibility**: Use CLI providers in automated goose recipes
3939
- **Scheduling support**: Include in scheduled tasks and workflows
40-
- **Hybrid configurations**: Combine with LLM providers using lead/worker patterns
40+
- **Hybrid configurations**: Combine with planning mode and model-specific workflows
4141

4242
#### Interface Consistency
4343
- **Unified commands**: Use the same `goose session` interface across all providers
@@ -260,16 +260,16 @@ Once configured, you can start a goose session using these providers just like a
260260
goose session
261261
```
262262

263-
### Combining with Other Models
263+
### Combining with Planner Models
264264

265-
CLI providers work well in combination with other models using goose's [lead/worker pattern](/docs/tutorials/lead-worker):
265+
CLI providers also work well with planning mode when you want one model for strategy and another for execution:
266266

267267
```bash
268-
# Use Claude Code as lead model, GPT-4o as worker
269-
export GOOSE_LEAD_PROVIDER=claude-code
270-
export GOOSE_PROVIDER=openai
271-
export GOOSE_MODEL=gpt-4o
272-
export GOOSE_LEAD_MODEL=default
268+
# Use Claude Code for execution, OpenAI for planning
269+
export GOOSE_PROVIDER=claude-code
270+
export GOOSE_MODEL=default
271+
export GOOSE_PLANNER_PROVIDER=openai
272+
export GOOSE_PLANNER_MODEL=gpt-4o
273273

274274
goose session
275275
```

documentation/docs/guides/config-files.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ The following settings can be configured at the root level of your config.yaml f
3737
| `GOOSE_MAX_TOKENS` | Maximum number of tokens for each model response (truncates longer responses) | Positive integer | Model-specific | No |
3838
| `GOOSE_MODE` | [Tool execution behavior](/docs/guides/goose-permissions) | "auto", "approve", "chat", "smart_approve" | "auto" | No |
3939
| `GOOSE_MAX_TURNS` | [Maximum number of turns](/docs/guides/sessions/smart-context-management#maximum-turns) allowed without user input | Integer (e.g., 10, 50, 100) | 1000 | No |
40-
| `GOOSE_LEAD_PROVIDER` | Provider for lead model in [lead/worker mode](/docs/guides/environment-variables#leadworker-model-configuration) | Same as `GOOSE_PROVIDER` options | Falls back to `GOOSE_PROVIDER` | No |
41-
| `GOOSE_LEAD_MODEL` | Lead model for lead/worker mode | Model name | None | No |
4240
| `GOOSE_PLANNER_PROVIDER` | Provider for [planning mode](/docs/guides/creating-plans) | Same as `GOOSE_PROVIDER` options | Falls back to `GOOSE_PROVIDER` | No |
4341
| `GOOSE_PLANNER_MODEL` | Model for planning mode | Model name | Falls back to `GOOSE_MODEL` | No |
4442
| `GOOSE_TOOLSHIM` | Enable tool interpretation | true/false | false | No |

documentation/docs/guides/creating-plans.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The goose CLI plan mode uses two configuration values:
3535
- `GOOSE_PLANNER_MODEL`: Which model to use for planning
3636

3737
:::tip Multi-Model Alternative to Plan Mode
38-
goose also supports automatic model switching with [Lead/Worker mode](/docs/guides/environment-variables#leadworker-model-configuration), which provides turn-based switching between two models to help balance model capabilities with cost and speed.
38+
You can combine planning mode with a different default execution model to balance cost, speed, and quality.
3939
:::
4040

4141
:::tip Customize Plan Format

documentation/docs/guides/environment-variables.md

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -130,40 +130,6 @@ export GOOSE_PREDEFINED_MODELS='[
130130

131131
Custom context limits and request parameters are applied when the model is used. Custom context limits are displayed in goose CLI's [token usage indicator](/docs/guides/sessions/smart-context-management#token-usage).
132132

133-
### Lead/Worker Model Configuration
134-
135-
These variables configure a [lead/worker model pattern](/docs/tutorials/lead-worker) where a powerful lead model handles initial planning and complex reasoning, then switches to a faster/cheaper worker model for execution. The switch happens automatically based on your settings.
136-
137-
| Variable | Purpose | Values | Default |
138-
|----------|---------|---------|---------|
139-
| `GOOSE_LEAD_MODEL` | **Required to enable lead mode.** Name of the lead model | Model name (e.g., "gpt-4o", "claude-sonnet-4-20250514") | None |
140-
| `GOOSE_LEAD_PROVIDER` | Provider for the lead model | [See available providers](/docs/getting-started/providers#available-providers) | Falls back to `GOOSE_PROVIDER` |
141-
| `GOOSE_LEAD_TURNS` | Number of initial turns using the lead model before switching to the worker model | Integer | 3 |
142-
| `GOOSE_LEAD_FAILURE_THRESHOLD` | Consecutive failures before falling back to the lead model | Integer | 2 |
143-
| `GOOSE_LEAD_FALLBACK_TURNS` | Number of turns to use the lead model in fallback mode | Integer | 2 |
144-
145-
A _turn_ is one complete prompt-response interaction. Here's how it works with the default settings:
146-
- Use the lead model for the first 3 turns
147-
- Use the worker model starting on the 4th turn
148-
- Fallback to the lead model if the worker model struggles for 2 consecutive turns
149-
- Use the lead model for 2 turns and then switch back to the worker model
150-
151-
The lead model and worker model names are displayed at the start of the goose CLI session. If you don't export a `GOOSE_MODEL` for your session, the worker model defaults to the `GOOSE_MODEL` in your [configuration file](/docs/guides/config-files).
152-
153-
**Examples**
154-
155-
```bash
156-
# Basic lead/worker setup
157-
export GOOSE_LEAD_MODEL="o4"
158-
159-
# Advanced lead/worker configuration
160-
export GOOSE_LEAD_MODEL="claude4-opus"
161-
export GOOSE_LEAD_PROVIDER="anthropic"
162-
export GOOSE_LEAD_TURNS=5
163-
export GOOSE_LEAD_FAILURE_THRESHOLD=3
164-
export GOOSE_LEAD_FALLBACK_TURNS=2
165-
```
166-
167133
### Claude Thinking Configuration
168134

169135
These variables control Claude's reasoning behavior. Supported on Anthropic and Databricks providers.
@@ -350,8 +316,6 @@ These variables allow you to override the default context window size (token lim
350316
|----------|---------|---------|---------|
351317
| `GOOSE_CONTEXT_LIMIT` | Override context limit for the main model | Integer (number of tokens) | Model-specific default or 128,000 |
352318
| `GOOSE_INPUT_LIMIT` | Override input prompt limit for ollama requests (maps to `num_ctx`) | Integer (number of tokens) | Falls back to `GOOSE_CONTEXT_LIMIT` or model default |
353-
| `GOOSE_LEAD_CONTEXT_LIMIT` | Override context limit for the lead model in [lead/worker mode](/docs/tutorials/lead-worker) | Integer (number of tokens) | Falls back to `GOOSE_CONTEXT_LIMIT` or model default |
354-
| `GOOSE_WORKER_CONTEXT_LIMIT` | Override context limit for the worker model in lead/worker mode | Integer (number of tokens) | Falls back to `GOOSE_CONTEXT_LIMIT` or model default |
355319
| `GOOSE_PLANNER_CONTEXT_LIMIT` | Override context limit for the [planner model](/docs/guides/creating-plans) | Integer (number of tokens) | Falls back to `GOOSE_CONTEXT_LIMIT` or model default |
356320

357321
**Examples**
@@ -362,10 +326,6 @@ export GOOSE_CONTEXT_LIMIT=200000
362326
# Override ollama input prompt limit
363327
export GOOSE_INPUT_LIMIT=32000
364328

365-
# Set different context limits for lead/worker models
366-
export GOOSE_LEAD_CONTEXT_LIMIT=500000 # Large context for planning
367-
export GOOSE_WORKER_CONTEXT_LIMIT=128000 # Smaller context for execution
368-
369329
# Set context limit for planner
370330
export GOOSE_PLANNER_CONTEXT_LIMIT=1000000
371331
```

documentation/docs/guides/multi-model/index.mdx

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ import VideoCarousel from '@site/src/components/VideoCarousel';
1919
<h2 className={styles.categoryTitle}>📚 Documentation & Guides</h2>
2020
<div className={styles.cardGrid}>
2121
<Card
22-
title="Lead/Worker Multi-Model Setup"
23-
description="Automatic switching between models using a lead model for initial turns and a worker model for execution."
24-
link="/docs/tutorials/lead-worker"
22+
title="Planner + Execution Model Setup"
23+
description="Use a dedicated planner model for strategic reasoning and a separate default model for execution."
24+
link="/docs/guides/creating-plans"
2525
/>
2626
<Card
2727
title="Creating Plans Before Working"
@@ -45,9 +45,9 @@ import VideoCarousel from '@site/src/components/VideoCarousel';
4545
link="/blog/2025/06/16/multi-model-in-goose"
4646
/>
4747
<Card
48-
title="LLM Tag Team: Who Plans, Who Executes?"
49-
description="Learn how lead/worker model configuration creates an effective AI tag team, with one model for planning and another for execution."
50-
link="/blog/2025/08/11/llm-tag-team-lead-worker-model"
48+
title="The AI Skeptic's Guide to Context Windows"
49+
description="Learn practical ways to manage context windows and token usage in long-running sessions."
50+
link="/blog/2025/08/18/understanding-context-windows"
5151
/>
5252
</div>
5353
</div>
@@ -62,15 +62,8 @@ import VideoCarousel from '@site/src/components/VideoCarousel';
6262
type: 'iframe',
6363
src: 'https://www.youtube.com/embed/ZyhUTsChFUw',
6464
title: 'goose\'s Multi-Model Setup',
65-
description: 'Learn about lead/worker mode, from configuration to best practices',
65+
description: 'Learn practical multi-model workflows in goose',
6666
duration: '5:01'
67-
},
68-
{
69-
type: 'iframe',
70-
src: 'https://www.youtube.com/embed/SJ6EZpyCKrk',
71-
title: 'Livestream - LLM Tag Team: Who Plans, Who Executes?',
72-
description: 'Using lead/worker mode to add features to the goose docs in real time',
73-
duration: '9:36'
7467
}
7568
]}
7669
/>

0 commit comments

Comments
 (0)