Skip to main content

Synopsis

profclaw chat [message] [flags]
profclaw chat <subcommand> [flags]

Description

chat connects to the profClaw API and starts a conversation with the AI. When called without a message it enters an interactive REPL with session persistence. When called with a message it runs in single-shot mode and exits. Two execution modes are available:
  • Chat mode (default) - conversational, no tools
  • Agentic mode (--agentic) - full tool access, multi-step execution

Flags

message
string
Message to send. When provided, runs in single-shot mode and exits after the response. Omit to start an interactive session.
-m, --model
string
AI model to use (e.g., sonnet, opus, gpt-4o, gemini-2-flash). Defaults to the server’s configured default model.
-t, --tools
boolean
Enable tool calling for this session. The AI can use configured tools but will ask for approval on sensitive operations.
-a, --agentic
boolean
Enable agentic mode with all tools and full execution permissions. Implies --tools.
-s, --session
string
Resume an existing conversation by session ID. Use profclaw chat sessions to list recent sessions.
--json
boolean
Output the response as JSON (single-shot mode only).

Subcommands

SubcommandAliasDescription
quick <message>-Quick single-shot chat without creating a conversation
agent <message>runRun in agentic mode with all tools
sessionslsList recent chat sessions

REPL Commands

When in interactive mode, type / commands to control the session:
CommandDescription
/exit, /quit, /qExit the chat
/clearClear the terminal screen
/help, /?Show available commands
/sessionShow the current session ID
/model <name>Switch to a different model mid-session
/toolsToggle tool calling on/off
/agenticToggle agentic mode on/off

Examples

profclaw chat