clawdbot agent (direct agent runs)
clawdbot agent runs a single agent turn without needing an inbound chat message.
By default it goes through the Gateway; add --local to force the embedded
runtime on the current machine.
Behavior
- Required:
--message <text> - Session selection:
--to <E.164>derives the session key (normal direct-chat routing), or--session-id <id>reuses an existing session by id
- Runs the same embedded agent runtime as normal inbound replies.
- Thinking/verbose flags persist into the session store.
- Output:
- default: prints reply text (plus
MEDIA:<url>lines) --json: prints structured payload + metadata
- default: prints reply text (plus
- Optional delivery back to a provider with
--deliver+--provider.
Examples
Flags
--local: run locally (requires provider keys in your shell)--deliver: send the reply to the chosen provider (requires--to)--provider:whatsapp|telegram|discord|slack|signal|imessage(default:whatsapp)--thinking <off|minimal|low|medium|high>: persist thinking level--verbose <on|off>: persist verbose level--timeout <seconds>: override agent timeout--json: output structured JSON