logo
0
0
WeChat Login
feat: build trigger

Maestro

通用 AI Agent,通过 Prompt 文件驱动,调用 CNB Skills 自主完成任务。

工作原理

  1. 读取 PROMPT_FROM_FILE 指定的 prompt 文件
  2. 将文件内容作为用户指令传给 Agent SDK
  3. Agent 通过 CNB Skills 获取信息或执行操作,自主完成任务

环境变量

变量必填说明
PROMPT_FROM_FILEPrompt 文件路径(相对于工作目录)
PLUGIN_DEBUG设为 true 开启 debug 日志

使用方式

main: "crontab: */5 * * * *": - name: PM call stages: - name: run maestro image: docker.cnb.woa.com/johannli/maestro settings: PROMPT_FROM_FILE: ./doc/pm.md