Blackbird

Your first session

Set up a model provider first (see Model providers). Then change to the project you want to work on and run:

blackbird

The directory you start in is the tools' working directory: relative file paths and commands resolve there. Read What Blackbird can do on your machine before you start, because tools run without asking.

The conversation view

In an interactive terminal Blackbird opens a conversation view with the transcript, live activity and a composer. The model's text streams in as it arrives, and tool calls show their command or path, output and timing.

/keys shows the full keyboard guide and /help lists every command.

Stopping a turn does not undo what its tools already did. A command that was interrupted is recorded with an unknown outcome, and Blackbird never runs it again on its own.

Plain mode and one-shot runs

blackbird --plain gives a line-based prompt, blackbird>, where each line you enter is one turn. For a multi-line message, type /paste, then your text, then /send on its own line. Blackbird also uses plain mode when its input is piped.

blackbird --once 'PROMPT' runs a single turn and exits. Driving Blackbird from other programs covers this in detail.

Sessions

A session holds one conversation: its context, settings, drafts and a record of everything that happened. Without --session, each launch starts a new session in a private directory such as ~/.local/state/blackbird/session-XXXXXX and prints its path. Keep that path if you want to come back.

blackbird --session ~/work/myproject-session
blackbird --list-sessions

--session DIRECTORY reopens a session, or creates one there if it doesn't exist yet. When you reopen, the earlier conversation is shown again.

--list-sessions [ROOT] prints a JSON list of the sessions directly under ~/.local/state/blackbird, or under ROOT. Each entry has its path, last activity, saved provider, model, effort and turn program, and a resume command. The resume command is written for the source checkout's ./scripts/blackbird; with an installed Blackbird, run blackbird --session PATH instead.

A session saves its provider, model, effort and turn program. Options you pass at launch override them and are saved in turn.

Only one Blackbird process can hold a session at a time. A second process can't open a session that is already in use.

Messages that were still queued when you quit don't run when you reopen. They come back as recovered drafts: /drafts lists them and /draft N loads one into the composer for you to send.

Useful commands

Most commands you type during a turn are queued like a message, so a settings change applies after the current turn finishes. An unknown slash command reports an error locally and sends nothing to the model.