Skip to content

Chainabit CLIThe Terminal Control Plane

Install, configure, and script the Chainabit command line.

Chainabit

Chainabit CLI

chainabit is the terminal control plane for Chainabit.

Install it once and you can:

  • sign in with browser/device flow for humans or time-bounded developer tokens for CI
  • pin a workspace and inspect the current context
  • manage chainies, chains, bits, and contribution graphs
  • run AI sessions, analyses, suggestions, and Chao conversations
  • discover, install, authenticate, and execute connectors
  • script repeatable workflows with --json

Why Install It

  • Developers get a fast shell for the most common Chainabit workflows.
  • Researchers can inspect data, run analyses, and export structured output.
  • Automation jobs can authenticate and act without needing a browser UI login form.

Start Here

  1. Installation
  2. Usage Guide
  3. Configuration
  4. Command Reference
  5. Connectors CLI

Quick Tour

bash
chainabit auth login
chainabit workspace use ws_123
chainabit chainy list
chainabit ai session create --title "Weekly review"
chainabit connectors list --category productivity
chainabit connectors exec inst_123 send_message --input '{"channel":"#general","text":"Hello"}'

Secure By Default

  • Interactive sign-in defaults to browser or device authorization.
  • Non-interactive sign-in should use developer tokens and exchange them through chainabit auth login --token-env ....
  • Connector secrets should also come from stdin, env vars, or files instead of raw command-line arguments.
  • Local runs prefer .env.local and production runs prefer .env.production; --env-file or CHAINABIT_ENV_FILE can still override that choice explicitly.

Package Alias

The package installs two command names:

  • chainabit
  • cb

Built with purpose.