GeezerVison is showing github.com — [FEATURE]:Specify sub-agent variant (thinking lvl) from script for token economy · Issue #10320 · anomalyco/opencode
[FEATURE]:Specify sub-agent variant (thinking lvl) from script for token economy #10320Labels discussionUsed for feature requests, proposals, ideas, etc. Open discussionzenRelates to Zen DescriptionFeature hasn't been suggested before.
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
When writing script for divide and conquer feature, sub-tasks may not require the same effort than the main agent.
I would like to launch sub-agents from the same provider but with lower or higher thinking level.
Claude prompt can launch Haiku explicitly as an example.
The request is to configure them from the prompt ONLY.
Thanks! Reacted by Bala Bosch and colinrsmall Activitygithub-actions commented on Jan 24, 2026 This issue might be a duplicate of existing issues. Please check:
Your request about specifying thinking level from script for sub-agents appears to be covered or related to issue #7138 (variant per agent config). If you're looking to configure this in your agent definitions in AGENTS.md or opencode.jsonc, that feature may already be available.
Feel free to ignore if your use case requires something different than these existing issues. changed the title [-][FEATURE]:Specify the variant (thinking level) from script for token economy[/-] [+][FEATURE]:Specify sub-agent variant (thinking lvl) from script for token economy[/+] on Jan 24, 2026mugnimaestra commented on Feb 7, 2026 Heads up — PR #12567 implements this. It reads the parent session's variant and forwards it to the child session in task.ts, so subagents now inherit the thinking level automatically. The inheritance only activates when the subagent doesn't have its own variant configured, preserving explicit per-agent control. Solido commented on Feb 7, 2026 @mugnimaestra +1 for you PR. This is really a core feature when swarming. To my surprise while central in Claude philosophy it's not much present in OpenCode community. Last demo from Claude rely on this same core when lauching judge, workers, coordinators.
Thanks!! github-actions commented on Apr 9, 2026 To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.
MetadataMetadatadiscussionUsed for feature requests, proposals, ideas, etc. Open discussionzenRelates to Zen DevelopmentNo branches or pull requestsIssue actions
|