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
{{ message }}
Repository navigation
subagent: Bash-less agent profiles fail at launch with free-tier error #52880
Subagent dispatches of Bash-less agent profiles fail at launch with Error from provider (Console): OpenCode's free tier can only be used from within OpenCode, while Bash-capable profiles launch fine under identical dispatch (Bash-less 5/5 fail, Bash-capable 6+/6+ succeed, Sep 23-30). Failing profiles: prompt-engineer (Read, Grep, Glob), product-manager (Read, Grep, Glob, Write), technical-writer (Read, Grep, Glob, Write, Edit) — none carries a model line, all inherit the session model. Write capability and model tier are uncorrelated with the outcome.
This matches the linked cluster: #50806 reports a custom subagent (agent: architect) failing at spawn with the identical error while the parent session works; #49723 reports built-in explore failing 8/8 while general with identical Zen free models succeeds 3/3; #50627 isolates the trigger to the request tools array missing bash — headers byte-identical, 35 tools (with bash) succeeds vs 34 tools (without) fails with FreeTierError, and bash: ask succeeds where bash: deny fails. No maintainer-stated cause, workaround, or duplicate ruling was recorded in any of the three issues as read; the mechanism above is community-reported evidence, not a maintainer finding.
Please use the Bug Report template and put the report in a populated Description field; the current body has a Summary but no Description field.
Remove the stray draft-only/publishing instructions at the top and condense the diagnostic dump to the essential reproduction steps, symptoms, and environment details.
Please edit this issue to address the above within 72 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
#50806: A custom subagent fails to start with the same free-tier error.
#49723: The explore subagent fails with the same error while general succeeds.
#50627: A custom agent with shell denied triggers the same free-tier error.
If you believe this was flagged incorrectly, please let a maintainer know.
Context for the agent names in this report: they come from the sefi-agents plugin installed in this OpenCode setup (16 agent profiles installed from xsefirosus/sefi-agents, e.g. product-manager tools Read Grep Glob Write, technical-writer tools Read Grep Glob Write Edit, prompt-engineer tools Read Grep Glob; none of the 16 installed profiles carries a model line, so all inherit the session model). The Bash-less versus Bash-capable split in this report refers to the tools frontmatter of those installed profiles.
The agent never calls bash. Declaring a noop echo allow is enough to route correctly. This matches #50627 (34 vs 35 tools) and #49723.
Happy to add logs if a maintainer tells me which ones.
Activity
github-actions commentedon Oct 3, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
Please edit this issue to address the above within 72 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
exploresubagent fails with the same error whilegeneralsucceeds.If you believe this was flagged incorrectly, please let a maintainer know.
xsefirosus commentedon Oct 3, 2026
Context for the agent names in this report: they come from the sefi-agents plugin installed in this OpenCode setup (16 agent profiles installed from xsefirosus/sefi-agents, e.g. product-manager tools Read Grep Glob Write, technical-writer tools Read Grep Glob Write Edit, prompt-engineer tools Read Grep Glob; none of the 16 installed profiles carries a model line, so all inherit the session model). The Bash-less versus Bash-capable split in this report refers to the tools frontmatter of those installed profiles.
github-actions commentedon Oct 3, 2026
Thanks for updating the issue with the Bug Report template and adding the reproduction steps and environment details!
hymsoft commentedon Oct 3, 2026
Confirming the same trigger on my setup + minimal workaround.
Setup:
mode: subagent) that never needs bash (only reads.md/.typand returns text)Failing frontmatter (repro 3/3):
Error every time via task:
OpenCode's free tier can only be used from within OpenCode
Working frontmatter (repro 3/3 after restart):
The agent never calls bash. Declaring a noop echo allow is enough to route correctly. This matches #50627 (34 vs 35 tools) and #49723.
Happy to add logs if a maintainer tells me which ones.
thdxr commentedon Oct 11, 2026
Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (
opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊