Get it for macOS

Run bb threads on polza.ai models and pay in rubles from one Polza balance. Sign in with your Polza account; the plugin stores the issued key on the bb server. Choose which catalog models the picker offers, in your order, with prices and context size shown. The sidebar shows the available balance and the key's remaining spend limit, and each thread shows an estimated spend and cache hit rate above the composer. Polza also works as bb's AI service for thread titles and commit messages on a small model you choose. Threads run the Claude Code CLI against Polza, so Claude Code's tools, permission modes, plan mode and skills keep working; the plugin installs the CLI when it is missing. Needs a Polza account with balance.


Overview

View source

Run bb threads on polza.ai models. Sign in with your Polza account, pick which catalog models the model picker offers, and watch your balance and the thread's ruble spend without leaving bb.

What you get

  • Sign in with Polza (OAuth, PKCE). The key Polza issues is stored on the bb server as a plugin secret; nothing is typed by hand. Signing in again rotates the key; signing out forgets it.
  • A curated model picker. Any chat model of the Polza catalog (Claude, GPT, Gemini, DeepSeek, Qwen, Kimi and more) can be offered in bb's picker, in your order, with prices and context size in the description. The first model is the default.
  • Balance at a glance. The sidebar footer shows the organisation's available balance and what the key may still spend; the settings page adds the key's usage and a Top up button.
  • Ruble spend per thread. The context row above the composer shows the open thread's estimated spend and prompt-cache hit rate, with token counts on expand.
  • Thread titles and commit messages. Polza registers as a bb AI service, so bb can name threads and write commit messages with a small Polza model of your choice when no other service is set up.
  • Claude Code as the engine. Threads run the Claude Code CLI against Polza's Anthropic-compatible API, so you keep Claude Code's tools, permission modes, plan mode, skills and checkpoint forks. The plugin installs or updates the CLI on each machine from Settings → Providers.

Requirements

  • A Polza account with balance. On the consent page choose the organisation that pays and a spend limit for the key: Polza suggests 100 ₽ a day, which is too little for agent work.
  • The Claude Code CLI on every machine that runs Polza threads (the plugin can install it). No Anthropic login is needed.
  • For the one-click sign-in the browser must reach the bb server's loopback address. Otherwise paste the callback address or code into the settings page after consenting.

Settings

  • Models in the picker: the whitelist, edited with search and prices on the Polza settings page or with bb polza models set ….
  • Side-task model, Subagent model: cheap models for Claude Code's housekeeping and subagents.
  • Thread titles and commit messages, Model for titles and commit messages: whether Polza is offered as bb's AI service and which model answers.
  • Claude Code memory, Claude Code sandbox, Approvals in Full Access, Command descriptions: Claude Code behaviour, as in the bundled Claude Code provider.

For agents

bb polza status [--json] prints sign-in, balance and key limit; bb polza models lists the picker models and bb polza models set <slug>… replaces them. The skill in skills/polza explains the details.

Experimental: the provider API this plugin builds on is still marked experimental in bb. The spend shown is an estimate; the Polza dashboard is the billing truth.

More in Agents & Providers 80

Add, choose, configure, route, or coordinate who runs a thread.

View all