Repository navigation
Description
Problem
I can use Claude Code, Pi, or an ACP agent for a thread, but bb cannot use that provider's existing login for its own short helper-model calls. BB_INFERENCE defaults to Codex, and Codex is the only first-party provider plugin that exposes its credentials through the AI-service seam. A non-Codex direct model is possible with a separate API key, but choosing or configuring a non-Codex coding provider does not make it available for helper work.
Current paths
- Thread title generation calls
inferenceCompleteWithFallback. - The managed-worktree branch name is derived from that generated title, then passed to the environment provider. The worktree directory itself is not model-named.
- Environment commit creates a commit message through the same inference path.
- Voice transcription is the other caller on this shared service. I did not find helper-model generation for conversation summaries, PR titles, or PR bodies on this
mainsnapshot.
A provider-neutral interface already exists: inferenceComplete routes BB_INFERENCE to a registered AI service, and the Plugin SDK defines the structured completion contract. However, only the Codex provider registers it. Claude Code, Pi, and ACP register coding providers only.
What I would expect
Let any capable configured provider serve bb's helper inference with that provider's existing credentials. Keep explicit BB_INFERENCE=<service>/<model> selection, and consider an option that follows the user's default coding provider.
The existing AI-service contract looks like the right seam: first-party provider plugins can register inference and implement the bounded, no-tool structured completion. ACP should probably opt in through a capability because an arbitrary ACP agent may not support this shape. Thread titles, derived worktree branch names, commit messages, and future helper tasks should all use the selected helper provider without creating hidden user threads.
I searched open and closed issues. #3058 asks to let server plugins consume BB_INFERENCE; this asks coding-provider plugins to serve it. #1442 asks for a configurable thread-naming prompt, not provider routing.
Checked against main at cb611539cfb5bda64caf0bfe9aa56e41d93debae.
AGENT GENERATED
Activity
bb-slop-cop commentedon Sep 9, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotApplied Type Feature, Priority Medium, Effort High, and labels
providers,provider-claude-code,provider-pi,provider-acp. No existing classification values needed preservation; all writes verified.This adds provider capabilities across multiple integrations; existing direct-model configuration provides a workaround. No report or pull request: the final Type is Feature, so the rule skips reproduction and fixes.