Chat from the terminal
Start an interactive terminal conversation:
cmdop chatSend 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.
| Option | Purpose |
|---|---|
-p, --prompt <text> | Send one prompt in non-interactive mode. |
--plain | Force 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 server picks. |
--repo | Push the whole workspace into the first turn, for coding sessions. Without it the agent reads and greps on demand. |
-c, --continue | Continue the most recently active conversation. |
--resume <id> | Resume a conversation by ID. |
--tui | Force the interactive interface even when stdin is not a terminal. |
--action-approvals | Enable semantic action checkpoints for consequential agent actions (interactive interface only). |
-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-menu | Skip 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. The agent you reach here answers with whatever
role is assigned to that machine’s contact — the CLI
continues the same hired worker’s conversation the console shows.
Last updated on