Blackbird

What Blackbird can do on your machine

Blackbird is built for an operator who wants the model to use the whole machine. It does not ask before acting. Read this page before you point it at code or content you don't trust.

It runs as you

Lua is not a sandbox

Turn programs and Lua tools run without the io, package and debug libraries, without dofile and loadfile, and with an os table that has only clock and time functions. Their file and process effects go through Blackbird's tools, so they are recorded.

That design keeps effects visible. It does not contain hostile code: any Lua program can run commands through the exec tool.

A hook can refuse a tool call before it runs (see Turn programs in Lua). That is a rule you write, and the model can change program configuration too, so treat it as a convenience rather than a security boundary.

What it keeps on your machine

By default each session lives in a new private directory under ~/.local/state/blackbird/, or wherever you point --session. The session records original provider requests and streamed responses, tool inputs and results, file contents before and after edits, command output, context changes, and the source of each turn program. Blackbird keeps the credentials it uses for provider requests out of this record.

Anything a tool reads or a command prints is kept, including secrets it happens to touch. Anything that enters the model's context, including file contents and command output, is sent to the provider you selected on the next request.

Credentials

Because tools run as you, the model could still read the credentials file, or an environment variable, with an ordinary command. Nothing in Blackbird prevents that.

Recommendations