CLI Overview
bctrl is a terminal interface for the v1 API, for local workflows, CI jobs, and coding agents that need command-line access to BCTRL resources.
Most data commands support --json, --jq, and --template for scripts and agents. See Output & scripting.
Install
Verify the binary:
Authenticate
For local use:
For CI and agents, set an API key:
BCTRL_API_KEY takes precedence over stored login credentials. See Authentication.
A browser flow
Create a runtime, start it, drive it, then inspect the run.
Scope a runtime to a space with --space sp_123 on runtime create.

