pipeline_design.json 2.65 KB
{
  "name": "每日AI新闻内容生产",
  "description": "从热点抓取到多平台发布的完整内容生产流水线",
  "companyId": "ai-news",
  "loop": true,
  "cron": { "intervalHours": 6 },
  "steps": [
    {
      "name": "热点监控",
      "agent": "trend-hunter",
      "prompt": "7x24小时监控抖音、微博、小红书、快手等平台的AI相关热点话题,筛选出最具价值的热点素材,输出热点列表及热度评分",
      "timeout": 30,
      "qualityGate": {
        "minItems": 5,
        "requireHumanReview": false
      }
    },
    {
      "name": "选题决策",
      "agent": "topic-selector",
      "prompt": "从热点列表中筛选最有价值的选题,结合公司定位和用户需求,输出选题列表及选题理由",
      "timeout": 15,
      "qualityGate": {
        "minItems": 3,
        "requireHumanReview": false
      }
    },
    {
      "name": "内容创作",
      "agent": "writer",
      "prompt": "根据选题撰写高质量文章,包括:标题、导语、正文、结语。确保内容专业、可读性强、符合平台调性",
      "timeout": 60,
      "qualityGate": {
        "minWords": 500,
        "requireHumanReview": true,
        "reviewer": "coo"
      }
    },
    {
      "name": "COO审核",
      "agent": "coo",
      "prompt": "审核文章质量,从准确性、可读性、时效性、合规性四个维度评分,决定通过或驳回。驳回需说明理由",
      "timeout": 20,
      "qualityGate": {
        "minScore": 70,
        "requireHumanReview": true
      }
    },
    {
      "name": "多平台分发",
      "agent": "publisher",
      "prompt": "将通过审核的内容改编为适合各平台的版本(抖音短视频脚本、微博短文、小红书笔记、快手文案),发布到目标平台",
      "timeout": 30,
      "qualityGate": {
        "platforms": ["douyin", "weibo", "xiaohongshu", "kuaishou"],
        "requireHumanReview": false
      }
    },
    {
      "name": "数据追踪",
      "agent": "data-analyst",
      "prompt": "追踪各平台发布内容的表现(阅读量、点赞、评论、转发),生成日报数据报告",
      "timeout": 15,
      "output": "coo_daily_report.md"
    }
  ],
  "roles": [
    { "id": "trend-hunter", "name": "热点分析师", "type": "researcher", "count": 1 },
    { "id": "topic-selector", "name": "选题策划", "type": "specialist", "count": 1 },
    { "id": "writer", "name": "内容编辑", "type": "creator", "count": 2 },
    { "id": "publisher", "name": "分发运营", "type": "operator", "count": 1 },
    { "id": "data-analyst", "name": "数据分析师", "type": "analyst", "count": 1 }
  ]
}