> ## Documentation Index
> Fetch the complete documentation index at: https://clawdbot.openclaw-doc-zh.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# agent

# `openclaw agent`

通过 Gateway 运行一次 agent 轮次（使用 `--local` 进行嵌入式运行）。
使用 `--agent <id>` 直接定位已配置的 agent。

相关文档：

* Agent 发送工具：[Agent send](/docs/tools/agent-send)

## 示例

```bash theme={null}
openclaw agent --to +15555550123 --message "status update" --deliver
openclaw agent --agent ops --message "Summarize logs"
openclaw agent --session-id 1234 --message "Summarize inbox" --thinking medium
openclaw agent --agent ops --message "Generate report" --deliver --reply-channel slack --reply-to "#reports"
```
