Skip to Content
CLIChat

Chat from the terminal

Start an interactive terminal conversation:

cmdop chat

Send one prompt without opening the interactive interface:

cmdop chat --prompt "Summarize this repository"

In a real terminal the interactive interface opens by default; when input is piped, or when you pass -p, a single-prompt run is used instead.

OptionPurpose
-p, --prompt <text>Send one prompt in non-interactive mode.
--plainForce line-based single-prompt mode even in a terminal.
--cwd <directory>Root the agent’s file sandbox at this directory. Defaults to the current directory.
--model <model>Choose a model. Default auto — the relay picks.
--tools full|coding|minimalSelect a tool profile. Default full.
--repoPush the whole workspace into the first turn, for coding sessions. Without it the agent reads and greps on demand.
-c, --continueContinue the most recently active conversation.
--resume <id>Resume a conversation by ID.
-m, --machine <name>Address a joined machine’s agent by display name, unique prefix, or ID.
--style <name>Chat personality style.
--system <text>Custom system prompt.
--no-menuSkip the start menu and go straight into the conversation.

Use cmdop models to see the current default model, and cmdop fleet for a picker over the machines you can address with --machine.

Last updated on