Repository navigation
Description
The workflow
I have the opencode CLI installed for use outside bb. I do not want bb to offer or connect to it: it should not appear in the provider picker or bb provider list, and threads should never start on it. The CLI must stay installed on the machine for other tools.
What happens today
bb 0.44.0 (desktop app), macOS 26.6.2. acp-opencode appears in bb provider list as soon as opencode resolves on the host PATH, and there is no supported way to hide it:
- Known agents such as opencode, omp, grok and hermes use
visibility: "installed", so they are listed whenever their CLI resolves (known-agents.ts#L87-L93). - A
customAgentsentry with idopencodereplaces the shipped agent, butcustomAcpAgentDefinitionhard-codesvisibility: "always"(agents.ts#L63-L96), so a replacement cannot hide it either. bb machine envvariables apply to every agent, so trimming PATH there breaks the other providers.- Disabling the
provider-acpplugin removes every ACP agent, including the ones I use (a custom agent, Hermes, Antigravity, Cursor). - There is no per-provider enable/disable setting under
bb settings.
The only way I found to remove it from bb was to take opencode off the PATH machine-wide, which breaks the CLI for everything else.
Steps to reproduce:
- Install the opencode CLI so
command -v opencoderesolves in your login shell. - Run
bb provider list;acp-opencodeis listed. - Try to hide it without uninstalling the CLI: there is no setting, and a
customAgentsentry with idopencodeis always listed.
What you would expect
A per-provider switch that hides a provider from bb (picker, bb provider list, spawn) without touching the host, for example:
bb provider disable acp-opencode/bb provider enable acp-opencode, plus a toggle in Settings → Providers; or- a
provider-acpsetting such asdisabledAgents: ["opencode"]that skips detection of listed known agents.
Existing threads on a disabled provider could stay readable but refuse new turns with a clear message.
Context and alternatives
-
Current workaround: leave
acp-opencodelisted and never pick it. It still shows in the picker, and anyone can start a thread on it by mistake. -
Related but different: Claude Code provider: "Disable provider subagents" denies the Agent call but still sends the tool and agent list (~2.6k tokens per thread) #3959 and Disabled Codex subagents remain advertised, causing deterministic spawn failures #2706 (disabling provider subagents) and Per-thread opt-out for provider-retry #4131 (per-thread opt-out for provider-retry). None covers hiding a whole detected provider.
-
Likely affects anyone who installs several agent CLIs for other tools but wants bb to use only some of them.
-
I searched open and closed issues for the same request.
-
If an agent wrote this, the body ends with
> AGENT GENERATED.
AGENT GENERATED
Activity
Manage provider availability in Settings and CLI (get-bb#4548)