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.
- Enter sends. While a turn is running, it queues your message for the next turn.
- Alt-Enter or Ctrl-J inserts a newline. Shift-Enter also works in terminals that report it, such as Ghostty.
- Tab completes a slash command. Ctrl-Space or Ctrl-T searches all commands.
- Esc stops the running turn and keeps queued messages.
- Ctrl-C stops the running turn and clears the queue. Your unsent draft stays.
- Ctrl-Q exits and keeps your unsent draft. Ctrl-D on an empty draft also exits.
- PgUp and PgDn scroll the transcript.
/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
/sessionshows the current session's settings./provider,/modeland/effortchange the model for later turns. With no argument each opens a picker./contextlists the model's current context, and/statsshows context size and provider usage./newstarts a fresh saved session with the same settings./sessionspicks a neighbouring session, and/resume DIRECTORYreturns to one./name NAMEnames the session./clearclears the screen. It does not change the model's context./cancelstops the running turn and clears the queue, like Ctrl-C. It works in the conversation view only./quitor/exitstops any running work and exits.
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.