用途:通过 Dust CLI 非交互地调用拥有公司上下文(近期项目、工程、销售、市场等)的 Dust 智能体,用于获取信息(如读取 Slack 线程、Notion URL、Google Drive 文档)或执行操作(如向 Slack 发消息、创建 issue 等)。
主要能力与必要用法:使用 dust chat -a 指定智能体并发送消息,例如: dust chat -a issueBot -m "create an issue for this: ..." dust chat -a deep-dive -m "Research all info we have on kubernetes probe failures in recent weeks." 首次调用返回的 JSON 结果中包含对话 id,可用 -c CONVERSATION_STRING_ID 继续同一对话: dust chat -a issueBot -c 'TdWyn4aDt1' -m "also add a subsequent issue about this: ..." 可通过 --projectName 或 --projectId 将新对话创建在特定项目(space)中,二者不能与 -c 同时使用: dust chat -a prea --projectName "Engineering" -m "summarize recent incidents" dust chat -a prea --projectId "abc123" -m "summarize recent incidents" 使用 -d / --details 可在输出中获得详细消息信息(原始事件流、工具动作和完整智能体消息载荷): dust chat -a prea -d -m "what's the status of project X?"
适用场景:需要以脚本或自动化方式调用已配置的 Dust 智能体来查询公司内部信息或触发操作时。
限制:若工具因需要登录而报错,需请用户手动完成登录。