`moltbot agent`
适用范围
使用本页面当:
- 需要从脚本运行一个 agent 轮次(可选择传递回复)
通过网关运行 agent 轮次(对嵌入式使用 --local)。
使用 --agent <id> 直接定位配置的 agent。
相关:
- Agent 发送工具:Agent 发送
示例
moltbot agent --to +15555550123 --message "status update" --deliver
moltbot agent --agent ops --message "Summarize logs"
moltbot agent --session-id 1234 --message "Summarize inbox" --thinking medium
moltbot agent --agent ops --message "Generate report" --deliver --reply-channel slack --reply-to "#reports"