Skip to content

chainabit chao ​

Chat with Chainabit AI (secure sessions with optional streaming)

Synopsis ​

text
chainabit chao [command] [options]

Options ​

OptionDescriptionDefault
--session <id>Continue an existing session (skips session creation)—
--title <text>Session title (when creating a new session)—
--model <modelKey>Override the AI model key for this chat—
--chain-id <uuid>Attach Chain context on create (does not execute the Chain)—
--chainy-id <uuid>Scope the session to a chainy (on create)—
--bit-id <uuid>Scope the session to a bit (on create)—
--workspace <uuid>Workspace context override (otherwise uses env/config or auto-selects default)—
--message <text>Send a single message (one-shot mode)—
--connector <uuid...>Scope this turn to exact connector connection IDs—
--tool-access <mode>One-turn connector loading override: on_demand or eager—
--no-streamDisable streaming output (prints final assistant message only)Setting without flag: true; with flag: false
--no-wallet-checkDisable preflight wallet balance displaySetting without flag: true; with flag: false
--verboseShow agent loop phase indicators (Planning, Tool call, Observation, ...)—
--latencyPrint client-observed timing for the request (sent → first token → completed)—

Options shared by every command are described in Global options and shared behavior.

Subcommands ​

CommandPurpose
chainabit chao forkBranch visible history through an assistant message; does not start inference
chainabit chao lineageRead authorized conversation branch provenance without running AI

Behavior ​

Runs interactive chat or sends a single --message. JSON requires --message. Streaming is enabled unless --no-stream is used; it retains local conversation continuity, while returned run status determines the outcome.

Validation ​

Non-interactive and JSON use require --message. --tool-access is on_demand or eager. --connector accepts explicit connection IDs. The session/context/model/workspace flags identify their respective resources; context selection does not itself execute a Chain.

Output ​

Human mode streams text or prints the final text when --no-stream is used. JSON returns sessionId, conversationId, userMessage, assistantMessage and run. Inspect run.status rather than treating stdout as completion.

Safety and billing ​

This operation can start AI work and consume wallet credits. No fixed cost is promised. Check wallet balance and applicable model/plan eligibility; --json is an output format, not a spending or approval exemption.

Examples ​

bash
chainabit chao --message "Summarize my project progress" --no-stream

Built with purpose. chainabit.com