CLI
livingbrain — every API operation as a command, for scripts, terminals, and agents.
Any coding agent that can run shell commands can use livingbrain directly. Install it, set
your key, and ask the agent to save or find something.
█████████ ██▄█████▄██ Welcome to Claude Code █████████ █ █ █ █
Install
npm
Install globally on macOS, Linux, or Windows:
Or run it without installing:
Direct installer: macOS and Linux
Direct installer: Windows PowerShell
Confirm the installation:
Authenticate
The CLI reads the same two values as the SDKs. Set them as environment variables, or pass
--api-key and --subject-id on any command:
A .env file in the working directory is loaded automatically. To store the key in your OS
keyring instead, run livingbrain auth login.
Usage
Commands follow the SDK namespaces: livingbrain <namespace> <method>.
Run livingbrain <namespace> --help to see every method and its flags.
Request bodies
Pass request bodies as flags, or as JSON with --json (use - to read from stdin):
Output
Output is a table in a terminal and JSON when piped. Override it with --format
(json, table, yaml, csv, jsonl), and filter with a JMESPath --query:
--dry-run prints the request without sending it, which helps when scripting.