Model providers
Blackbird can run its coding loop against nine providers. You add accounts with the blackbird auth command in your shell, outside any conversation, so keys and sign-in codes never pass through a chat.
Providers
Each provider has an ID you use on the command line, a way to add an account, and an environment variable Blackbird reads when no account is stored for that provider.
openai: browser sign-in or a stored key. If you haven't added an OpenAI account, Blackbird uses an existing Codex CLI sign-in on the same machine; it does not fall back toOPENAI_API_KEY. OpenAI is the default provider.anthropic: an API key, withblackbird auth key anthropic NAMEorANTHROPIC_API_KEY. Claude subscription sign-in is not supported and is being removed.kimi: device sign-in or a key (KIMI_API_KEY).grok: device sign-in or a key (XAI_API_KEY).gemini: key (GEMINI_API_KEY).deepseek: key (DEEPSEEK_API_KEY).mimo: key (MIMO_API_KEY).moonshot: key (MOONSHOT_API_KEY).openrouter: key (OPENROUTER_API_KEY).
The auth command
blackbird auth providers
blackbird auth status
blackbird auth login kimi personal
blackbird auth key anthropic work
blackbird auth use anthropic work
blackbird auth logout kimi personal
The last argument is an account name you choose, so you can keep several accounts per provider. If you leave it out, the account is called default.
key PROVIDER [ACCOUNT]stores an API key. It reads the key from hidden terminal input, or from standard input when piped, and never accepts it as a command-line argument.login PROVIDER [ACCOUNT]signs in. Forkimiandgrokit prints a URL and a code to enter there, then waits for you to finish, for up to 30 minutes. Foropenaiit prints a URL to open in your browser and receives the result on a local listener.- Storing a key or signing in makes that account the active one for its provider.
use PROVIDER ACCOUNTswitches between stored accounts. logout PROVIDER [ACCOUNT]deletes the local credentials. It does not revoke anything with the provider.statusandprovidersprint JSON. The provider list also includes entries with the protocoldecision; those serve decision-model calls and are not coding providers.
Credentials are stored in ~/.local/share/blackbird/auth/credentials.bbm, readable only by your user. Set BLACKBIRD_AUTH_HOME to use a different directory. Inside a session, /auth status and /auth providers show account names and states only, never the credentials. Never paste a key into a conversation.
Choosing a provider at launch
blackbird --provider anthropic --model claude-sonnet-4-6 --effort medium
When you change a session's provider at launch, you must also pass --model. The choice is saved with the session. OpenRouter model names include the vendor, as in anthropic/claude-sonnet-4.6.
Switching mid-session
/provideropens a picker that shows each provider's sign-in state./provider IDor/provider ID MODELswitches directly. Without a model, Blackbird picks the first suggested model for that provider and, in the conversation view, offers the model picker./modelopens a list of suggested models for the current provider./model NAMEsets a model by name./effortopens a picker./effort LEVELsets the reasoning effort.
The levels on offer depend on the route. OpenAI and OpenRouter offer low, medium, high, xhigh and max. Anthropic offers the levels its model supports. Kimi and the key-based chat providers offer low, medium and high.
If the saved effort isn't supported after a change, Blackbird asks which level you meant before it sends any request. A one-shot run cannot ask, so pass a supported --effort with --once.
A switch typed during a turn waits until that turn finishes.