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.
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.
| Key | Action |
|---|---|
| Enter | Send message. If Blackbird is mid-turn, queues your message for the next turn. |
| Alt-Enter / Ctrl-J | Insert a new line (Shift-Enter works too in terminals that report it, like Ghostty). |
| Tab | Complete a slash command. |
| Ctrl-Space / Ctrl-T | Fuzzy-search all slash commands. |
| Esc | Stop the current turn and keep queued prompts intact. |
| Ctrl-C | Stop the turn and clear the queue, keeping your current draft. |
| Ctrl-Q / Ctrl-D | Quit and save your draft (Ctrl-D exits when the input box is empty). |
| PgUp / PgDn | Scroll 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.
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
| Command | What it does |
|---|---|
/session | Inspect active provider, model, effort and turn program. |
/provider, /model, /effort | Switch models mid-flight (run bare for an interactive picker). |
/context, /stats | Inspect live context blocks, byte sizes and reported provider token usage. |
/flightdeck | Live cockpit token-stream display fed by your session's real metrics. |
/new, /sessions, /resume DIR | Start a fresh session with the same settings or hop between saved ones. |
/name NAME, /clear | Label a session, or clear the screen without touching model context. |
/quit / /exit | Stop 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.