Summary
task() / delegated subagents appear to require OpenCode workspace billing/account APIs even when all configured models are fully external/local providers.
This is unexpected because the installation is fully local and model inference is configured against third-party providers only.
Environment
- OpenCode installed locally
- No OpenCode paid products intentionally configured
- Models configured against external providers only
- oh-my-openagent plugin enabled
Configured providers include:
- Azure OpenAI-compatible endpoints
- NVIDIA hosted endpoints
- Bedrock
- llama.cpp
No OpenCode-hosted model provider is configured.
Reproduction
- Install OpenCode locally
- Configure all models to external providers only
- Enable oh-my-openagent plugin
- Configure agents/categories in
oh-my-openagent.json
- Invoke
task() / delegated subagent execution
Example:
task({
category: "quick",
load_skills: [],
run_in_background: false,
prompt: "hello"
})
Actual Behavior
Instead of using configured providers directly, delegated task execution fails with a hosted billing/workspace error:
No payment method. Add a payment method here:
https://opencode.ai/workspace/<redacted>/billing
The failure occurs before local model/provider resolution.
Expected Behavior
If all configured providers are external/local:
- delegated subagents should run locally against configured providers
- OR OpenCode should clearly document that
task() depends on hosted workspace infrastructure/billing
- OR there should be a config flag to force fully local orchestration
Additional Findings
- Regular model usage works correctly against external providers
- The issue is specific to delegated
task() orchestration/subagents
- Invalid model mappings in
oh-my-openagent.json were fixed separately and are unrelated
- SDK/runtime references indicate task/session APIs use workspace identifiers internally
- Error response explicitly references hosted workspace billing URLs
Why This Is Confusing
From the user perspective:
- OpenCode is installed locally
- providers are fully external
- no OpenCode-hosted inference is configured
So it is not obvious that delegated task orchestration still depends on OpenCode account/workspace services.
Request
Please clarify:
- Is hosted workspace infrastructure required for
task()?
- Is fully local subagent orchestration supported?
- Is this behavior intentional?
- Can delegation be decoupled from workspace billing/account APIs?
Summary
task()/ delegated subagents appear to require OpenCode workspace billing/account APIs even when all configured models are fully external/local providers.This is unexpected because the installation is fully local and model inference is configured against third-party providers only.
Environment
Configured providers include:
No OpenCode-hosted model provider is configured.
Reproduction
oh-my-openagent.jsontask()/ delegated subagent executionExample:
Actual Behavior
Instead of using configured providers directly, delegated task execution fails with a hosted billing/workspace error:
The failure occurs before local model/provider resolution.
Expected Behavior
If all configured providers are external/local:
task()depends on hosted workspace infrastructure/billingAdditional Findings
task()orchestration/subagentsoh-my-openagent.jsonwere fixed separately and are unrelatedWhy This Is Confusing
From the user perspective:
So it is not obvious that delegated task orchestration still depends on OpenCode account/workspace services.
Request
Please clarify:
task()?