OpenCode free-tier 403 bug: restricted custom subagents rejected as non-OpenCode calls

w3struk · ghdev · 2026-10-12

GitHub issue #54744 in anomalyco/opencode (v2.0.27) reports a reproducible bug: on free-tier models, custom subagents with restricted tool allowlists under deny-by-default permissions fail with a 403 'OpenCode's free tier can only be used from within OpenCode', while built-in agents with full toolsets work in the same session.

Key details:

The issue is still in triaging, suggesting free-tier auth may be misclassifying restricted subagent sessions as external client calls.

Original post →

More from coding & agent

coding & agent channel →