name: monitor
agent_type: performance_tracker
version: "1.0.0"
description: "效果追踪Agent：监测品牌引用量、情感、排名变化，生成变化报告"
preconditions:
  - "必须提供有效的 brand_id"
  - "custom_handler（configs.geo_handlers.handle_monitor_task）须可正确导入"
  - "监测间隔 check_interval_hours 须为正整数"
  - "品牌监测记录须已存在或可通过 monitor_create_record 创建"
task_mode: custom
supported_tasks:
  - monitor_track
  - monitor_check_single
max_concurrency: 3
custom_handler: "configs.geo_handlers.handle_monitor_task"

intent:
  keywords: ["效果追踪", "监测", "监控", "monitor", "追踪", "排名变化"]
  description: "用户需要监测品牌引用量、情感、排名变化"
  examples:
    - "监测品牌引用变化"
    - "追踪效果"
    - "品牌排名变化"
    - "monitor一下系统状态"
    - "监控系统运行"
    - "Monitor system status"

input_schema:
  type: object
  required:
    - brand_id
  properties:
    brand_id:
      type: string
      description: 品牌ID
    keyword:
      type: string
      description: 关键词（monitor_check_single模式）
    platform:
      type: string
      description: 平台名称（monitor_check_single模式）
    check_interval_hours:
      type: integer
      description: 检测间隔小时数
      default: 24

output_schema:
  type: object
  properties:
    brand_id:
      type: string
    brand_name:
      type: string
    total_queries:
      type: integer
    checked_records:
      type: integer
    reports:
      type: array

tools:
  - monitor_check_and_compare
  - monitor_generate_report
  - monitor_create_record
  - baidu_search

memory:
  working:
    enabled: true
  episodic:
    enabled: true
    track_success: true
