BotConnector

Non-interactive BCCLI task

-p runs one task and returns, without opening the interactive interface. Use it from a shell script, a git hook, or a CI job where nothing can answer a prompt.

bccli -p "task"

Choosing the model

-m takes a provider/model pair. It works with -p, so one command can pin both the work and the model behind it:

bccli -m bc-cloud/glm-5.3-flash -p "task"

Run bccli models first to see which pairs are valid on this machine. A pair that is not in that list fails rather than falling back to a default model, which is what you want in a script: a silent substitution is worse than a failed run.

Continuing a session

-c continues the last session and -r lets you choose one. Both are for interactive work; a non-interactive run starts from the task you give it, so keep the task self-contained rather than assuming earlier context.

What it changes

The agent reads code, edits files, and runs commands — in non-interactive mode there is nobody to approve an edit mid-run. Run it on a branch, or on a working tree you can discard, and review the diff afterwards. If you want approval in the loop, use interactive mode instead and press Shift+Tab to change the permission mode.

Next