[FEATURE] enable extended thinking for subagents, currently not possible
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
this is a super frustrating issue, and honestly, who are you to say i shouldn't waste tokens enabling extended thinking for subagents? if i want to pay more, use more, get more power out of claude code, then LET ME.
context: i would use this for analyzing large amounts of content, and subagents are otherwise perfect for that, except, as we all know, without extended thinking, claude struggles massively with complex tasks, often just spitting bullshit.
i can't be bothered using multiple different main instances instead of subagents. that just destroys everything.
claude code research on this issue as reference:
---
The Short Answer
Extended thinking cannot currently be enabled for sub-agents. There's no documented parameter or mechanism to do this.
The Details
- Task tool has no thinking parameter
The Task tool accepts: description, prompt, subagent_type, model, run_in_background, resume. No thinking or budget_tokens parameter exists.
- Verbal cues in main conversation ≠ sub-agent thinking
The "think" → "think hard" → "ultrathink" progression works in the main conversation because Claude Code's system intercepts these and sets API-level thinking budgets. But when you spawn a sub-agent, that's a separate API call where:
- The sub-agent gets its own system prompt
- Your task prompt becomes user content
- There's no mechanism to pass thinking configuration
- Your export observation confirms this
If your exporter captures thinking blocks from main conversations but not sub-agent conversations, that's evidence they're not getting thinking enabled at the API level.
Workarounds (all imperfect)
- Verbose prompting - Tell sub-agents to "reason through this step by step, show your work, consider multiple angles before concluding." This doesn't enable actual thinking tokens, but it encourages longer, more deliberate output in the main response.
- Don't use sub-agents for complex analysis - If you need thinking, do the analysis in the main conversation and use sub-agents only for simpler tasks.
- Feature request - This seems like a reasonable feature to request via GitHub issues.
My Take
You've identified a real limitation. For content analysis where you want deep reasoning, you're currently forced to choose between:
- Main conversation with thinking (better analysis, uses your context)
- Sub-agents without thinking (preserves context, shallower analysis)
There's no way to get both right now.
Sources:
- https://code.claude.com/docs/en/sub-agents
- https://docs.claude.com/en/docs/build-with-claude/extended-thinking
- https://www.anthropic.com/engineering/claude-code-best-practices
Proposed Solution
just make it possible to enable extended thinking blocks for subagents.
although i'm not sure if this is caused by some other limitations than just not allowing it, surely it's possible somehow to implement.
PLEASE IMPLEMENT THIS, I'M BLOODY DESPERATE!
Alternative Solutions
_No response_
Priority
Critical - Blocking my work
Feature Category
API and model interactions
Use Case Example
context: i would use this for analyzing large amounts of content, and subagents are otherwise perfect for that, except, as we all know, without extended thinking, claude struggles massively with complex tasks, often just spitting bullshit.
i can't be bothered using multiple different main instances instead of subagents. that just destroys everything.
Additional Context
_No response_
This issue has 9 comments on GitHub. Read the full discussion on GitHub ↗