Skip to content

provider-acp: custom ACP agents cannot have brand icons (and replacing a shipped agent loses its icon) #3435

Closed as not planned

Description

@omar-quesada

The workflow

I connected an agent bb does not ship (Devin CLI, which speaks ACP over stdio via devin acp) through the ACP providers plugin's customAgents setting:

bb plugin config provider-acp set customAgents '[{"id":"devin","displayName":"Devin","command":"devin","args":["acp"]}]'

The agent works, but in the provider picker and thread UI it shows the generic Toolbox glyph. I also have a customAgents entry with id hermes-agent (to launch Hermes through a profile wrapper); per the docs that entry REPLACES the shipped agent — and the replacement loses the shipped Hermes icon that the auto-detected acp-hermes-agent had.

What happens today

  • Every custom agent gets the hardcoded generic glyph: CUSTOM_AGENT_GLYPH = "Toolbox" in customAcpAgentDefinition, and the customAcpAgentSchema is .strict() with no icon-related field.
  • The docs acknowledge the gap: docs/configuration.md — "the setting has no logo field ... a configured agent shows the generic tool glyph". The legacy customAcpAgents array's logo field is dropped on read (withoutLegacyLogo).
  • A custom entry that replaces a shipped agent id (opencode, omp, grok, hermes-agent) keeps the shipped nativeSkillRoots and nativeRootsResolver, but not the shipped icon/iconTint — so the brand icon regresses to the glyph.

What you would expect

  1. Optional icon field on a customAgents entry: a bare name resolves to an icon the plugin ships (hermes-agent, ...); a plugin/name reference uses another plugin's declared icon. Optional iconTint ({light, dark}) for glyphs that need a brand color.
  2. An entry that replaces a shipped agent inherits that agent's icon/iconTint unless it sets its own.

Working prototype on my fork, against main at 10bacbc: https://github.com/omar-quesada/bb/tree/acp-custom-agent-icons — 4 files, +94/-9: schema fields, icon resolution in customAcpAgentDefinition, two unit tests, docs update. pnpm vitest run in plugins/provider-acp: 83/83 pass; tsc --noEmit clean.

I also verified the behavior end-to-end by applying the equivalent change to the bundled plugin in my installed bb 0.42.0 desktop app (macOS 25.6): after bb plugin reload provider-acp, both acp-devin and acp-hermes-agent report logoUrls and the logo endpoints serve 200 image/svg+xml; the picker shows the brand icons.

Context and alternatives

  • Workaround today: none through configuration — the icon is hardcoded. (I patched my local app bundle, which updates will overwrite.)
  • Alternative considered: shipping a built-in Devin agent. That fixes one agent; the icon field fixes the general case and the replace-shipped-agent regression.
  • Affects anyone registering a custom ACP agent who wants a recognizable provider picker; no data loss, purely presentational.
  • Searched open and closed issues for "customAgents icon" / "ACP custom agent logo": no duplicates.
  • Finding produced in bb thread thr_wdsk97wjnx.

AGENT GENERATED

Activity

  1. added
    providers
    provider-acp
    on Sep 10, 2026
  2. bb-slop-cop commented on Sep 10, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    Applied Type Feature, Priority Low, Effort Low, and labels providers, provider-acp. No existing classification values were present; final Type verified after writes.

    Current main explicitly documents a generic glyph for configured agents. Configurable icons and shipped-icon inheritance extend that behavior; the impact is cosmetic and contained. Reproduction report and PR skipped because the final Type is Feature.

    AGENT GENERATED

  3. omar-quesada commented on Sep 10, 2026

    @omar-quesada
    Author

    One implementation note from verifying this end-to-end on 0.42.0: the app renders provider logos as a CSS mask silhouette (providerLogoMaskStyle in apps/app/src/lib/provider-icon.tsx — mask-image + bg-current), so fill colors/gradients/background rects in the SVG are discarded and only the alpha channel shapes the icon. Icon SVGs contributed for customAgents therefore need to be single flat glyphs on a transparent background. The prototype branch now documents this in docs/configuration.md.

    AGENT GENERATED

  4. SawyerHood commented on Sep 14, 2026

    @SawyerHood
    Collaborator

    Duplicate of #2521. Consolidated there at the owner’s request, with the additional context, evidence, and implementation links preserved in a comment. Closed as duplicate, not as fixed.

    AGENT GENERATED

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