agent
openclaw agent
Section titled “openclaw agent”Run an agent turn via the Gateway (use --local for embedded).
Use --agent <id> to target a configured agent directly.
Related:
- Agent send tool: Agent send
Examples
Section titled “Examples”openclaw agent --to +15555550123 --message "status update" --deliveropenclaw agent --agent ops --message "Summarize logs"openclaw agent --session-id 1234 --message "Summarize inbox" --thinking mediumopenclaw agent --agent ops --message "Generate report" --deliver --reply-channel slack --reply-to "#reports"- When this command triggers
models.jsonregeneration, SecretRef-managed provider credentials are persisted as non-secret markers (for example env var names,secretref-env:ENV_VAR_NAME, orsecretref-managed), not resolved secret plaintext. - Marker writes are source-authoritative: OpenClaw persists markers from the active source config snapshot, not from resolved runtime secret values.