# bp for your agents

The bp commands your agents call from a Cockpit terminal, and the grants that let 1 agent drive another.

Canonical: https://brainplane.app/docs/cockpit-cli/

## What bp gives your agents

An agent in a Cockpit terminal can call bp:

- `bp status` and `bp ws list`: where it is and what runs.
- `bp term list`, `bp term read`, `bp term wait`: other sessions, their screens, and waiting for 1 of them to finish.
- `bp note`: your review notes for it.
- `bp search`: past sessions, once you allow it.
- `bp launch`: a new session in its workspace.

brainplane knows which session calls: each session gets a secret at start, and brainplane checks it against the terminal and the calling process.

## Driving another session

Typing into another session, stopping it or starting one takes a grant. `bp grant request` opens 1 card in your Inbox that names both sessions. You choose Allow for a few minutes, Allow for this topic today, or Decline. A grant never crosses topics and never reaches a session with more rights than the caller's. Revoke ends it at once.
