Add Prime Agent as an ACP provider - #1090
Open
Bradley-Butcher wants to merge 1 commit into
Open
Conversation
Bradley-Butcher
marked this pull request as ready for review
August 6, 2026 17:29
Author
|
Sorry just read your contributing guidelines! Feel free to close if there is no desire for this PR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add Prime Agent as a known ACP provider.
When
prime-agentis installed, bb detects it automatically and shows it in the provider picker with its models, thinking levels, and butterfly mark.This supports the standard bb thread loop: prompts, streamed responses and reasoning, tool calls, cancellation, and images.
Addresses #1078
Scope
This change uses Prime's ACP interface. It does not add a dedicated Prime RPC bridge or bb controls for Prime-specific features such as goals, autonomous runs, schedules, heartbeats, agent messaging, or session management.
Those features require a separate RPC integration.
Implementation
Prime's ACP session does not expose model discovery or model selection. bb reads
prime-agent model listand passes the selected model and thinking level when it starts Prime.bb starts Prime with
--no-sessionbecause bb owns the thread history. Provider-qualified model IDs remain distinct when different Prime providers offer a model with the same name.Validation
pnpm exec turbo run typecheck --filter=@bb/app --filter=@bb/server --filter=@bb/agent-runtimeopenai-codex/gpt-5.6-luna,openai-codex/gpt-5.6-sol, andopenai-codex/gpt-5.6-terra