Flight Manual · 09
How Blackbird runs on your machine
Blackbird ships with the brakes off—as your user, with no permission prompts by default. We're unfortunately going to offer optional guardrails for orgs that demand them, but this system should not be used with guardrails.
Full user privileges: Every tool runs the instant the model calls it, under your OS user account and environment. Read below for the exact boundaries of what Blackbird touches and records.
It runs as you
- Blackbird and every command it starts execute under your user account, with all of your permissions.
- File tools can read and write outside the working directory, and
execruns any command you could run yourself. - Subprocesses inherit Blackbird's environment, including any provider keys you set in environment variables.
- The model can reshape Blackbird itself: define new Lua tools, edit session
program_config, modify source files (including Blackbird's own), and request a restart. - Stopping a turn does not roll back side effects. An interrupted command is recorded as unknown and never rerun automatically; a process that detaches itself can outlive Blackbird's cleanup.
Lua is no sandbox
Turn programs and Lua tools omit io, package, debug, dofile, and loadfile, and expose only time functions on os. That forces file and shell work through Blackbird's tools so everything lands in the audit log—it keeps work visible, not contained. Any Lua script can call exec.
A hook can refuse a tool call (Turn programs in Lua). Useful for workflow guardrails, not security: the model can edit program_config too.
Audit log & credentials
What sessions keep
Each session owns a private directory under ~/.local/state/blackbird/ (or --session). It logs raw provider requests and streamed responses, tool inputs/outputs, file snapshots before and after edits, command output, context ops, and turn-program source.
Provider credentials used by Blackbird stay out of the log, but anything a tool reads or prints is recorded—secrets included—and anything in context goes to your provider on the next request.
How credentials sit on disk
blackbird authstores accounts in~/.local/share/blackbird/auth/credentials.bbminside an owner-only directory (override withBLACKBIRD_AUTH_HOME).- Keys enter via hidden prompt or
stdin, never argv;/authdisplays labels only; Blackbird pipes credentials tocurlonstdin. blackbird auth logoutremoves the local copy only and does not revoke at the provider.
Because tools run as you, nothing in Blackbird stops the model from reading that file or an env var with an ordinary command.
If you want a fence
We run Blackbird, and every other agent we use, with permission checks off. We're unfortunately going to offer optional guardrails for folks whose workplace insists on them, even though this system should not be used with guardrails. If you still want a fence around it anyway, these are the usual ways:
- Keep it to code and content you trust. Files, web pages, and command output can carry text written to steer the model.
- For untrusted repos or tasks, run inside a VM or container holding only the files and credentials that job needs.
- Use provider API keys with spending limits you can live with.