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"

Useful options include:

OptionPurpose
-p, --promptSend one prompt in non-interactive mode.
--cwd <directory>Set the directory available to the agent.
--model <model>Choose a model exposed by the current installation.
--tools full|coding|minimalSelect a tool profile.
-c, --continueContinue the most recently active conversation.
--resume <id>Resume a conversation by ID.
-m, --machine <name>Address an enrolled machine’s agent.

Use cmdop models to inspect the current default and cmdop chat --help for the exact options in the installed release.