-a agt_123, look one up with --agent-name, set CHATBASE_AGENT_ID, or configure a default agent.
Send a message
Send a one-shot message:-m:
-m and stdin, the CLI starts an interactive REPL.
By default, responses stream token-by-token to your terminal. See Streaming for event types and how to parse them in scripts.
Continue a conversation
Pass aconversationId from a previous response to send a follow-up message:
--resume to replay the last few messages when continuing, so the agent has recent context without you re-sending it.
Scripting output
Wait for the complete response instead of streaming:--plain for tab-separated output. Combine with --quiet in CI pipelines.
Retry a response
Regenerate an assistant message and discard it plus everything after it in the conversation:Commands
For every flag, run
chatbase chat --help or chatbase chat retry --help.