Blackbird

Flight Manual · 02

Your first session

Add a model provider, step into your repo, and launch blackbird. Replies stream live, tool calls execute immediately without approval prompts, and every session saves cleanly to disk.

Shell · Launch in current directory
cd ~/code/your-repo
blackbird

Need to wire a provider first? See Model providers. Blackbird uses your current working directory as the workspace for its tools.

Cockpit keys

Run /keys inside a session for the full list, or /help for every slash command.

KeyAction
EnterSend message. If Blackbird is mid-turn, queues your message for the next turn.
Alt-Enter / Ctrl-JInsert a new line (Shift-Enter works too in terminals that report it, like Ghostty).
TabComplete a slash command.
Ctrl-Space / Ctrl-TFuzzy-search all slash commands.
EscStop the current turn and keep queued prompts intact.
Ctrl-CStop the turn and clear the queue, keeping your current draft.
Ctrl-Q / Ctrl-DQuit and save your draft (Ctrl-D exits when the input box is empty).
PgUp / PgDnScroll conversation history.

Stopping a turn doesn't roll back work that already ran. Any interrupted shell command is recorded as unknown and never rerun automatically.

Plain mode & one-shot runs

blackbird --plain drops into a minimal blackbird> prompt where each line is a turn (Blackbird switches to plain mode automatically when stdin is piped). For multi-line input in plain mode, type /paste, paste your text, and finish with /send on its own line.

For scripts or another agent calling Blackbird, blackbird --once 'PROMPT' runs a single turn and exits (see Driving from programs).

Resuming sessions

Every launch writes a self-contained session under ~/.local/state/blackbird/ (conversation, provider, model, effort, workflow, and tool record) and prints its path. Only one Blackbird process can hold a session open at a time.

Shell · List & reopen
blackbird --list-sessions
blackbird --session 'PATH'

--list-sessions prints JSON with pasteable resume commands. Passing launch flags like --model or --workflow overrides and saves the new setting. Queued prompts left when you quit return as drafts—inspect them with /drafts and pull one back with /draft N.

Essential slash commands

CommandWhat it does
/sessionInspect active provider, model, effort and turn program.
/provider, /model, /effortSwitch models mid-flight (run bare for an interactive picker).
/context, /statsInspect live context blocks, byte sizes and reported provider token usage.
/flightdeckLive cockpit token-stream display fed by your session's real metrics.
/new, /sessions, /resume DIRStart a fresh session with the same settings or hop between saved ones.
/name NAME, /clearLabel a session, or clear the screen without touching model context.
/quit / /exitStop work cleanly and exit.

Slash commands typed mid-turn wait until the turn finishes. Mistyped slash commands report locally and never go to the model.