Skip to content

Hide an auto-detected ACP agent (e.g. acp-opencode) from bb without uninstalling its CLI #4490

Description

@thomaswillner

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 customAgents entry with id opencode replaces the shipped agent, but customAcpAgentDefinition hard-codes visibility: "always" (agents.ts#L63-L96), so a replacement cannot hide it either.
  • bb machine env variables apply to every agent, so trimming PATH there breaks the other providers.
  • Disabling the provider-acp plugin 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:

  1. Install the opencode CLI so command -v opencode resolves in your login shell.
  2. Run bb provider list; acp-opencode is listed.
  3. Try to hide it without uninstalling the CLI: there is no setting, and a customAgents entry with id opencode is 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-acp setting such as disabledAgents: ["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

AGENT GENERATED

Activity

  1. added
    providers
    provider-acp
    on Sep 30, 2026
  2. added a commit that references this issue on Sep 30, 2026
    a7562b9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    provider-acpproviders

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions