# Blackbird Flight Manual (`v0.3.0`)

> Canonical HTML: https://multiplayer.tech/blackbird/
> Agent Index: https://multiplayer.tech/llms.txt

Blackbird is a terminal coding agent with a C++23 core and a live Lua 5.5.1 turn loop. Edit a turn program while it runs, keep context lossless, fly multi-agent platoons, and join encrypted LAN (`blackbird lan`) or online (`blackbird online`) peer-to-peer parties. MIT open source.

## Fastest Start (`v0.3.0` Prebuilt Binary — macOS & Linux)
```bash
curl -fsSL https://multiplayer.tech/install.sh | sh
blackbird auth providers
blackbird
```

Already installed? Run `blackbird upgrade` (or `/upgrade` inside a live TUI session) for dual-SHA-256 atomic self-upgrade. Prefer AI-assisted setup? Point any MCP agent at `https://multiplayer.tech/mcp` and call `set_me_up` or `make_this_work`.

## Chapters (All Available as Markdown Twins)

### Preflight
1. [Install & build](https://multiplayer.tech/blackbird/install/index.md) — One-line `v0.3.0` release installer, native `blackbird upgrade`, rollback generations, or exact C++23 source builds.
2. [Your first session](https://multiplayer.tech/blackbird/first-session/index.md) — Cockpit keys, queued prompts, plain mode, slash commands, and resuming saved sessions.
3. [Model providers](https://multiplayer.tech/blackbird/providers/index.md) — Eight coding providers out of the box (OpenAI, Anthropic, Gemini, Kimi/Moonshot, Grok, DeepSeek, MiMo, OpenRouter) with mid-flight switching.

### Flight Systems
4. [Turn programs in Lua](https://multiplayer.tech/blackbird/turn-programs/index.md) — Fresh Lua 5.5.1 VM per turn, host API, custom tools, 5 hook events, and `/ultracode`.
5. [Managing context](https://multiplayer.tech/blackbird/context/index.md) — Summarize, drop, pin, and restore archived blocks byte-for-byte without losing originals.
6. [Driving from programs](https://multiplayer.tech/blackbird/other-programs/index.md) — One-shot `--once` shell runs and framed binary `--application` stdio pipes (`BBM2`).

### Multiplayer & Ops
7. [Run a team of agents](https://multiplayer.tech/blackbird/teams/index.md) — `blackbird platoon`: isolated git worktrees and a shared board (verified end-to-end with Blackbird + Claude Code).
8. [Work with other people](https://multiplayer.tech/blackbird/with-people/index.md) — Encrypted online P2P parties (`blackbird online` / `mp-outpost`), zero-server `blackbird lan` LAN Party! (`v0.3.0`), and offline signed SSH notes (`blackbird peer` / `blackbird bridge`).
9. [How it runs on your machine](https://multiplayer.tech/blackbird/safety/index.md) — Brakes off: permissions, shell execution, audit logs, and credential handling with zero sugarcoating.
